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
Although GrapeSwagger::DocMethods::OperationId.build implements a mangling algorithm to generate an operation ID from a path and method, it can lead to duplicates such as /api/v4/projects/{id} and /api/v4/projects{id} both evaluating to the same operation ID, which is invalid. Although this may be an unusual path for an API, some organisations may have them as a legacy. There should be a check for duplicates to prevent this.
The text was updated successfully, but these errors were encountered:
Although
GrapeSwagger::DocMethods::OperationId.build
implements a mangling algorithm to generate an operation ID from a path and method, it can lead to duplicates such as/api/v4/projects/{id}
and/api/v4/projects{id}
both evaluating to the same operation ID, which is invalid. Although this may be an unusual path for an API, some organisations may have them as a legacy. There should be a check for duplicates to prevent this.The text was updated successfully, but these errors were encountered: