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
Browser/OS: Chromium 53.0.2785.143 and FF50 on Ubuntu 14.04
Issue
Came across the following issue. I have defined two paths and post operations for both of them. Although the operationIds are identical, x-swagger-router-controller values are different. Swagger Editor tells me that I have an error on line 31 Cannot have multiple operations with the same operationId: create. The swagger file above can be used to reproduce the issue.
code: "DUPLICATE_OPERATIONID"
message: "Cannot have multiple operations with the same operationId: create"
path: Array [4]
level: 900
type: "Swagger Error"
description: "Cannot have multiple operations with the same operationId: create"
lineNumber: 31
When I run swagger project verify from the command-line, everything seems to be fine.
Please feel free to correct me (since I might be missing some important details) but shouldn't this swagger file be valid in the editor? These operations are handled by different controllers and there cannot be a name collision.
The text was updated successfully, but these errors were encountered:
Swagger File
Issue
Came across the following issue. I have defined two paths and post operations for both of them. Although the
operationId
s are identical,x-swagger-router-controller
values are different. Swagger Editor tells me that I have an error on line 31Cannot have multiple operations with the same operationId: create
. The swagger file above can be used to reproduce the issue.When I run
swagger project verify
from the command-line, everything seems to be fine.Please feel free to correct me (since I might be missing some important details) but shouldn't this swagger file be valid in the editor? These operations are handled by different controllers and there cannot be a name collision.
The text was updated successfully, but these errors were encountered: