From baee60f3c2082b6bdc941f2be61fb8e0718fe0c7 Mon Sep 17 00:00:00 2001 From: polgarc <29740673+polgarc@users.noreply.github.com> Date: Thu, 21 Nov 2024 21:04:33 +0100 Subject: [PATCH 1/2] doc: fix links --- src/docs/asciidoc/faq.adoc | 2 +- src/docs/asciidoc/features.adoc | 14 +++++++------- src/docs/asciidoc/modules.adoc | 2 +- src/docs/asciidoc/v1/features.adoc | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/docs/asciidoc/faq.adoc b/src/docs/asciidoc/faq.adoc index d816c8e..75ee3b6 100644 --- a/src/docs/asciidoc/faq.adoc +++ b/src/docs/asciidoc/faq.adoc @@ -766,7 +766,7 @@ If the CSRF Token is required, swagger-ui automatically sends the new XSRF-TOKEN If your XSRF-TOKEN isn't standards-based, you can use a requestInterceptor to manually capture and attach the latest xsrf token to requests programmatically via spring resource transformer: -* link:https://github.com/swagger-api/swagger-ui/blob/main/docs/usage/configuration.md#requestinterceptor[https://github.com/swagger-api/swagger-ui/blob/main/docs/usage/configuration.md#requestinterceptor, window="_blank"] +* link:https://github.com/swagger-api/swagger-ui/blob/master/docs/usage/configuration.md#requestinterceptor[https://github.com/swagger-api/swagger-ui/blob/main/docs/usage/configuration.md#requestinterceptor, window="_blank"] Starting from release v1.4.4 of springdoc-openapi, a new property is added to enable CSRF support, while using standard header names: [source,properties] diff --git a/src/docs/asciidoc/features.adoc b/src/docs/asciidoc/features.adoc index 7c8f329..34e8863 100644 --- a/src/docs/asciidoc/features.adoc +++ b/src/docs/asciidoc/features.adoc @@ -73,11 +73,11 @@ RouterFunction routes() { Here is the link for some sample codes: -- link:https://github.com/springdoc/springdoc-openapi/blob/master/springdoc-openapi-webflux-core/src/test/java/test/org/springdoc/api/app90/HelloRouter.java[HelloRouter] -- link:https://github.com/springdoc/springdoc-openapi/blob/master/springdoc-openapi-webflux-core/src/test/java/test/org/springdoc/api/app90/quotes/QuotesRouter.java[QuotesRouter] -- link:https://github.com/springdoc/springdoc-openapi/blob/master/springdoc-openapi-webflux-core/src/test/java/test/org/springdoc/api/app90/book/BookRouter.java[BookRouter] -- link:https://github.com/springdoc/springdoc-openapi/blob/master/springdoc-openapi-webflux-core/src/test/java/test/org/springdoc/api/app90/employee/EmployeeRouter.java[EmployeeRouter] -- link:https://github.com/springdoc/springdoc-openapi/blob/master/springdoc-openapi-webflux-core/src/test/java/test/org/springdoc/api/app90/position/PositionRouter.java[PositionRouter] +- link:https://github.com/springdoc/springdoc-openapi/blob/master/springdoc-openapi-starter-webflux-api/src/test/java/test/org/springdoc/api/app90/HelloRouter.java[HelloRouter] +- link:https://github.com/springdoc/springdoc-openapi/blob/master/springdoc-openapi-starter-webflux-api/src/test/java/test/org/springdoc/api/app90/quotes/QuotesRouter.java[QuotesRouter] +- link:https://github.com/springdoc/springdoc-openapi/blob/master/springdoc-openapi-starter-webflux-api/src/test/java/test/org/springdoc/api/app90/book/BookRouter.java[BookRouter] +- link:https://github.com/springdoc/springdoc-openapi/blob/master/springdoc-openapi-starter-webflux-api/src/test/java/test/org/springdoc/api/app90/employee/EmployeeRouter.java[EmployeeRouter] +- link:https://github.com/springdoc/springdoc-openapi/blob/master/springdoc-openapi-starter-webflux-api/src/test/java/test/org/springdoc/api/app90/position/PositionRouter.java[PositionRouter] And the Demo code, using the functional endpoints DSL: @@ -160,11 +160,11 @@ For that, `@RouterOperation` fields must help identify uniquely the concerned ro Some code samples are available on GITHUB of demos: -* link:https://github.com/springdoc/springdoc-openapi-demos/tree/master/springdoc-openapi-spring-boot-2-webflux-functional[Sample application with Functional Endpoints documentation, window="_blank"] +* link:https://github.com/springdoc/springdoc-openapi-demos/tree/master/demo-spring-boot-3-webflux-functional[Sample application with Functional Endpoints documentation, window="_blank"] And some project tests: (from app69 to app75) -* link:https://github.com/springdoc/springdoc-openapi/tree/master/springdoc-openapi-webflux-core/src/test/java/test/org/springdoc/api[Sample code with Functional Endpoints documentation, window="_blank"] +* link:https://github.com/springdoc/springdoc-openapi/tree/master/springdoc-openapi-starter-webflux-api/src/test/java/test/org/springdoc/api[Sample code with Functional Endpoints documentation, window="_blank"] === Integration with WildFly diff --git a/src/docs/asciidoc/modules.adoc b/src/docs/asciidoc/modules.adoc index 6075633..8f37557 100644 --- a/src/docs/asciidoc/modules.adoc +++ b/src/docs/asciidoc/modules.adoc @@ -206,7 +206,7 @@ public Function, Flux> lowercase() { Some code samples are available on GITHUB of demos: -* link:https://github.com/springdoc/springdoc-openapi-demos/tree/master/springdoc-openapi-spring-cloud-function[Sample applications with Spring Cloud Function Web, window="_blank"] +* link:https://github.com/springdoc/springdoc-openapi-demos/tree/master/demo-spring-cloud-function[Sample applications with Spring Cloud Function Web, window="_blank"] === Kotlin support diff --git a/src/docs/asciidoc/v1/features.adoc b/src/docs/asciidoc/v1/features.adoc index 2b12c02..1f60992 100644 --- a/src/docs/asciidoc/v1/features.adoc +++ b/src/docs/asciidoc/v1/features.adoc @@ -81,7 +81,7 @@ Here is the link for some sample codes: And the Demo code, using the functional endpoints DSL: -- link:https://github.com/springdoc/springdoc-openapi-demos/tree/master/springdoc-openapi-spring-boot-2-webflux-functional[Sample webflux application using functional DSL] +- link:https://github.com/springdoc/springdoc-openapi-demos/tree/master/demo-spring-boot-3-webflux-functional[Sample webflux application using functional DSL] Since version `v1.3.8`, the support of functional endpoints has been added. Two main annotations have been added for this purpose: `@RouterOperations` and `@RouterOperation`. @@ -160,7 +160,7 @@ For that, `@RouterOperation` fields must help identify uniquely the concerned ro Some code samples are available on GITHUB of demos: -* link:https://github.com/springdoc/springdoc-openapi-demos/tree/master/springdoc-openapi-spring-boot-2-webflux-functional[Sample application with Functional Endpoints documentation, window="_blank"] +* link:https://github.com/springdoc/springdoc-openapi-demos/tree/master/demo-spring-boot-3-webflux-functional[Sample application with Functional Endpoints documentation, window="_blank"] And some project tests: (from app69 to app75) From ab430b930d95a4f95e1bec69fa4a37d21810dca8 Mon Sep 17 00:00:00 2001 From: polgarc <29740673+polgarc@users.noreply.github.com> Date: Thu, 21 Nov 2024 21:14:11 +0100 Subject: [PATCH 2/2] doc: don't change v1 --- src/docs/asciidoc/v1/features.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/docs/asciidoc/v1/features.adoc b/src/docs/asciidoc/v1/features.adoc index 1f60992..2b12c02 100644 --- a/src/docs/asciidoc/v1/features.adoc +++ b/src/docs/asciidoc/v1/features.adoc @@ -81,7 +81,7 @@ Here is the link for some sample codes: And the Demo code, using the functional endpoints DSL: -- link:https://github.com/springdoc/springdoc-openapi-demos/tree/master/demo-spring-boot-3-webflux-functional[Sample webflux application using functional DSL] +- link:https://github.com/springdoc/springdoc-openapi-demos/tree/master/springdoc-openapi-spring-boot-2-webflux-functional[Sample webflux application using functional DSL] Since version `v1.3.8`, the support of functional endpoints has been added. Two main annotations have been added for this purpose: `@RouterOperations` and `@RouterOperation`. @@ -160,7 +160,7 @@ For that, `@RouterOperation` fields must help identify uniquely the concerned ro Some code samples are available on GITHUB of demos: -* link:https://github.com/springdoc/springdoc-openapi-demos/tree/master/demo-spring-boot-3-webflux-functional[Sample application with Functional Endpoints documentation, window="_blank"] +* link:https://github.com/springdoc/springdoc-openapi-demos/tree/master/springdoc-openapi-spring-boot-2-webflux-functional[Sample application with Functional Endpoints documentation, window="_blank"] And some project tests: (from app69 to app75)