Skip to content
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

Use RuntimeException instead of checked exceptions (ApiException) #5

Open
dominik-kovacs opened this issue Jul 23, 2024 · 1 comment

Comments

@dominik-kovacs
Copy link

according to docs it's possible to generate the client without checked exceptions
https://openapi-generator.tech/docs/generators/java/
parameter useRuntimeException

It would reduce lots of boilerplate code, since these exception are usually converted to unchecked exceptions, not bringing actual value

@jmini
Copy link
Contributor

jmini commented Jul 29, 2024

Thank you for this feedback.

We are currently investigating the impact of such a change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants