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

How can I run the quarkus extension? #168

Open
martinformi opened this issue May 31, 2023 · 1 comment
Open

How can I run the quarkus extension? #168

martinformi opened this issue May 31, 2023 · 1 comment
Assignees

Comments

@martinformi
Copy link

I added the extension, but how I can run it now?

@carlesarnal
Copy link
Member

In order to run the Quarkus extension you need a couple of things. In the repository, in the integration-tests, you have an example Quarkus application that is using the Quarkus extension to generate its REST layer. Essentially, you must configurethe code-gen phase in the Quarkus maven plugin (1), add our extension (you already did this :) and (2) add whatever configuration you want to the application.properties).

  1. https://github.com/Apicurio/apicurio-codegen/blob/main/quarkus-extension/integration-tests/pom.xml#L103
  2. https://github.com/Apicurio/apicurio-codegen/blob/main/quarkus-extension/integration-tests/src/main/resources/application.properties

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