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