Skip to content

Commit 3e0462b

Browse files
committed
add clear not error message (for swagger-api#1489)
1 parent c4d4394 commit 3e0462b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/plugins/json-schema-validator/oas3-schema.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,7 @@ definitions:
607607
additionalProperties: false
608608
ExampleXORExamples:
609609
description: Example and examples are mutually exclusive
610+
errorMessage: "should not have both `example` and `examples`, as they are mutually exclusive"
610611
not:
611612
required:
612613
- example

0 commit comments

Comments
 (0)