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