Skip to content

Commit

Permalink
Fix incorrect responses nesting in phoenix_app example
Browse files Browse the repository at this point in the history
  • Loading branch information
zorbash committed May 30, 2023
1 parent 055c8e0 commit 4805411
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions examples/phoenix_app/lib/phoenix_app_web/api_spec.ex
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,10 @@ defmodule PhoenixAppWeb.ApiSpec do
}
}
},
schemas: %{
responses: %{
unprocessable_entity: %Response{
description: "Unprocessable Entity",
content: %{"application/json" => %MediaType{schema: %Schema{type: :object}}}
}
responses: %{
unprocessable_entity: %Response{
description: "Unprocessable Entity",
content: %{"application/json" => %MediaType{schema: %Schema{type: :object}}}
}
}
},
Expand Down

0 comments on commit 4805411

Please sign in to comment.