Skip to content

Commit 87a26f1

Browse files
committed
update mapping to latest version
1 parent 656fd64 commit 87a26f1

12 files changed

+18
-18
lines changed

docs/modules/ROOT/pages/mapping/annotation.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Assume the following mapping:
102102

103103
[source,yaml]
104104
----
105-
openapi-processor-mapping: v7
105+
openapi-processor-mapping: v8
106106
107107
options:
108108
@@ -219,7 +219,7 @@ and a `mapping.yaml` with annotation type mappings:
219219

220220
[source,yaml]
221221
----
222-
openapi-processor-mapping: v7 # <1>
222+
openapi-processor-mapping: v8 # <1>
223223
224224
options:
225225
package-name: io.openapiprocessor.openapi

docs/modules/ROOT/pages/mapping/endpoint.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Here are a few examples of possible http endpoint mappings:
8686

8787
[source,yaml]
8888
----
89-
openapi-processor-mapping: v7
89+
openapi-processor-mapping: v8
9090
9191
map:
9292

docs/modules/ROOT/pages/mapping/extension.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ components:
2828
In general openapi-processor will ignore the `x-` tension properties unless we map the `x-` tensions/values to annotations like this:
2929

3030
```yaml
31-
openapi-processor-mapping: v7
31+
openapi-processor-mapping: v8
3232
options:
3333
# ...
3434

docs/modules/ROOT/pages/mapping/global.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ It is defined like below, and it should be added to the `map/types` section in t
66

77
[source,yaml]
88
----
9-
openapi-processor-mapping: v7
9+
openapi-processor-mapping: v8
1010
1111
options:
1212
package-name: io.openapiprocessor.sample
@@ -143,7 +143,7 @@ It is possible to create type mappings with nested generics types. Here are a fe
143143

144144
[source,yaml]
145145
----
146-
openapi-processor-mapping: v7
146+
openapi-processor-mapping: v8
147147
148148
options:
149149
package-name: generated

docs/modules/ROOT/pages/mapping/null.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ By adding a `null` mapping for the `/foo` endpoint (this does work only on the e
3232

3333
[source,yaml]
3434
----
35-
openapi-processor-mapping: v7
35+
openapi-processor-mapping: v8
3636
3737
map:
3838
paths:

docs/modules/ROOT/pages/mapping/package-name.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The type mapping (v2 and up) configuration allows to reference the target `packa
44

55
[source,yaml]
66
----
7-
openapi-processor-mapping: v7
7+
openapi-processor-mapping: v8
88
options:
99
package-name: io.openapiprocessor.generated
1010

docs/modules/ROOT/pages/mapping/single-multi.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ This can be fixed by modifying the `result` mapping to
8282

8383
[source, yaml]
8484
----
85-
openapi-processor-mapping: v7
85+
openapi-processor-mapping: v8
8686
8787
options:
8888
# ...

docs/modules/ROOT/pages/mapping/structure.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The mapping file needs the following key on the top-level. Best place is the fir
1515
1616
[source,yaml]
1717
----
18-
openapi-processor-mapping: v7
18+
openapi-processor-mapping: v8
1919
----
2020
====
2121

docs/modules/ROOT/pages/processor/configuration.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ components:
126126
*mapping.yaml*
127127
[source,yaml]
128128
----
129-
openapi-processor-mapping: v7
129+
openapi-processor-mapping: v8
130130
131131
options:
132132
package-name: io.openapiprocessor.sample
@@ -176,7 +176,7 @@ openapi-processor is now capable of generating java `record`s instead of pojos f
176176
*mapping.yaml*
177177
[source,yaml]
178178
----
179-
openapi-processor-mapping: v7
179+
openapi-processor-mapping: v8
180180
181181
options:
182182
model-type: record
@@ -234,7 +234,7 @@ public class Foo {
234234
*mapping.yaml*
235235
[source,yaml]
236236
----
237-
openapi-processor-mapping: v7
237+
openapi-processor-mapping: v8
238238
239239
options:
240240
enum-type: string

docs/modules/ROOT/pages/processor/endpoint-content.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ The default is `success`, i.e. the processor will automatically generate the cod
109109

110110
[source,yaml]
111111
----
112-
openapi-processor-mapping: v7
112+
openapi-processor-mapping: v8
113113
114114
options:
115115
package-name: ...

docs/modules/ROOT/pages/processor/enums.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Do not create a Java enum classes for OpenAPI enums and simply use `java.lang.St
7676
7777
[source,yaml,title=mapping.yaml]
7878
----
79-
openapi-processor-mapping: v7
79+
openapi-processor-mapping: v8
8080
8181
options:
8282
enum-type: string
@@ -100,7 +100,7 @@ By enabling bean-validation the processor will generate and use a custom validat
100100
101101
[source,yaml,title=mapping.yaml]
102102
----
103-
openapi-processor-mapping: v7
103+
openapi-processor-mapping: v8
104104
105105
options:
106106
bean-validation: jakarta
@@ -140,7 +140,7 @@ It creates Java enum classes and a Spring `ConverterFactory` with the name `\{pa
140140
141141
[source,yaml,title=mapping.yaml]
142142
----
143-
openapi-processor-mapping: v7
143+
openapi-processor-mapping: v8
144144
145145
options:
146146
enum-type: framework

docs/modules/ROOT/pages/processor/one-of-interface.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Generation of marker interfaces is enabled by setting the `one-of-interface` opt
1919
2020
[source,yaml]
2121
----
22-
openapi-processor-mapping: v7
22+
openapi-processor-mapping: v8
2323
2424
options:
2525
one-of-interface: true

0 commit comments

Comments
 (0)