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

Allow enable/disable the API generation #802

Open
mcruzdev opened this issue Sep 18, 2024 · 0 comments
Open

Allow enable/disable the API generation #802

mcruzdev opened this issue Sep 18, 2024 · 0 comments
Labels
area:client This item is related to the client extension enhancement New feature or request good first issue Good for newcomers

Comments

@mcruzdev
Copy link
Member

          Hi @beatngu13, thank for the question!

Is there a way to achieve this with the Quarkus OpenAPI generator?

I will answer below:

generateApis: whether to generate APIs or not.

There is no option for enable/disable the API generation.

apiPackage: which package to use for API classes.

If you want to change the base package in which the classes are generated, use the quarkus.openapi-generator.codegen.spec.<filename>.base-package property.

Note

The base-package is for specified for all generated classes.

what exact generator is being used under the hood and how can we supply corresponding configuration options?

Behind the scenesthis tooling uses https://openapi-generator.tech/docs/generators/java/ with microprofile library template.

If I didn't answer your question well, you can tell me and I'll try to improve the answer.

Originally posted by @mcruzdev in #741 (comment)

@mcruzdev mcruzdev added area:client This item is related to the client extension enhancement New feature or request good first issue Good for newcomers labels Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:client This item is related to the client extension enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant