open-api-spex / open_api_spex

Open API Specifications for Elixir Plug applications
Mozilla Public License 2.0
706 stars 183 forks source link

Remove blank space on rewrited operationId #622

Open VitorVRS opened 2 months ago

VitorVRS commented 2 months ago

The operationId is usually used in the URL (e.g: Swagger UI), so URLs should contain only safe chars.

The inspiration for this PR is the spectral linter validation: https://github.com/stoplightio/spectral/blob/develop/packages/rulesets/src/oas/index.ts#L296