JVM since1.0.0 Native since1.0.0
Expose OpenAPI resources defined in Camel REST DSL
Please refer to the above link for usage and configuration details.
Or add the coordinates to your existing project:
<dependency> <groupId>org.apache.camel.quarkus</groupId> <artifactId>camel-quarkus-openapi-java</artifactId> </dependency>
Check the User guide for more information about writing Camel Quarkus applications.
You can use this extension to expose REST DSL services to Quarkus OpenAPI. With
quarkus-smallrye-openapi, you can access them by
Refer to the Quarkus OpenAPI guide for further information.
This is an experimental feature. You can enable it by
It’s the user’s responsibility to use
It doesn’t support the rest services used in
Camel Quarkus limitations
apiContextIdListing configuration option is not supported. Since multiple
CamelContext`s are not supported and Quarkus applications run standalone, there is no scenario where attempting to resolve OpenApi specifications for a specific `CamelContext would be useful. It also introduces some additional overhead of requiring JMX (which is not supported in native mode) & additional Camel Quarkus extensions for processing XML.