@scalar/openapi-parser 0.28.16 → 0.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/configuration/index.d.ts +6 -5307
  3. package/dist/configuration/index.d.ts.map +1 -1
  4. package/dist/configuration/index.js +2 -15
  5. package/dist/types/index.d.ts +3 -13
  6. package/dist/types/index.d.ts.map +1 -1
  7. package/dist/utils/details.d.ts.map +1 -1
  8. package/dist/utils/details.js +8 -1
  9. package/dist/utils/openapi/openapi.d.ts +172 -172
  10. package/dist/utils/validate.d.ts +6 -1
  11. package/dist/utils/validate.d.ts.map +1 -1
  12. package/dist/utils/validate.js +75 -29
  13. package/package.json +7 -11
  14. package/dist/lib/Validator/Validator.d.ts +0 -22
  15. package/dist/lib/Validator/Validator.d.ts.map +0 -1
  16. package/dist/lib/Validator/Validator.js +0 -146
  17. package/dist/schemas/v2.0/schema.d.ts +0 -1407
  18. package/dist/schemas/v2.0/schema.d.ts.map +0 -1
  19. package/dist/schemas/v2.0/schema.js +0 -1466
  20. package/dist/schemas/v3.0/schema.d.ts +0 -1269
  21. package/dist/schemas/v3.0/schema.d.ts.map +0 -1
  22. package/dist/schemas/v3.0/schema.js +0 -1499
  23. package/dist/schemas/v3.1/schema.d.ts +0 -1225
  24. package/dist/schemas/v3.1/schema.d.ts.map +0 -1
  25. package/dist/schemas/v3.1/schema.js +0 -1292
  26. package/dist/schemas/v3.2/schema.d.ts +0 -1409
  27. package/dist/schemas/v3.2/schema.d.ts.map +0 -1
  28. package/dist/schemas/v3.2/schema.js +0 -1509
  29. package/dist/utils/betterAjvErrors/helpers.d.ts +0 -3
  30. package/dist/utils/betterAjvErrors/helpers.d.ts.map +0 -1
  31. package/dist/utils/betterAjvErrors/helpers.js +0 -159
  32. package/dist/utils/betterAjvErrors/index.d.ts +0 -17
  33. package/dist/utils/betterAjvErrors/index.d.ts.map +0 -1
  34. package/dist/utils/betterAjvErrors/index.js +0 -12
  35. package/dist/utils/betterAjvErrors/utils.d.ts +0 -13
  36. package/dist/utils/betterAjvErrors/utils.d.ts.map +0 -1
  37. package/dist/utils/betterAjvErrors/utils.js +0 -21
  38. package/dist/utils/betterAjvErrors/validation-errors/additional-prop.d.ts +0 -10
  39. package/dist/utils/betterAjvErrors/validation-errors/additional-prop.d.ts.map +0 -1
  40. package/dist/utils/betterAjvErrors/validation-errors/additional-prop.js +0 -15
  41. package/dist/utils/betterAjvErrors/validation-errors/base.d.ts +0 -23
  42. package/dist/utils/betterAjvErrors/validation-errors/base.d.ts.map +0 -1
  43. package/dist/utils/betterAjvErrors/validation-errors/base.js +0 -21
  44. package/dist/utils/betterAjvErrors/validation-errors/default.d.ts +0 -10
  45. package/dist/utils/betterAjvErrors/validation-errors/default.d.ts.map +0 -1
  46. package/dist/utils/betterAjvErrors/validation-errors/default.js +0 -15
  47. package/dist/utils/betterAjvErrors/validation-errors/enum.d.ts +0 -11
  48. package/dist/utils/betterAjvErrors/validation-errors/enum.d.ts.map +0 -1
  49. package/dist/utils/betterAjvErrors/validation-errors/enum.js +0 -36
  50. package/dist/utils/betterAjvErrors/validation-errors/format.d.ts +0 -27
  51. package/dist/utils/betterAjvErrors/validation-errors/format.d.ts.map +0 -1
  52. package/dist/utils/betterAjvErrors/validation-errors/format.js +0 -73
  53. package/dist/utils/betterAjvErrors/validation-errors/index.d.ts +0 -8
  54. package/dist/utils/betterAjvErrors/validation-errors/index.d.ts.map +0 -1
  55. package/dist/utils/betterAjvErrors/validation-errors/index.js +0 -7
  56. package/dist/utils/betterAjvErrors/validation-errors/pattern.d.ts +0 -10
  57. package/dist/utils/betterAjvErrors/validation-errors/pattern.d.ts.map +0 -1
  58. package/dist/utils/betterAjvErrors/validation-errors/pattern.js +0 -15
  59. package/dist/utils/betterAjvErrors/validation-errors/required.d.ts +0 -10
  60. package/dist/utils/betterAjvErrors/validation-errors/required.d.ts.map +0 -1
  61. package/dist/utils/betterAjvErrors/validation-errors/required.js +0 -14
  62. package/dist/utils/betterAjvErrors/validation-errors/unevaluated-prop.d.ts +0 -10
  63. package/dist/utils/betterAjvErrors/validation-errors/unevaluated-prop.d.ts.map +0 -1
  64. package/dist/utils/betterAjvErrors/validation-errors/unevaluated-prop.js +0 -15
  65. package/dist/utils/transform-errors.d.ts +0 -6
  66. package/dist/utils/transform-errors.d.ts.map +0 -1
  67. package/dist/utils/transform-errors.js +0 -65
  68. package/dist/utils/validate-path-parameters.d.ts +0 -6
  69. package/dist/utils/validate-path-parameters.d.ts.map +0 -1
  70. package/dist/utils/validate-path-parameters.js +0 -94
