Skip to content

Commit

Permalink
Update decode.ex to support servers in operations (open-api-spex#635)
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
loguntsov authored and nathanalderson committed Dec 20, 2024
1 parent cda8d10 commit efc25c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/open_api_spex/open_api/decode.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit efc25c4

Please sign in to comment.