You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by dj...@apache.org on 2021/11/03 21:15:46 UTC

[camel] branch main updated: Fix the website build with a possible doc page for springdoc

This is an automated email from the ASF dual-hosted git repository.

djencks pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 6fac61f  Fix the website build with a possible doc page for springdoc
6fac61f is described below

commit 6fac61f8c46eee4e933885661b11b95e1c0d1a62
Author: David Jencks <dj...@apache.org>
AuthorDate: Wed Nov 3 13:58:16 2021 -0700

    Fix the website build with a possible doc page for springdoc
---
 .../camel-openapi-java/src/main/docs/springdoc.adoc | 21 +++++++++++++++++++++
 docs/components/modules/others/nav.adoc             |  3 ++-
 docs/components/modules/others/pages/springdoc.adoc |  1 +
 3 files changed, 24 insertions(+), 1 deletion(-)

diff --git a/components/camel-openapi-java/src/main/docs/springdoc.adoc b/components/camel-openapi-java/src/main/docs/springdoc.adoc
new file mode 100644
index 0000000..4eb0cfe
--- /dev/null
+++ b/components/camel-openapi-java/src/main/docs/springdoc.adoc
@@ -0,0 +1,21 @@
+= Camel Spring Boot Starter for extending openapi-java with the Springdoc UI
+:doctitle: Springdoc
+//This may not be correct.  It appears on the included starter.adoc
+:shortname: openapi-java with springdoc
+:artifactid: openapi-java
+:description: Springdoc Swagger UI for openapi-java in spring boot
+:since: 3.14
+//:supportlevel: Stable
+//include::{cq-version}@camel-quarkus:ROOT:partial$reference/others/openapi-java.adoc[opts=optional]
+//Manually maintained attributes
+:camel-spring-boot-name: springdoc
+:starter-artifactid: camel-springdoc-starter
+
+*Since Camel {since}*
+
+This is available only as a Camel spring boot starter.
+It supplies support for using the Springdoc Swagger UI with openapi-java.
+
+//Should the same options etc as openapi-java appear here??
+
+include::spring-boot:partial$starter.adoc[]
diff --git a/docs/components/modules/others/nav.adoc b/docs/components/modules/others/nav.adoc
index 86ae3b4..03287c4 100644
--- a/docs/components/modules/others/nav.adoc
+++ b/docs/components/modules/others/nav.adoc
@@ -31,7 +31,7 @@
 ** xref:microprofile-config.adoc[Microprofile Config]
 ** xref:microprofile-fault-tolerance.adoc[Microprofile Fault Tolerance]
 ** xref:microprofile-health.adoc[Microprofile Health]
-** xref:openapi-java.adoc[Openapi Java]
+** xref:springdoc.adoc[Openapi Java]
 ** xref:opentelemetry.adoc[OpenTelemetry]
 ** xref:opentracing.adoc[OpenTracing]
 ** xref:platform-http-vertx.adoc[Platform Http Vertx]
@@ -47,6 +47,7 @@
 ** xref:spring-main.adoc[Spring Main]
 ** xref:spring-security.adoc[Spring Security]
 ** xref:spring-xml.adoc[Spring Xml]
+** xref:openapi-java.adoc[Springdoc]
 ** xref:swagger-java.adoc[Swagger Java]
 ** xref:test.adoc[Test]
 ** xref:test-cdi.adoc[Test CDI]
diff --git a/docs/components/modules/others/pages/springdoc.adoc b/docs/components/modules/others/pages/springdoc.adoc
new file mode 120000
index 0000000..45726e5
--- /dev/null
+++ b/docs/components/modules/others/pages/springdoc.adoc
@@ -0,0 +1 @@
+../../../../../components/camel-openapi-java/src/main/docs/springdoc.adoc
\ No newline at end of file