@scalar/openapi-parser 0.28.16 → 0.29.1

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