Skip to content

Commit 33d5b6c

Browse files
committed
update/fix documentation
1 parent e67639c commit 33d5b6c

1 file changed

Lines changed: 30 additions & 10 deletions

File tree

docs/modules/ROOT/pages/index.adoc

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ a Gradle plugin based on the link:{oap-api}[openapi-processor-api] to handle any
2727
| minimum Gradle version
2828
| minimum Java version
2929

30-
| 2026.2+
30+
| 2026.x
3131
| 8.7+
3232
| 17
3333

34-
| 2026.1, 2025.x
34+
| 2025.x
3535
| 8.2+ with kotlin dsl +
3636
7.2+ with groovy dsl
3737
| 17
@@ -577,7 +577,9 @@ openapiProcessor {
577577
process("spring") {
578578
// the openapi-processor-spring dependency (mandatory)
579579
//
580-
processor("io.openapiprocessor:openapi-processor-spring:<version>")
580+
dependencies {
581+
process("io.openapiprocessor:openapi-processor-spring:<version>")
582+
}
581583
582584
// setting api path inside a processor configuration overrides the one at the top.
583585
//
@@ -605,7 +607,9 @@ openapiProcessor {
605607
process("json") {
606608
// the openapi-processor-json dependency (mandatory)
607609
//
608-
processor("'io.openapiprocessor:openapi-processor-json:<version>")
610+
dependencies {
611+
process("'io.openapiprocessor:openapi-processor-json:<version>")
612+
}
609613
610614
// the destination folder for the JSON file. (mandatory)
611615
//targetDir("${buildDir}/json")
@@ -632,7 +636,9 @@ openapiProcessor {
632636
spring {
633637
// the openapi-processor-spring dependency (mandatory)
634638
//
635-
processor 'io.openapiprocessor:openapi-processor-spring:<version>'
639+
dependencies {
640+
process 'io.openapiprocessor:openapi-processor-spring:<version>'
641+
}
636642
637643
// setting api path inside a processor configuration overrides the one at the top.
638644
//
@@ -658,7 +664,9 @@ openapiProcessor {
658664
json {
659665
// the openapi-processor-json dependency (mandatory)
660666
//
661-
processor 'io.openapiprocessor:openapi-processor-json:<version>'
667+
dependencies {
668+
processor 'io.openapiprocessor:openapi-processor-json:<version>'
669+
}
662670
663671
// the destination folder for the json file. (mandatory)
664672
//targetDir "${buildDir}/json"
@@ -684,13 +692,19 @@ openapiProcessor {
684692
apiPath(layout.projectDirectory.file("src/api/openapi.yaml"))
685693
686694
process("spring") {
687-
processor("io.openapiprocessor:openapi-processor-spring:<version>")
695+
dependencies {
696+
process("io.openapiprocessor:openapi-processor-spring:<version>")
697+
}
698+
688699
targetDir(layout.buildDirectory.dir("openapi"))
689700
prop("mapping", layout.projectDirectory.file("src/api/mapping.yaml"))
690701
}
691702
692703
process("json") {
693-
processor("io.openapiprocessor:openapi-processor-json:<version>")
704+
dependencies {
705+
process("io.openapiprocessor:openapi-processor-json:<version>")
706+
}
707+
694708
targetDir(layout.buildDirectory.dir("json"))
695709
}
696710
}
@@ -705,13 +719,19 @@ openapiProcessor {
705719
apiPath layout.projectDirectory.file("src/api/openapi.yaml")
706720
707721
spring {
708-
processor "io.openapiprocessor:openapi-processor-spring:<version>"
722+
dependencies {
723+
process "io.openapiprocessor:openapi-processor-spring:<version>"
724+
}
725+
709726
targetDir layout.buildDirectory.dir("openapi")
710727
mapping layout.projectDirectory.file("src/api/mapping.yaml")
711728
}
712729
713730
json {
714-
processor "io.openapiprocessor:openapi-processor-json:<version>"
731+
dependencies {
732+
process "io.openapiprocessor:openapi-processor-json:<version>"
733+
}
734+
715735
targetDir layout.buildDirectory.dir("json")
716736
}
717737
}

0 commit comments

Comments
 (0)