Skip to content

Commit ec3e57e

Browse files
committed
only one is required (#115)
1 parent eead6e0 commit ec3e57e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

openapi-processor-core/src/main/resources/mapping/v13/mapping.yaml.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
"type": "string",
5151
"default": null
5252
}
53-
}
53+
},
54+
"required": ["base"]
5455
},
5556
"bean-validation": {
5657
"description": "enable bean validation annotations for OpenAPI constraints.",
@@ -158,8 +159,9 @@
158159
}
159160
},
160161
"additionalProperties": false,
161-
"required": [
162-
"package-name"
162+
"oneOf": [
163+
{ "required": ["package-name"] },
164+
{ "required": ["package-names"] }
163165
]
164166
},
165167
"Logging": {

0 commit comments

Comments
 (0)