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