@@ -1,1409 +0,0 @@
1
- declare const _default: {
2
- $id: string;
3
- $schema: string;
4
- description: string;
5
- type: string;
6
- properties: {
7
- openapi: {
8
- type: string;
9
- pattern: string;
10
- };
11
- $self: {
12
- type: string;
13
- format: string;
14
- $comment: string;
15
- pattern: string;
16
- };
17
- info: {
18
- $ref: string;
19
- };
20
- jsonSchemaDialect: {
21
- type: string;
22
- format: string;
23
- default: string;
24
- };
25
- servers: {
26
- type: string;
27
- items: {
28
- $ref: string;
29
- };
30
- default: {
31
- url: string;
32
- }[];
33
- };
34
- paths: {
35
- $ref: string;
36
- };
37
- webhooks: {
38
- type: string;
39
- additionalProperties: {
40
- $ref: string;
41
- };
42
- };
43
- components: {
44
- $ref: string;
45
- };
46
- security: {
47
- type: string;
48
- items: {
49
- $ref: string;
50
- };
51
- };
52
- tags: {
53
- type: string;
54
- items: {
55
- $ref: string;
56
- };
57
- };
58
- externalDocs: {
59
- $ref: string;
60
- };
61
- };
62
- required: string[];
63
- anyOf: {
64
- required: string[];
65
- }[];
66
- $ref: string;
67
- unevaluatedProperties: boolean;
68
- $defs: {
69
- info: {
70
- $comment: string;
71
- type: string;
72
- properties: {
73
- title: {
74
- type: string;
75
- };
76
- summary: {
77
- type: string;
78
- };
79
- description: {
80
- type: string;
81
- };
82
- termsOfService: {
83
- type: string;
84
- format: string;
85
- };
86
- contact: {
87
- $ref: string;
88
- };
89
- license: {
90
- $ref: string;
91
- };
92
- version: {
93
- type: string;
94
- };
95
- };
96
- required: string[];
97
- $ref: string;
98
- unevaluatedProperties: boolean;
99
- };
100
- contact: {
101
- $comment: string;
102
- type: string;
103
- properties: {
104
- name: {
105
- type: string;
106
- };
107
- url: {
108
- type: string;
109
- format: string;
110
- };
111
- email: {
112
- type: string;
113
- format: string;
114
- };
115
- };
116
- $ref: string;
117
- unevaluatedProperties: boolean;
118
- };
119
- license: {
120
- $comment: string;
121
- type: string;
122
- properties: {
123
- name: {
124
- type: string;
125
- };
126
- identifier: {
127
- type: string;
128
- };
129
- url: {
130
- type: string;
131
- format: string;
132
- };
133
- };
134
- required: string[];
135
- dependentSchemas: {
136
- identifier: {
137
- not: {
138
- required: string[];
139
- };
140
- };
141
- };
142
- $ref: string;
143
- unevaluatedProperties: boolean;
144
- };
145
- server: {
146
- $comment: string;
147
- type: string;
148
- properties: {
149
- url: {
150
- type: string;
151
- };
152
- description: {
153
- type: string;
154
- };
155
- name: {
156
- type: string;
157
- };
158
- variables: {
159
- type: string;
160
- additionalProperties: {
161
- $ref: string;
162
- };
163
- };
164
- };
165
- required: string[];
166
- $ref: string;
167
- unevaluatedProperties: boolean;
168
- };
169
- "server-variable": {
170
- $comment: string;
171
- type: string;
172
- properties: {
173
- enum: {
174
- type: string;
175
- items: {
176
- type: string;
177
- };
178
- minItems: number;
179
- };
180
- default: {
181
- type: string;
182
- };
183
- description: {
184
- type: string;
185
- };
186
- };
187
- required: string[];
188
- $ref: string;
189
- unevaluatedProperties: boolean;
190
- };
191
- components: {
192
- $comment: string;
193
- type: string;
194
- properties: {
195
- schemas: {
196
- type: string;
197
- additionalProperties: {
198
- $ref: string;
199
- };
200
- };
201
- responses: {
202
- type: string;
203
- additionalProperties: {
204
- $ref: string;
205
- };
206
- };
207
- parameters: {
208
- type: string;
209
- additionalProperties: {
210
- $ref: string;
211
- };
212
- };
213
- examples: {
214
- type: string;
215
- additionalProperties: {
216
- $ref: string;
217
- };
218
- };
219
- requestBodies: {
220
- type: string;
221
- additionalProperties: {
222
- $ref: string;
223
- };
224
- };
225
- headers: {
226
- type: string;
227
- additionalProperties: {
228
- $ref: string;
229
- };
230
- };
231
- securitySchemes: {
232
- type: string;
233
- additionalProperties: {
234
- $ref: string;
235
- };
236
- };
237
- links: {
238
- type: string;
239
- additionalProperties: {
240
- $ref: string;
241
- };
242
- };
243
- callbacks: {
244
- type: string;
245
- additionalProperties: {
246
- $ref: string;
247
- };
248
- };
249
- pathItems: {
250
- type: string;
251
- additionalProperties: {
252
- $ref: string;
253
- };
254
- };
255
- mediaTypes: {
256
- type: string;
257
- additionalProperties: {
258
- $ref: string;
259
- };
260
- };
261
- };
262
- patternProperties: {
263
- "^(?:schemas|responses|parameters|examples|requestBodies|headers|securitySchemes|links|callbacks|pathItems|mediaTypes)$": {
264
- $comment: string;
265
- propertyNames: {
266
- pattern: string;
267
- };
268
- };
269
- };
270
- $ref: string;
271
- unevaluatedProperties: boolean;
272
- };
273
- paths: {
274
- $comment: string;
275
- type: string;
276
- patternProperties: {
277
- "^/": {
278
- $ref: string;
279
- };
280
- };
281
- $ref: string;
282
- unevaluatedProperties: boolean;
283
- };
284
- "path-item": {
285
- $comment: string;
286
- type: string;
287
- properties: {
288
- summary: {
289
- type: string;
290
- };
291
- description: {
292
- type: string;
293
- };
294
- servers: {
295
- type: string;
296
- items: {
297
- $ref: string;
298
- };
299
- };
300
- parameters: {
301
- $ref: string;
302
- };
303
- additionalOperations: {
304
- type: string;
305
- additionalProperties: {
306
- $ref: string;
307
- };
308
- propertyNames: {
309
- $comment: string;
310
- pattern: string;
311
- not: {
312
- enum: string[];
313
- };
314
- };
315
- };
316
- get: {
317
- $ref: string;
318
- };
319
- put: {
320
- $ref: string;
321
- };
322
- post: {
323
- $ref: string;
324
- };
325
- delete: {
326
- $ref: string;
327
- };
328
- options: {
329
- $ref: string;
330
- };
331
- head: {
332
- $ref: string;
333
- };
334
- patch: {
335
- $ref: string;
336
- };
337
- trace: {
338
- $ref: string;
339
- };
340
- query: {
341
- $ref: string;
342
- };
343
- };
344
- $ref: string;
345
- unevaluatedProperties: boolean;
346
- };
347
- "path-item-or-reference": {
348
- if: {
349
- type: string;
350
- required: string[];
351
- };
352
- then: {
353
- $ref: string;
354
- };
355
- else: {
356
- $ref: string;
357
- };
358
- };
359
- operation: {
360
- $comment: string;
361
- type: string;
362
- properties: {
363
- tags: {
364
- type: string;
365
- items: {
366
- type: string;
367
- };
368
- };
369
- summary: {
370
- type: string;
371
- };
372
- description: {
373
- type: string;
374
- };
375
- externalDocs: {
376
- $ref: string;
377
- };
378
- operationId: {
379
- type: string;
380
- };
381
- parameters: {
382
- $ref: string;
383
- };
384
- requestBody: {
385
- $ref: string;
386
- };
387
- responses: {
388
- $ref: string;
389
- };
390
- callbacks: {
391
- type: string;
392
- additionalProperties: {
393
- $ref: string;
394
- };
395
- };
396
- deprecated: {
397
- default: boolean;
398
- type: string;
399
- };
400
- security: {
401
- type: string;
402
- items: {
403
- $ref: string;
404
- };
405
- };
406
- servers: {
407
- type: string;
408
- items: {
409
- $ref: string;
410
- };
411
- };
412
- };
413
- $ref: string;
414
- unevaluatedProperties: boolean;
415
- };
416
- "external-documentation": {
417
- $comment: string;
418
- type: string;
419
- properties: {
420
- description: {
421
- type: string;
422
- };
423
- url: {
424
- type: string;
425
- format: string;
426
- };
427
- };
428
- required: string[];
429
- $ref: string;
430
- unevaluatedProperties: boolean;
431
- };
432
- parameters: {
433
- type: string;
434
- items: {
435
- $ref: string;
436
- };
437
- not: {
438
- allOf: {
439
- contains: {
440
- type: string;
441
- properties: {
442
- in: {
443
- const: string;
444
- };
445
- };
446
- required: string[];
447
- };
448
- }[];
449
- };
450
- contains: {
451
- type: string;
452
- properties: {
453
- in: {
454
- const: string;
455
- };
456
- };
457
- required: string[];
458
- };
459
- minContains: number;
460
- maxContains: number;
461
- };
462
- parameter: {
463
- $comment: string;
464
- type: string;
465
- properties: {
466
- name: {
467
- type: string;
468
- };
469
- in: {
470
- enum: string[];
471
- };
472
- description: {
473
- type: string;
474
- };
475
- required: {
476
- default: boolean;
477
- type: string;
478
- };
479
- deprecated: {
480
- default: boolean;
481
- type: string;
482
- };
483
- schema: {
484
- $ref: string;
485
- };
486
- content: {
487
- $ref: string;
488
- minProperties: number;
489
- maxProperties: number;
490
- };
491
- };
492
- required: string[];
493
- oneOf: {
494
- required: string[];
495
- }[];
496
- allOf: ({
497
- $ref: string;
498
- if?: undefined;
499
- then?: undefined;
500
- } | {
501
- if: {
502
- properties: {
503
- in: {
504
- const: string;
505
- };
506
- };
507
- };
508
- then: {
509
- properties: {
510
- allowEmptyValue: {
511
- default: boolean;
512
- type: string;
513
- };
514
- };
515
- required?: undefined;
516
- };
517
- $ref?: undefined;
518
- } | {
519
- if: {
520
- properties: {
521
- in: {
522
- const: string;
523
- };
524
- };
525
- };
526
- then: {
527
- required: string[];
528
- properties?: undefined;
529
- };
530
- $ref?: undefined;
531
- })[];
532
- dependentSchemas: {
533
- schema: {
534
- properties: {
535
- style: {
536
- type: string;
537
- };
538
- explode: {
539
- type: string;
540
- };
541
- allowReserved: {
542
- default: boolean;
543
- type: string;
544
- };
545
- };
546
- allOf: {
547
- $ref: string;
548
- }[];
549
- $defs: {
550
- "styles-for-path": {
551
- if: {
552
- properties: {
553
- in: {
554
- const: string;
555
- };
556
- };
557
- };
558
- then: {
559
- properties: {
560
- style: {
561
- default: string;
562
- enum: string[];
563
- };
564
- required: {
565
- const: boolean;
566
- };
567
- };
568
- required: string[];
569
- };
570
- };
571
- "styles-for-header": {
572
- if: {
573
- properties: {
574
- in: {
575
- const: string;
576
- };
577
- };
578
- };
579
- then: {
580
- properties: {
581
- style: {
582
- default: string;
583
- const: string;
584
- };
585
- };
586
- };
587
- };
588
- "styles-for-query": {
589
- if: {
590
- properties: {
591
- in: {
592
- const: string;
593
- };
594
- };
595
- };
596
- then: {
597
- properties: {
598
- style: {
599
- default: string;
600
- enum: string[];
601
- };
602
- };
603
- };
604
- };
605
- "styles-for-cookie": {
606
- if: {
607
- properties: {
608
- in: {
609
- const: string;
610
- };
611
- };
612
- };
613
- then: {
614
- properties: {
615
- style: {
616
- default: string;
617
- enum: string[];
618
- };
619
- };
620
- };
621
- };
622
- };
623
- };
624
- };
625
- unevaluatedProperties: boolean;
626
- };
627
- "parameter-or-reference": {
628
- if: {
629
- type: string;
630
- required: string[];
631
- };
632
- then: {
633
- $ref: string;
634
- };
635
- else: {
636
- $ref: string;
637
- };
638
- };
639
- "request-body": {
640
- $comment: string;
641
- type: string;
642
- properties: {
643
- description: {
644
- type: string;
645
- };
646
- content: {
647
- $ref: string;
648
- };
649
- required: {
650
- default: boolean;
651
- type: string;
652
- };
653
- };
654
- required: string[];
655
- $ref: string;
656
- unevaluatedProperties: boolean;
657
- };
658
- "request-body-or-reference": {
659
- if: {
660
- type: string;
661
- required: string[];
662
- };
663
- then: {
664
- $ref: string;
665
- };
666
- else: {
667
- $ref: string;
668
- };
669
- };
670
- content: {
671
- $comment: string;
672
- type: string;
673
- additionalProperties: {
674
- $ref: string;
675
- };
676
- propertyNames: {
677
- format: string;
678
- };
679
- };
680
- "media-type": {
681
- $comment: string;
682
- type: string;
683
- properties: {
684
- description: {
685
- type: string;
686
- };
687
- schema: {
688
- $ref: string;
689
- };
690
- itemSchema: {
691
- $ref: string;
692
- };
693
- encoding: {
694
- type: string;
695
- additionalProperties: {
696
- $ref: string;
697
- };
698
- };
699
- prefixEncoding: {
700
- type: string;
701
- items: {
702
- $ref: string;
703
- };
704
- };
705
- itemEncoding: {
706
- $ref: string;
707
- };
708
- };
709
- dependentSchemas: {
710
- encoding: {
711
- properties: {
712
- prefixEncoding: boolean;
713
- itemEncoding: boolean;
714
- };
715
- };
716
- };
717
- allOf: {
718
- $ref: string;
719
- }[];
720
- unevaluatedProperties: boolean;
721
- };
722
- "media-type-or-reference": {
723
- if: {
724
- type: string;
725
- required: string[];
726
- };
727
- then: {
728
- $ref: string;
729
- };
730
- else: {
731
- $ref: string;
732
- };
733
- };
734
- encoding: {
735
- $comment: string;
736
- type: string;
737
- properties: {
738
- contentType: {
739
- type: string;
740
- format: string;
741
- };
742
- headers: {
743
- type: string;
744
- additionalProperties: {
745
- $ref: string;
746
- };
747
- };
748
- style: {
749
- enum: string[];
750
- };
751
- explode: {
752
- type: string;
753
- };
754
- allowReserved: {
755
- type: string;
756
- };
757
- encoding: {
758
- type: string;
759
- additionalProperties: {
760
- $ref: string;
761
- };
762
- };
763
- prefixEncoding: {
764
- type: string;
765
- items: {
766
- $ref: string;
767
- };
768
- };
769
- itemEncoding: {
770
- $ref: string;
771
- };
772
- };
773
- dependentSchemas: {
774
- encoding: {
775
- properties: {
776
- prefixEncoding: boolean;
777
- itemEncoding: boolean;
778
- };
779
- };
780
- style: {
781
- properties: {
782
- allowReserved: {
783
- default: boolean;
784
- };
785
- };
786
- };
787
- explode: {
788
- properties: {
789
- style: {
790
- default: string;
791
- };
792
- allowReserved: {
793
- default: boolean;
794
- };
795
- };
796
- };
797
- allowReserved: {
798
- properties: {
799
- style: {
800
- default: string;
801
- };
802
- };
803
- };
804
- };
805
- allOf: {
806
- $ref: string;
807
- }[];
808
- unevaluatedProperties: boolean;
809
- };
810
- responses: {
811
- $comment: string;
812
- type: string;
813
- properties: {
814
- default: {
815
- $ref: string;
816
- };
817
- };
818
- patternProperties: {
819
- "^[1-5](?:[0-9]{2}|XX)$": {
820
- $ref: string;
821
- };
822
- };
823
- minProperties: number;
824
- $ref: string;
825
- unevaluatedProperties: boolean;
826
- if: {
827
- $comment: string;
828
- patternProperties: {
829
- "^[1-5](?:[0-9]{2}|XX)$": boolean;
830
- };
831
- };
832
- then: {
833
- required: string[];
834
- };
835
- };
836
- response: {
837
- $comment: string;
838
- type: string;
839
- properties: {
840
- summary: {
841
- type: string;
842
- };
843
- description: {
844
- type: string;
845
- };
846
- headers: {
847
- type: string;
848
- additionalProperties: {
849
- $ref: string;
850
- };
851
- };
852
- content: {
853
- $ref: string;
854
- };
855
- links: {
856
- type: string;
857
- additionalProperties: {
858
- $ref: string;
859
- };
860
- };
861
- };
862
- $ref: string;
863
- unevaluatedProperties: boolean;
864
- };
865
- "response-or-reference": {
866
- if: {
867
- type: string;
868
- required: string[];
869
- };
870
- then: {
871
- $ref: string;
872
- };
873
- else: {
874
- $ref: string;
875
- };
876
- };
877
- callbacks: {
878
- $comment: string;
879
- type: string;
880
- $ref: string;
881
- additionalProperties: {
882
- $ref: string;
883
- };
884
- };
885
- "callbacks-or-reference": {
886
- if: {
887
- type: string;
888
- required: string[];
889
- };
890
- then: {
891
- $ref: string;
892
- };
893
- else: {
894
- $ref: string;
895
- };
896
- };
897
- example: {
898
- $comment: string;
899
- type: string;
900
- properties: {
901
- summary: {
902
- type: string;
903
- };
904
- description: {
905
- type: string;
906
- };
907
- dataValue: boolean;
908
- serializedValue: {
909
- type: string;
910
- };
911
- value: boolean;
912
- externalValue: {
913
- type: string;
914
- format: string;
915
- };
916
- };
917
- allOf: {
918
- not: {
919
- required: string[];
920
- };
921
- }[];
922
- $ref: string;
923
- unevaluatedProperties: boolean;
924
- };
925
- "example-or-reference": {
926
- if: {
927
- type: string;
928
- required: string[];
929
- };
930
- then: {
931
- $ref: string;
932
- };
933
- else: {
934
- $ref: string;
935
- };
936
- };
937
- link: {
938
- $comment: string;
939
- type: string;
940
- properties: {
941
- operationRef: {
942
- type: string;
943
- format: string;
944
- };
945
- operationId: {
946
- type: string;
947
- };
948
- parameters: {
949
- $ref: string;
950
- };
951
- requestBody: boolean;
952
- description: {
953
- type: string;
954
- };
955
- server: {
956
- $ref: string;
957
- };
958
- };
959
- oneOf: {
960
- required: string[];
961
- }[];
962
- $ref: string;
963
- unevaluatedProperties: boolean;
964
- };
965
- "link-or-reference": {
966
- if: {
967
- type: string;
968
- required: string[];
969
- };
970
- then: {
971
- $ref: string;
972
- };
973
- else: {
974
- $ref: string;
975
- };
976
- };
977
- header: {
978
- $comment: string;
979
- type: string;
980
- properties: {
981
- description: {
982
- type: string;
983
- };
984
- required: {
985
- default: boolean;
986
- type: string;
987
- };
988
- deprecated: {
989
- default: boolean;
990
- type: string;
991
- };
992
- schema: {
993
- $ref: string;
994
- };
995
- content: {
996
- $ref: string;
997
- minProperties: number;
998
- maxProperties: number;
999
- };
1000
- };
1001
- oneOf: {
1002
- required: string[];
1003
- }[];
1004
- dependentSchemas: {
1005
- schema: {
1006
- properties: {
1007
- style: {
1008
- default: string;
1009
- const: string;
1010
- };
1011
- explode: {
1012
- default: boolean;
1013
- type: string;
1014
- };
1015
- allowReserved: {
1016
- default: boolean;
1017
- type: string;
1018
- };
1019
- };
1020
- };
1021
- };
1022
- allOf: {
1023
- $ref: string;
1024
- }[];
1025
- unevaluatedProperties: boolean;
1026
- };
1027
- "header-or-reference": {
1028
- if: {
1029
- type: string;
1030
- required: string[];
1031
- };
1032
- then: {
1033
- $ref: string;
1034
- };
1035
- else: {
1036
- $ref: string;
1037
- };
1038
- };
1039
- tag: {
1040
- $comment: string;
1041
- type: string;
1042
- properties: {
1043
- name: {
1044
- type: string;
1045
- };
1046
- summary: {
1047
- type: string;
1048
- };
1049
- description: {
1050
- type: string;
1051
- };
1052
- externalDocs: {
1053
- $ref: string;
1054
- };
1055
- parent: {
1056
- type: string;
1057
- };
1058
- kind: {
1059
- type: string;
1060
- };
1061
- };
1062
- required: string[];
1063
- $ref: string;
1064
- unevaluatedProperties: boolean;
1065
- };
1066
- reference: {
1067
- $comment: string;
1068
- type: string;
1069
- properties: {
1070
- $ref: {
1071
- type: string;
1072
- format: string;
1073
- };
1074
- summary: {
1075
- type: string;
1076
- };
1077
- description: {
1078
- type: string;
1079
- };
1080
- };
1081
- };
1082
- schema: {
1083
- $comment: string;
1084
- $dynamicAnchor: string;
1085
- type: string[];
1086
- };
1087
- "security-scheme": {
1088
- $comment: string;
1089
- type: string;
1090
- properties: {
1091
- type: {
1092
- enum: string[];
1093
- };
1094
- description: {
1095
- type: string;
1096
- };
1097
- deprecated: {
1098
- default: boolean;
1099
- type: string;
1100
- };
1101
- };
1102
- required: string[];
1103
- allOf: {
1104
- $ref: string;
1105
- }[];
1106
- unevaluatedProperties: boolean;
1107
- $defs: {
1108
- "type-apikey": {
1109
- if: {
1110
- properties: {
1111
- type: {
1112
- const: string;
1113
- };
1114
- };
1115
- };
1116
- then: {
1117
- properties: {
1118
- name: {
1119
- type: string;
1120
- };
1121
- in: {
1122
- enum: string[];
1123
- };
1124
- };
1125
- required: string[];
1126
- };
1127
- };
1128
- "type-http": {
1129
- if: {
1130
- properties: {
1131
- type: {
1132
- const: string;
1133
- };
1134
- };
1135
- };
1136
- then: {
1137
- properties: {
1138
- scheme: {
1139
- type: string;
1140
- };
1141
- };
1142
- required: string[];
1143
- };
1144
- };
1145
- "type-http-bearer": {
1146
- if: {
1147
- properties: {
1148
- type: {
1149
- const: string;
1150
- };
1151
- scheme: {
1152
- type: string;
1153
- pattern: string;
1154
- };
1155
- };
1156
- required: string[];
1157
- };
1158
- then: {
1159
- properties: {
1160
- bearerFormat: {
1161
- type: string;
1162
- };
1163
- };
1164
- };
1165
- };
1166
- "type-oauth2": {
1167
- if: {
1168
- properties: {
1169
- type: {
1170
- const: string;
1171
- };
1172
- };
1173
- };
1174
- then: {
1175
- properties: {
1176
- flows: {
1177
- $ref: string;
1178
- };
1179
- oauth2MetadataUrl: {
1180
- type: string;
1181
- format: string;
1182
- };
1183
- };
1184
- required: string[];
1185
- };
1186
- };
1187
- "type-oidc": {
1188
- if: {
1189
- properties: {
1190
- type: {
1191
- const: string;
1192
- };
1193
- };
1194
- };
1195
- then: {
1196
- properties: {
1197
- openIdConnectUrl: {
1198
- type: string;
1199
- format: string;
1200
- };
1201
- };
1202
- required: string[];
1203
- };
1204
- };
1205
- };
1206
- };
1207
- "security-scheme-or-reference": {
1208
- if: {
1209
- type: string;
1210
- required: string[];
1211
- };
1212
- then: {
1213
- $ref: string;
1214
- };
1215
- else: {
1216
- $ref: string;
1217
- };
1218
- };
1219
- "oauth-flows": {
1220
- type: string;
1221
- properties: {
1222
- implicit: {
1223
- $ref: string;
1224
- };
1225
- password: {
1226
- $ref: string;
1227
- };
1228
- clientCredentials: {
1229
- $ref: string;
1230
- };
1231
- authorizationCode: {
1232
- $ref: string;
1233
- };
1234
- deviceAuthorization: {
1235
- $ref: string;
1236
- };
1237
- };
1238
- $ref: string;
1239
- unevaluatedProperties: boolean;
1240
- $defs: {
1241
- implicit: {
1242
- type: string;
1243
- properties: {
1244
- authorizationUrl: {
1245
- type: string;
1246
- format: string;
1247
- };
1248
- refreshUrl: {
1249
- type: string;
1250
- format: string;
1251
- };
1252
- scopes: {
1253
- $ref: string;
1254
- };
1255
- };
1256
- required: string[];
1257
- $ref: string;
1258
- unevaluatedProperties: boolean;
1259
- };
1260
- password: {
1261
- type: string;
1262
- properties: {
1263
- tokenUrl: {
1264
- type: string;
1265
- format: string;
1266
- };
1267
- refreshUrl: {
1268
- type: string;
1269
- format: string;
1270
- };
1271
- scopes: {
1272
- $ref: string;
1273
- };
1274
- };
1275
- required: string[];
1276
- $ref: string;
1277
- unevaluatedProperties: boolean;
1278
- };
1279
- "client-credentials": {
1280
- type: string;
1281
- properties: {
1282
- tokenUrl: {
1283
- type: string;
1284
- format: string;
1285
- };
1286
- refreshUrl: {
1287
- type: string;
1288
- format: string;
1289
- };
1290
- scopes: {
1291
- $ref: string;
1292
- };
1293
- };
1294
- required: string[];
1295
- $ref: string;
1296
- unevaluatedProperties: boolean;
1297
- };
1298
- "authorization-code": {
1299
- type: string;
1300
- properties: {
1301
- authorizationUrl: {
1302
- type: string;
1303
- format: string;
1304
- };
1305
- tokenUrl: {
1306
- type: string;
1307
- format: string;
1308
- };
1309
- refreshUrl: {
1310
- type: string;
1311
- format: string;
1312
- };
1313
- scopes: {
1314
- $ref: string;
1315
- };
1316
- };
1317
- required: string[];
1318
- $ref: string;
1319
- unevaluatedProperties: boolean;
1320
- };
1321
- "device-authorization": {
1322
- type: string;
1323
- properties: {
1324
- deviceAuthorizationUrl: {
1325
- type: string;
1326
- format: string;
1327
- };
1328
- tokenUrl: {
1329
- type: string;
1330
- format: string;
1331
- };
1332
- refreshUrl: {
1333
- type: string;
1334
- format: string;
1335
- };
1336
- scopes: {
1337
- $ref: string;
1338
- };
1339
- };
1340
- required: string[];
1341
- $ref: string;
1342
- unevaluatedProperties: boolean;
1343
- };
1344
- };
1345
- };
1346
- "security-requirement": {
1347
- $comment: string;
1348
- type: string;
1349
- additionalProperties: {
1350
- type: string;
1351
- items: {
1352
- type: string;
1353
- };
1354
- };
1355
- };
1356
- "specification-extensions": {
1357
- $comment: string;
1358
- patternProperties: {
1359
- "^x-": boolean;
1360
- };
1361
- };
1362
- examples: {
1363
- properties: {
1364
- example: boolean;
1365
- examples: {
1366
- type: string;
1367
- additionalProperties: {
1368
- $ref: string;
1369
- };
1370
- };
1371
- };
1372
- not: {
1373
- required: string[];
1374
- };
1375
- };
1376
- "map-of-strings": {
1377
- type: string;
1378
- additionalProperties: {
1379
- type: string;
1380
- };
1381
- };
1382
- "styles-for-form": {
1383
- if: {
1384
- properties: {
1385
- style: {
1386
- const: string;
1387
- };
1388
- };
1389
- required: string[];
1390
- };
1391
- then: {
1392
- properties: {
1393
- explode: {
1394
- default: boolean;
1395
- };
1396
- };
1397
- };
1398
- else: {
1399
- properties: {
1400
- explode: {
1401
- default: boolean;
1402
- };
1403
- };
1404
- };
1405
- };
1406
- };
1407
- };
1408
- export default _default;
1409
- //# sourceMappingURL=schema.d.ts.map