You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zh...@apache.org on 2022/06/17 06:11:29 UTC
[camel-quarkus] branch main updated: Fix #3828 to update openapi-java document (#3852)
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 c528c25e6b Fix #3828 to update openapi-java document (#3852)
c528c25e6b is described below
commit c528c25e6bbbd0307c016b7f248724868ea3410a
Author: Amos Feng <zh...@gmail.com>
AuthorDate: Fri Jun 17 14:11:24 2022 +0800
Fix #3828 to update openapi-java document (#3852)
---
docs/modules/ROOT/pages/reference/extensions/openapi-java.adoc | 2 ++
extensions/openapi-java/runtime/src/main/doc/usage.adoc | 2 ++
2 files changed, 4 insertions(+)
diff --git a/docs/modules/ROOT/pages/reference/extensions/openapi-java.adoc b/docs/modules/ROOT/pages/reference/extensions/openapi-java.adoc
index 6337247622..a5ea3d809d 100644
--- a/docs/modules/ROOT/pages/reference/extensions/openapi-java.adoc
+++ b/docs/modules/ROOT/pages/reference/extensions/openapi-java.adoc
@@ -54,6 +54,8 @@ quarkus.camel.openapi.expose.enabled=true
[WARNING]
====
+It's user 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 2562c1cc84..27ad50baff 100644
--- a/extensions/openapi-java/runtime/src/main/doc/usage.adoc
+++ b/extensions/openapi-java/runtime/src/main/doc/usage.adoc
@@ -11,6 +11,8 @@ quarkus.camel.openapi.expose.enabled=true
[WARNING]
====
+It's user 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.
====