The use of - as a placeholder character that replaces non-word characters of the path to produce an Operation ID seems to be a poor choice. The specification says:
Tools and libraries MAY use the operationId to uniquely identify an operation, therefore, it is recommended to follow common programming naming conventions.
And use of - definitely does not follow common programming naming conventions. As a result, the Swagger's code generator that I use (swagger-codegen-cli-2.3.1.jar) can't produce a working code for such operationIds.
Thus, I suggest changing the placeholder character to _.
The use of
-as a placeholder character that replaces non-word characters of the path to produce an Operation ID seems to be a poor choice. The specification says:And use of
-definitely does not follow common programming naming conventions. As a result, the Swagger's code generator that I use (swagger-codegen-cli-2.3.1.jar) can't produce a working code for such operationIds.Thus, I suggest changing the placeholder character to
_.