This is an automated email from the ASF dual-hosted git repository. zhfeng pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push: new 4f2e908e49 update openapi-java usage.adoc (#3853) 4f2e908e49 is described below commit 4f2e908e49d2322fd1911cf1010278e6deb15862 Author: Amos Feng <zh.f...@gmail.com> AuthorDate: Fri Jun 17 14:20:55 2022 +0800 update openapi-java usage.adoc (#3853) --- docs/modules/ROOT/pages/reference/extensions/openapi-java.adoc | 2 +- extensions/openapi-java/runtime/src/main/doc/usage.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/modules/ROOT/pages/reference/extensions/openapi-java.adoc b/docs/modules/ROOT/pages/reference/extensions/openapi-java.adoc index a5ea3d809d..933058b65c 100644 --- a/docs/modules/ROOT/pages/reference/extensions/openapi-java.adoc +++ b/docs/modules/ROOT/pages/reference/extensions/openapi-java.adoc @@ -54,7 +54,7 @@ quarkus.camel.openapi.expose.enabled=true [WARNING] ==== -It's user responsibility to use `@RegisterForReflection` to register all model classes for reflection. +It's the user's responsibility to use `@RegisterForReflection` to register all model classes for reflection. It doesn't support the rest services used in `org.apache.camel.builder.LambdaRouteBuilder` right now. Also, it can not use CDI injection in the RouteBuilder `configure()` since we get the rest definitions at build time while CDI is unavailable. diff --git a/extensions/openapi-java/runtime/src/main/doc/usage.adoc b/extensions/openapi-java/runtime/src/main/doc/usage.adoc index 27ad50baff..4e7506a251 100644 --- a/extensions/openapi-java/runtime/src/main/doc/usage.adoc +++ b/extensions/openapi-java/runtime/src/main/doc/usage.adoc @@ -11,7 +11,7 @@ quarkus.camel.openapi.expose.enabled=true [WARNING] ==== -It's user responsibility to use `@RegisterForReflection` to register all model classes for reflection. +It's the user's responsibility to use `@RegisterForReflection` to register all model classes for reflection. It doesn't support the rest services used in `org.apache.camel.builder.LambdaRouteBuilder` right now. Also, it can not use CDI injection in the RouteBuilder `configure()` since we get the rest definitions at build time while CDI is unavailable.