|
26 | 26 | "Options": { |
27 | 27 | "description": "general processor configuration options.", |
28 | 28 | "type": "object", |
| 29 | + "additionalProperties": false, |
29 | 30 | "properties": { |
30 | 31 | "package-name": { |
31 | 32 | "description": "java root package name to use in the generated source files.", |
|
36 | 37 | "description": "enable bean validation annotations for OpenAPI constraints.", |
37 | 38 | "type": "boolean", |
38 | 39 | "default": false |
| 40 | + }, |
| 41 | + "javadoc": { |
| 42 | + "description": "generate javadoc from OpenAPI 'description' properties (since core 2021.1).", |
| 43 | + "type": "boolean", |
| 44 | + "default": false |
39 | 45 | } |
40 | 46 | } |
41 | 47 | }, |
|
63 | 69 | "$ref": "#/definitions/Exclude" |
64 | 70 | }, { |
65 | 71 | "$ref": "#/definitions/Mappings" |
66 | | - } |
67 | | - ] |
| 72 | + }, { |
| 73 | + "$ref": "#/definitions/Methods" |
| 74 | + }] |
68 | 75 | } |
69 | 76 | } |
70 | 77 | }, |
|
81 | 88 | "multi": { |
82 | 89 | "$ref": "#/definitions/MultiMapping" |
83 | 90 | }, |
| 91 | + "null": { |
| 92 | + "$ref": "#/definitions/NullMapping" |
| 93 | + }, |
84 | 94 | "types": { |
85 | 95 | "$ref": "#/definitions/TypeMappings" |
86 | 96 | }, |
|
92 | 102 | } |
93 | 103 | } |
94 | 104 | }, |
| 105 | + "Methods": { |
| 106 | + "description": "http method mapping rules (since core 2021.2).", |
| 107 | + "type": "object", |
| 108 | + "get": { |
| 109 | + "$ref": "#/definitions/Mappings" |
| 110 | + }, |
| 111 | + "put": { |
| 112 | + "$ref": "#/definitions/Mappings" |
| 113 | + }, |
| 114 | + "post": { |
| 115 | + "$ref": "#/definitions/Mappings" |
| 116 | + }, |
| 117 | + "delete": { |
| 118 | + "$ref": "#/definitions/Mappings" |
| 119 | + }, |
| 120 | + "options": { |
| 121 | + "$ref": "#/definitions/Mappings" |
| 122 | + }, |
| 123 | + "head": { |
| 124 | + "$ref": "#/definitions/Mappings" |
| 125 | + }, |
| 126 | + "patch": { |
| 127 | + "$ref": "#/definitions/Mappings" |
| 128 | + } |
| 129 | + }, |
95 | 130 | "ResultMapping": { |
96 | 131 | "description": "wrapper object of a http response.", |
97 | 132 | "type": "string", |
|
113 | 148 | "reactor.core.publisher.Flux" |
114 | 149 | ] |
115 | 150 | }, |
| 151 | + "NullMapping": { |
| 152 | + "description": "null wrapper of 'nullable' object properties (since core 2021.2).", |
| 153 | + "type": "string", |
| 154 | + "examples": [ |
| 155 | + "org.openapitools.jackson.nullable.JsonNullable", |
| 156 | + "org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()" |
| 157 | + ] |
| 158 | + }, |
116 | 159 | "TypeMappings": { |
117 | 160 | "description": "basic type mappings.", |
118 | 161 | "type": "array", |
|
0 commit comments