Skip to content

Commit

Permalink
fix!: operation name
Browse files Browse the repository at this point in the history
  • Loading branch information
yordis committed Jun 26, 2024
1 parent 44cf0e4 commit 25403b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/openapi/phases/compile.ex
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ defmodule Stripe.OpenApi.Phases.Compile do
end
end)

function_name = String.to_atom(operation["method_name"])
function_name = String.to_atom(Macro.underscore(operation_definition.id))

success_response_spec = return_spec(operation_definition.success_response)

Expand Down

0 comments on commit 25403b6

Please sign in to comment.