Fix CastAndValidate plug

This commit is contained in:
Egor Kislitsyn 2020-06-29 17:33:00 +04:00
parent 07ff2d62f4
commit 979f02ec94
No known key found for this signature in database
GPG Key ID: 1B49CB15B71E7805
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ def call(%{private: %{open_api_spex: private_data}} = conn, %{
|> List.first()
_ ->
nil
"application/json"
end
private_data = Map.put(private_data, :operation_id, operation_id)