zhfeng commented on code in PR #6115: URL: https://github.com/apache/camel-quarkus/pull/6115#discussion_r1609410873
########## extensions/rest-openapi/runtime/src/main/doc/usage.adoc: ########## @@ -24,4 +24,55 @@ When using the `classpath` resource locator with native code, the path to the Op [source] ---- quarkus.native.resources.includes=openapi.json ----- \ No newline at end of file +---- + +=== Contract First Development +The model classes generation has been integrated with `quarkus-maven-plugin`. So it's no need to use `swagger-codegen-maven-plugin`, instead to put your contract files in the `src/main/openapi` with `.json` suffix. And add `generate-code` goal in `quarkus-maven-plugin` like: Review Comment: Done -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org