Skip to content

Commit

Permalink
Update decode.ex to support servers in operations (#635)
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
loguntsov authored Sep 12, 2024
1 parent fc79f1d commit 30d34c9
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 30d34c9

Please sign in to comment.