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
When generating Scala endpoints from an OpenAPI JSON file using EndpointGen, any path segments containing - are automatically replaced with _.
This behavior alters the expected endpoint paths and may lead to discrepancies between the OpenAPI specification and the generated code.
To Reproduce
Steps to reproduce the behaviour:
Define an example api.json with an endpoint that contains -
Describe the bug
When generating Scala endpoints from an OpenAPI JSON file using EndpointGen, any path segments containing - are automatically replaced with _.
This behavior alters the expected endpoint paths and may lead to discrepancies between the OpenAPI specification and the generated code.
To Reproduce
Steps to reproduce the behaviour:
api.json
with an endpoint that contains -api.json
file./example_path
.Expected behaviour
The generated endpoint should retain the original - character in the path as defined in the OpenAPI JSON file
Used version
zio-http version:
3.0.1
The text was updated successfully, but these errors were encountered: