Skip to content

Underscores in operations paths are lost #50

@aromanet42

Description

@aromanet42

I have endpoints with paths like /order/{order_id} or /foo_bar

When I use the Generator, underscore are deleted.

Generated paths are: /order/{orderid} and /foobar.

I can see in the com.github.jrcodeza.schema.generator.OperationsTransformer#prepareUrl method that you remove all characters that are not "[^A-Za-z0-9-/{}]".

Why do you transform the path? Does it cause issues to keep other characters?

Thanks!

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