From 30d34c94ed9144028350ff51c0e335461e2a384e Mon Sep 17 00:00:00 2001 From: Sergey Loguntsov Date: Thu, 12 Sep 2024 13:42:46 +0300 Subject: [PATCH] Update decode.ex to support servers in operations (#635) Fix typo --- lib/open_api_spex/open_api/decode.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/open_api_spex/open_api/decode.ex b/lib/open_api_spex/open_api/decode.ex index bd3992d9..86a31312 100644 --- a/lib/open_api_spex/open_api/decode.ex +++ b/lib/open_api_spex/open_api/decode.ex @@ -292,7 +292,7 @@ defmodule OpenApiSpex.OpenApi.Decode do |> prop_to_struct(:parameters, Parameters) |> prop_to_struct(:requestBody, RequestBody) |> prop_to_struct(:callbacks, Callbacks) - |> prop_to_struct(:servers, Server) + |> prop_to_struct(:servers, Servers) |> add_extensions(map) end