-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The OpenAPI generator may not include all endpoints for every path specified in an OpenAPI specification. #2836
Comments
/bounty $100 |
💎 $100 bounty • ZIOSteps to solve:
Thank you for contributing to zio/zio-http! Add a bounty • Share on socials
|
@stanislav-chetvertkov You assumption that all endpoints would be in one file is wrong. The |
…2836) Key is imports. And imports can be the same. We don't need here map semantics, but just a list.
💡 @987Nabil submitted a pull request that claims the bounty. You can visit your bounty board to reward. |
… (#2892) Key is imports. And imports can be the same. We don't need here map semantics, but just a list.
🎉🎈 @987Nabil has been awarded $100! 🎈🎊 |
Describe the bug
When generating code for the following openapi spec
https://gist.github.com/stanislav-chetvertkov/606cd3143ca839cdbc63fd8231407892
that has 3 paths/endpoints
I can only see 1 endpoint in the generated code
To Reproduce
run the following
open
target/generated-sources/Pets.scala
Expected behaviour
3 separate endpoint definitions in
Pets.scala
The text was updated successfully, but these errors were encountered: