Skip to content

Commit 9ac8910

Browse files
remove redundant "requires"
- "in" is always required for "parameter" - "type" is required for "security-scheme"
1 parent 3c675a8 commit 9ac8910

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/schemas/validation/schema.yaml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -376,8 +376,6 @@ $defs:
376376
properties:
377377
in:
378378
const: query
379-
required:
380-
- in
381379
then:
382380
properties:
383381
allowEmptyValue:
@@ -387,8 +385,6 @@ $defs:
387385
properties:
388386
in:
389387
const: querystring
390-
required:
391-
- in
392388
then:
393389
required:
394390
- content
@@ -415,8 +411,6 @@ $defs:
415411
properties:
416412
in:
417413
const: path
418-
required:
419-
- in
420414
then:
421415
properties:
422416
style:
@@ -435,8 +429,6 @@ $defs:
435429
properties:
436430
in:
437431
const: header
438-
required:
439-
- in
440432
then:
441433
properties:
442434
style:
@@ -448,8 +440,6 @@ $defs:
448440
properties:
449441
in:
450442
const: query
451-
required:
452-
- in
453443
then:
454444
properties:
455445
style:
@@ -465,8 +455,6 @@ $defs:
465455
properties:
466456
in:
467457
const: cookie
468-
required:
469-
- in
470458
then:
471459
properties:
472460
style:
@@ -871,8 +859,6 @@ $defs:
871859
properties:
872860
type:
873861
const: apiKey
874-
required:
875-
- type
876862
then:
877863
properties:
878864
name:
@@ -891,8 +877,6 @@ $defs:
891877
properties:
892878
type:
893879
const: http
894-
required:
895-
- type
896880
then:
897881
properties:
898882
scheme:
@@ -921,8 +905,6 @@ $defs:
921905
properties:
922906
type:
923907
const: oauth2
924-
required:
925-
- type
926908
then:
927909
properties:
928910
flows:
@@ -938,8 +920,6 @@ $defs:
938920
properties:
939921
type:
940922
const: openIdConnect
941-
required:
942-
- type
943923
then:
944924
properties:
945925
openIdConnectUrl:

0 commit comments

Comments
 (0)