Skip to content

Commit e85d8db

Browse files
committed
require webhooks or paths or schemas
1 parent ea55a68 commit e85d8db

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

schemas/v3.1/schema.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
id: https://spec.openapis.org/oas/3.1/schema/2021-02-18
22
$schema: 'https://json-schema.org/draft/2020-02/schema#'
3+
34
type: object
5+
46
required:
57
- openapi
68
- info
7-
- paths
9+
10+
oneOf:
11+
- required: [components]
12+
- required: [paths]
13+
- required: [webhooks]
14+
815
allOf:
916
- $ref: '#/$defs/Mixins/$defs/Extensible'
1017
properties:

0 commit comments

Comments
 (0)