You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sounds good, but I am not sure. I can see how someone structure their code so each handler is located in separate files, where each contain handler function
And it is clearly stated in specification The id MUST be unique among all operations described in the API, also I see that could cause problems with code generation.
This could be some optional behavior enabled with feature or flag in builder, not sure how to do that better.
I see your point @Flowneee, on the other hand I guess one can still override the operation_id using the macro attribute. Also, I would expect such clash to be checked by the OpenAPIBuilder (even manually adding the routes).
Hi, would it be possible to default the
operation_id
to the handler method name?The text was updated successfully, but these errors were encountered: