Skip to content

Generated Operation IDs contain unwanted characters #13

@pvgoran

Description

@pvgoran

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 _.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions