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
In our case, we have conflicts on operation Ids, so we simply removed them before merging
# Swagger specification https://swagger.io/specification/
# - the operationId field must be unique, it used for the code generation but does not matter here, get rid of it
sed -i -e "/^.*operationId:.*$/d" tmp/src/*.yaml
I'm trying to merge several swagger files from similar APIs. Each swagger file contains the
ping
endpoint having the same OperationID:"/ping": { "get": { "operationId": "getPing",
This results in a conflict.
--continueOnError
does not help, the combined file is not generated.IMHO, my use case is rather common, so can I open a PR that would automatically rename
getPing
togetPing1
or fix it in any other way?Suggestions appreciated
The text was updated successfully, but these errors were encountered: