3
3
# #
4
4
5
5
# mapping format [required]
6
- openapi-processor-mapping : v10
6
+ openapi-processor-mapping : v11
7
7
8
8
options : # general processor options [required]
9
9
@@ -80,7 +80,6 @@ map: # the type mappings
80
80
multi : reactor.core.publisher.Flux
81
81
82
82
types : # global type mappings (optional)
83
-
84
83
- type : array => java.util.Collection
85
84
86
85
- type : Schema => java.util.Map
@@ -90,19 +89,19 @@ map: # the type mappings
90
89
91
90
- type : Schema @ io.openapiprocessor.Annotation()
92
91
93
- parameters : # global parameter mappings (optional)
92
+ schemas : # global schema mappings (optional)
93
+ - type : Schema @ io.openapiprocessor.Annotation()
94
94
95
+ parameters : # global parameter mappings (optional)
95
96
- name : foo => java.util.List
96
97
- name : bar => com.github.hauner.openapi.Bar
97
98
- name : param @ io.openapiprocessor.Annotation()
98
99
- type : Schema @ io.openapiprocessor.Annotation()
99
100
100
101
responses : # global response mappings (optional)
101
-
102
102
- content : application/vnd.something => java.util.List
103
103
- content : application/json => com.github.hauner.openapi.FooBar
104
104
105
-
106
105
paths : # path/endpoint specific mappings (optional)
107
106
108
107
/first : # a path/endpoint from the openapi.yaml
@@ -123,6 +122,9 @@ map: # the type mappings
123
122
types :
124
123
- type : Schema => java.util.Collection
125
124
125
+ schemas :
126
+ - type : Schema @ io.openapiprocessor.Annotation()
127
+
126
128
parameters :
127
129
- name : foo => java.util.List
128
130
- add : bar => java.util.Set
0 commit comments