-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
operationID not unique #23
Comments
I realised I can do |
You're right, I will consider that. |
Hi, I updated the changes. Thanks you. |
@zhandao Thanks for that. I would potentially make it like this to make it bit nicer to read:
Not a critical though. |
OK, I'll make that in next commit. |
Done. |
The
operationId
being output is currently the action name of the controller. According to the docs:"operationId: string - Unique string used to identify the operation. The id MUST be unique among all operations described in the API. Tools and libraries MAY use the operationId to uniquely identify an operation, therefore, it is RECOMMENDED to follow common programming naming conventions."
As multiple controllers may have
index
,show
methods, etc. then this outputs duplicateoperationID
's. It would be good if:#{controller_name}_#{action}
api
callThe text was updated successfully, but these errors were encountered: