Skip to content

Commit d4fec14

Browse files
remove redundant "requires"
- "in" is always required for "parameter" - "type" is required for "security-scheme"
1 parent f1edd25 commit d4fec14

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/schemas/validation/schema.yaml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,6 @@ $defs:
341341
properties:
342342
in:
343343
const: query
344-
required:
345-
- in
346344
then:
347345
properties:
348346
allowEmptyValue:
@@ -369,8 +367,6 @@ $defs:
369367
properties:
370368
in:
371369
const: path
372-
required:
373-
- in
374370
then:
375371
properties:
376372
style:
@@ -389,8 +385,6 @@ $defs:
389385
properties:
390386
in:
391387
const: header
392-
required:
393-
- in
394388
then:
395389
properties:
396390
style:
@@ -402,8 +396,6 @@ $defs:
402396
properties:
403397
in:
404398
const: query
405-
required:
406-
- in
407399
then:
408400
properties:
409401
style:
@@ -422,8 +414,6 @@ $defs:
422414
properties:
423415
in:
424416
const: cookie
425-
required:
426-
- in
427417
then:
428418
properties:
429419
style:
@@ -760,8 +750,6 @@ $defs:
760750
properties:
761751
type:
762752
const: apiKey
763-
required:
764-
- type
765753
then:
766754
properties:
767755
name:
@@ -780,8 +768,6 @@ $defs:
780768
properties:
781769
type:
782770
const: http
783-
required:
784-
- type
785771
then:
786772
properties:
787773
scheme:
@@ -810,8 +796,6 @@ $defs:
810796
properties:
811797
type:
812798
const: oauth2
813-
required:
814-
- type
815799
then:
816800
properties:
817801
flows:
@@ -824,8 +808,6 @@ $defs:
824808
properties:
825809
type:
826810
const: openIdConnect
827-
required:
828-
- type
829811
then:
830812
properties:
831813
openIdConnectUrl:

0 commit comments

Comments
 (0)