@scalar/openapi-parser 0.22.2 → 0.23.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 (34) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/README.md +49 -17
  3. package/dist/configuration/index.d.ts +1399 -0
  4. package/dist/configuration/index.d.ts.map +1 -1
  5. package/dist/configuration/index.js +3 -1
  6. package/dist/configuration/index.js.map +2 -2
  7. package/dist/index.d.ts +2 -1
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js.map +2 -2
  10. package/dist/lib/Validator/Validator.d.ts +6 -16
  11. package/dist/lib/Validator/Validator.d.ts.map +1 -1
  12. package/dist/lib/Validator/Validator.js +8 -9
  13. package/dist/lib/Validator/Validator.js.map +2 -2
  14. package/dist/plugins/read-files/read-files.js +1 -1
  15. package/dist/plugins/read-files/read-files.js.map +2 -2
  16. package/dist/schemas/v3.2/schema.d.ts +1401 -0
  17. package/dist/schemas/v3.2/schema.d.ts.map +1 -0
  18. package/dist/schemas/v3.2/schema.js +1505 -0
  19. package/dist/schemas/v3.2/schema.js.map +7 -0
  20. package/dist/utils/dereference.d.ts +7 -2
  21. package/dist/utils/dereference.d.ts.map +1 -1
  22. package/dist/utils/dereference.js +1 -1
  23. package/dist/utils/dereference.js.map +2 -2
  24. package/dist/utils/normalize.js +1 -1
  25. package/dist/utils/normalize.js.map +2 -2
  26. package/dist/utils/openapi/utils/workThroughQueue.d.ts.map +1 -1
  27. package/dist/utils/openapi/utils/workThroughQueue.js +2 -3
  28. package/dist/utils/openapi/utils/workThroughQueue.js.map +2 -2
  29. package/dist/utils/resolve-references.d.ts.map +1 -1
  30. package/dist/utils/resolve-references.js.map +2 -2
  31. package/dist/utils/validate.d.ts.map +1 -1
  32. package/dist/utils/validate.js +13 -9
  33. package/dist/utils/validate.js.map +2 -2
  34. package/package.json +7 -7
@@ -3890,6 +3890,1405 @@ export declare const OpenApiSpecifications: {
3890
3890
  };
3891
3891
  };
3892
3892
  };
3893
+ '3.2': {
3894
+ $id: string;
3895
+ $schema: string;
3896
+ description: string;
3897
+ type: string;
3898
+ properties: {
3899
+ openapi: {
3900
+ type: string;
3901
+ pattern: string;
3902
+ };
3903
+ $self: {
3904
+ type: string;
3905
+ format: string;
3906
+ $comment: string;
3907
+ pattern: string;
3908
+ };
3909
+ info: {
3910
+ $ref: string;
3911
+ };
3912
+ jsonSchemaDialect: {
3913
+ type: string;
3914
+ format: string;
3915
+ default: string;
3916
+ };
3917
+ servers: {
3918
+ type: string;
3919
+ items: {
3920
+ $ref: string;
3921
+ };
3922
+ default: {
3923
+ url: string;
3924
+ }[];
3925
+ };
3926
+ paths: {
3927
+ $ref: string;
3928
+ };
3929
+ webhooks: {
3930
+ type: string;
3931
+ additionalProperties: {
3932
+ $ref: string;
3933
+ };
3934
+ };
3935
+ components: {
3936
+ $ref: string;
3937
+ };
3938
+ security: {
3939
+ type: string;
3940
+ items: {
3941
+ $ref: string;
3942
+ };
3943
+ };
3944
+ tags: {
3945
+ type: string;
3946
+ items: {
3947
+ $ref: string;
3948
+ };
3949
+ };
3950
+ externalDocs: {
3951
+ $ref: string;
3952
+ };
3953
+ };
3954
+ required: string[];
3955
+ anyOf: {
3956
+ required: string[];
3957
+ }[];
3958
+ $ref: string;
3959
+ unevaluatedProperties: boolean;
3960
+ $defs: {
3961
+ info: {
3962
+ $comment: string;
3963
+ type: string;
3964
+ properties: {
3965
+ title: {
3966
+ type: string;
3967
+ };
3968
+ summary: {
3969
+ type: string;
3970
+ };
3971
+ description: {
3972
+ type: string;
3973
+ };
3974
+ termsOfService: {
3975
+ type: string;
3976
+ format: string;
3977
+ };
3978
+ contact: {
3979
+ $ref: string;
3980
+ };
3981
+ license: {
3982
+ $ref: string;
3983
+ };
3984
+ version: {
3985
+ type: string;
3986
+ };
3987
+ };
3988
+ required: string[];
3989
+ $ref: string;
3990
+ unevaluatedProperties: boolean;
3991
+ };
3992
+ contact: {
3993
+ $comment: string;
3994
+ type: string;
3995
+ properties: {
3996
+ name: {
3997
+ type: string;
3998
+ };
3999
+ url: {
4000
+ type: string;
4001
+ format: string;
4002
+ };
4003
+ email: {
4004
+ type: string;
4005
+ format: string;
4006
+ };
4007
+ };
4008
+ $ref: string;
4009
+ unevaluatedProperties: boolean;
4010
+ };
4011
+ license: {
4012
+ $comment: string;
4013
+ type: string;
4014
+ properties: {
4015
+ name: {
4016
+ type: string;
4017
+ };
4018
+ identifier: {
4019
+ type: string;
4020
+ };
4021
+ url: {
4022
+ type: string;
4023
+ format: string;
4024
+ };
4025
+ };
4026
+ required: string[];
4027
+ dependentSchemas: {
4028
+ identifier: {
4029
+ not: {
4030
+ required: string[];
4031
+ };
4032
+ };
4033
+ };
4034
+ $ref: string;
4035
+ unevaluatedProperties: boolean;
4036
+ };
4037
+ server: {
4038
+ $comment: string;
4039
+ type: string;
4040
+ properties: {
4041
+ url: {
4042
+ type: string;
4043
+ };
4044
+ description: {
4045
+ type: string;
4046
+ };
4047
+ name: {
4048
+ type: string;
4049
+ };
4050
+ variables: {
4051
+ type: string;
4052
+ additionalProperties: {
4053
+ $ref: string;
4054
+ };
4055
+ };
4056
+ };
4057
+ required: string[];
4058
+ $ref: string;
4059
+ unevaluatedProperties: boolean;
4060
+ };
4061
+ "server-variable": {
4062
+ $comment: string;
4063
+ type: string;
4064
+ properties: {
4065
+ enum: {
4066
+ type: string;
4067
+ items: {
4068
+ type: string;
4069
+ };
4070
+ minItems: number;
4071
+ };
4072
+ default: {
4073
+ type: string;
4074
+ };
4075
+ description: {
4076
+ type: string;
4077
+ };
4078
+ };
4079
+ required: string[];
4080
+ $ref: string;
4081
+ unevaluatedProperties: boolean;
4082
+ };
4083
+ components: {
4084
+ $comment: string;
4085
+ type: string;
4086
+ properties: {
4087
+ schemas: {
4088
+ type: string;
4089
+ additionalProperties: {
4090
+ $dynamicRef: string;
4091
+ };
4092
+ };
4093
+ responses: {
4094
+ type: string;
4095
+ additionalProperties: {
4096
+ $ref: string;
4097
+ };
4098
+ };
4099
+ parameters: {
4100
+ type: string;
4101
+ additionalProperties: {
4102
+ $ref: string;
4103
+ };
4104
+ };
4105
+ examples: {
4106
+ type: string;
4107
+ additionalProperties: {
4108
+ $ref: string;
4109
+ };
4110
+ };
4111
+ requestBodies: {
4112
+ type: string;
4113
+ additionalProperties: {
4114
+ $ref: string;
4115
+ };
4116
+ };
4117
+ headers: {
4118
+ type: string;
4119
+ additionalProperties: {
4120
+ $ref: string;
4121
+ };
4122
+ };
4123
+ securitySchemes: {
4124
+ type: string;
4125
+ additionalProperties: {
4126
+ $ref: string;
4127
+ };
4128
+ };
4129
+ links: {
4130
+ type: string;
4131
+ additionalProperties: {
4132
+ $ref: string;
4133
+ };
4134
+ };
4135
+ callbacks: {
4136
+ type: string;
4137
+ additionalProperties: {
4138
+ $ref: string;
4139
+ };
4140
+ };
4141
+ pathItems: {
4142
+ type: string;
4143
+ additionalProperties: {
4144
+ $ref: string;
4145
+ };
4146
+ };
4147
+ mediaTypes: {
4148
+ type: string;
4149
+ additionalProperties: {
4150
+ $ref: string;
4151
+ };
4152
+ };
4153
+ };
4154
+ patternProperties: {
4155
+ "^(?:schemas|responses|parameters|examples|requestBodies|headers|securitySchemes|links|callbacks|pathItems|mediaTypes)$": {
4156
+ $comment: string;
4157
+ propertyNames: {
4158
+ pattern: string;
4159
+ };
4160
+ };
4161
+ };
4162
+ $ref: string;
4163
+ unevaluatedProperties: boolean;
4164
+ };
4165
+ paths: {
4166
+ $comment: string;
4167
+ type: string;
4168
+ patternProperties: {
4169
+ "^/": {
4170
+ $ref: string;
4171
+ };
4172
+ };
4173
+ $ref: string;
4174
+ unevaluatedProperties: boolean;
4175
+ };
4176
+ "path-item": {
4177
+ $comment: string;
4178
+ type: string;
4179
+ properties: {
4180
+ $ref: {
4181
+ type: string;
4182
+ format: string;
4183
+ };
4184
+ summary: {
4185
+ type: string;
4186
+ };
4187
+ description: {
4188
+ type: string;
4189
+ };
4190
+ servers: {
4191
+ type: string;
4192
+ items: {
4193
+ $ref: string;
4194
+ };
4195
+ };
4196
+ parameters: {
4197
+ $ref: string;
4198
+ };
4199
+ additionalOperations: {
4200
+ type: string;
4201
+ additionalProperties: {
4202
+ $ref: string;
4203
+ };
4204
+ propertyNames: {
4205
+ $comment: string;
4206
+ pattern: string;
4207
+ not: {
4208
+ enum: string[];
4209
+ };
4210
+ };
4211
+ };
4212
+ get: {
4213
+ $ref: string;
4214
+ };
4215
+ put: {
4216
+ $ref: string;
4217
+ };
4218
+ post: {
4219
+ $ref: string;
4220
+ };
4221
+ delete: {
4222
+ $ref: string;
4223
+ };
4224
+ options: {
4225
+ $ref: string;
4226
+ };
4227
+ head: {
4228
+ $ref: string;
4229
+ };
4230
+ patch: {
4231
+ $ref: string;
4232
+ };
4233
+ trace: {
4234
+ $ref: string;
4235
+ };
4236
+ query: {
4237
+ $ref: string;
4238
+ };
4239
+ };
4240
+ $ref: string;
4241
+ unevaluatedProperties: boolean;
4242
+ };
4243
+ operation: {
4244
+ $comment: string;
4245
+ type: string;
4246
+ properties: {
4247
+ tags: {
4248
+ type: string;
4249
+ items: {
4250
+ type: string;
4251
+ };
4252
+ };
4253
+ summary: {
4254
+ type: string;
4255
+ };
4256
+ description: {
4257
+ type: string;
4258
+ };
4259
+ externalDocs: {
4260
+ $ref: string;
4261
+ };
4262
+ operationId: {
4263
+ type: string;
4264
+ };
4265
+ parameters: {
4266
+ $ref: string;
4267
+ };
4268
+ requestBody: {
4269
+ $ref: string;
4270
+ };
4271
+ responses: {
4272
+ $ref: string;
4273
+ };
4274
+ callbacks: {
4275
+ type: string;
4276
+ additionalProperties: {
4277
+ $ref: string;
4278
+ };
4279
+ };
4280
+ deprecated: {
4281
+ default: boolean;
4282
+ type: string;
4283
+ };
4284
+ security: {
4285
+ type: string;
4286
+ items: {
4287
+ $ref: string;
4288
+ };
4289
+ };
4290
+ servers: {
4291
+ type: string;
4292
+ items: {
4293
+ $ref: string;
4294
+ };
4295
+ };
4296
+ };
4297
+ $ref: string;
4298
+ unevaluatedProperties: boolean;
4299
+ };
4300
+ "external-documentation": {
4301
+ $comment: string;
4302
+ type: string;
4303
+ properties: {
4304
+ description: {
4305
+ type: string;
4306
+ };
4307
+ url: {
4308
+ type: string;
4309
+ format: string;
4310
+ };
4311
+ };
4312
+ required: string[];
4313
+ $ref: string;
4314
+ unevaluatedProperties: boolean;
4315
+ };
4316
+ parameters: {
4317
+ type: string;
4318
+ items: {
4319
+ $ref: string;
4320
+ };
4321
+ not: {
4322
+ allOf: {
4323
+ contains: {
4324
+ type: string;
4325
+ properties: {
4326
+ in: {
4327
+ const: string;
4328
+ };
4329
+ };
4330
+ required: string[];
4331
+ };
4332
+ }[];
4333
+ };
4334
+ contains: {
4335
+ type: string;
4336
+ properties: {
4337
+ in: {
4338
+ const: string;
4339
+ };
4340
+ };
4341
+ required: string[];
4342
+ };
4343
+ minContains: number;
4344
+ maxContains: number;
4345
+ };
4346
+ parameter: {
4347
+ $comment: string;
4348
+ type: string;
4349
+ properties: {
4350
+ name: {
4351
+ type: string;
4352
+ };
4353
+ in: {
4354
+ enum: string[];
4355
+ };
4356
+ description: {
4357
+ type: string;
4358
+ };
4359
+ required: {
4360
+ default: boolean;
4361
+ type: string;
4362
+ };
4363
+ deprecated: {
4364
+ default: boolean;
4365
+ type: string;
4366
+ };
4367
+ schema: {
4368
+ $dynamicRef: string;
4369
+ };
4370
+ content: {
4371
+ $ref: string;
4372
+ minProperties: number;
4373
+ maxProperties: number;
4374
+ };
4375
+ };
4376
+ required: string[];
4377
+ oneOf: {
4378
+ required: string[];
4379
+ }[];
4380
+ allOf: ({
4381
+ $ref: string;
4382
+ if?: undefined;
4383
+ then?: undefined;
4384
+ } | {
4385
+ if: {
4386
+ properties: {
4387
+ in: {
4388
+ const: string;
4389
+ };
4390
+ };
4391
+ };
4392
+ then: {
4393
+ properties: {
4394
+ allowEmptyValue: {
4395
+ default: boolean;
4396
+ type: string;
4397
+ };
4398
+ };
4399
+ required?: undefined;
4400
+ };
4401
+ $ref?: undefined;
4402
+ } | {
4403
+ if: {
4404
+ properties: {
4405
+ in: {
4406
+ const: string;
4407
+ };
4408
+ };
4409
+ };
4410
+ then: {
4411
+ required: string[];
4412
+ properties?: undefined;
4413
+ };
4414
+ $ref?: undefined;
4415
+ })[];
4416
+ dependentSchemas: {
4417
+ schema: {
4418
+ properties: {
4419
+ style: {
4420
+ type: string;
4421
+ };
4422
+ explode: {
4423
+ type: string;
4424
+ };
4425
+ allowReserved: {
4426
+ default: boolean;
4427
+ type: string;
4428
+ };
4429
+ };
4430
+ allOf: {
4431
+ $ref: string;
4432
+ }[];
4433
+ $defs: {
4434
+ "styles-for-path": {
4435
+ if: {
4436
+ properties: {
4437
+ in: {
4438
+ const: string;
4439
+ };
4440
+ };
4441
+ };
4442
+ then: {
4443
+ properties: {
4444
+ style: {
4445
+ default: string;
4446
+ enum: string[];
4447
+ };
4448
+ required: {
4449
+ const: boolean;
4450
+ };
4451
+ };
4452
+ required: string[];
4453
+ };
4454
+ };
4455
+ "styles-for-header": {
4456
+ if: {
4457
+ properties: {
4458
+ in: {
4459
+ const: string;
4460
+ };
4461
+ };
4462
+ };
4463
+ then: {
4464
+ properties: {
4465
+ style: {
4466
+ default: string;
4467
+ const: string;
4468
+ };
4469
+ };
4470
+ };
4471
+ };
4472
+ "styles-for-query": {
4473
+ if: {
4474
+ properties: {
4475
+ in: {
4476
+ const: string;
4477
+ };
4478
+ };
4479
+ };
4480
+ then: {
4481
+ properties: {
4482
+ style: {
4483
+ default: string;
4484
+ enum: string[];
4485
+ };
4486
+ };
4487
+ };
4488
+ };
4489
+ "styles-for-cookie": {
4490
+ if: {
4491
+ properties: {
4492
+ in: {
4493
+ const: string;
4494
+ };
4495
+ };
4496
+ };
4497
+ then: {
4498
+ properties: {
4499
+ style: {
4500
+ default: string;
4501
+ enum: string[];
4502
+ };
4503
+ };
4504
+ };
4505
+ };
4506
+ };
4507
+ };
4508
+ };
4509
+ unevaluatedProperties: boolean;
4510
+ };
4511
+ "parameter-or-reference": {
4512
+ if: {
4513
+ type: string;
4514
+ required: string[];
4515
+ };
4516
+ then: {
4517
+ $ref: string;
4518
+ };
4519
+ else: {
4520
+ $ref: string;
4521
+ };
4522
+ };
4523
+ "request-body": {
4524
+ $comment: string;
4525
+ type: string;
4526
+ properties: {
4527
+ description: {
4528
+ type: string;
4529
+ };
4530
+ content: {
4531
+ $ref: string;
4532
+ };
4533
+ required: {
4534
+ default: boolean;
4535
+ type: string;
4536
+ };
4537
+ };
4538
+ required: string[];
4539
+ $ref: string;
4540
+ unevaluatedProperties: boolean;
4541
+ };
4542
+ "request-body-or-reference": {
4543
+ if: {
4544
+ type: string;
4545
+ required: string[];
4546
+ };
4547
+ then: {
4548
+ $ref: string;
4549
+ };
4550
+ else: {
4551
+ $ref: string;
4552
+ };
4553
+ };
4554
+ content: {
4555
+ $comment: string;
4556
+ type: string;
4557
+ additionalProperties: {
4558
+ $ref: string;
4559
+ };
4560
+ propertyNames: {
4561
+ format: string;
4562
+ };
4563
+ };
4564
+ "media-type": {
4565
+ $comment: string;
4566
+ type: string;
4567
+ properties: {
4568
+ description: {
4569
+ type: string;
4570
+ };
4571
+ schema: {
4572
+ $dynamicRef: string;
4573
+ };
4574
+ itemSchema: {
4575
+ $dynamicRef: string;
4576
+ };
4577
+ encoding: {
4578
+ type: string;
4579
+ additionalProperties: {
4580
+ $ref: string;
4581
+ };
4582
+ };
4583
+ prefixEncoding: {
4584
+ type: string;
4585
+ items: {
4586
+ $ref: string;
4587
+ };
4588
+ };
4589
+ itemEncoding: {
4590
+ $ref: string;
4591
+ };
4592
+ };
4593
+ dependentSchemas: {
4594
+ encoding: {
4595
+ properties: {
4596
+ prefixEncoding: boolean;
4597
+ itemEncoding: boolean;
4598
+ };
4599
+ };
4600
+ };
4601
+ allOf: {
4602
+ $ref: string;
4603
+ }[];
4604
+ unevaluatedProperties: boolean;
4605
+ };
4606
+ "media-type-or-reference": {
4607
+ if: {
4608
+ type: string;
4609
+ required: string[];
4610
+ };
4611
+ then: {
4612
+ $ref: string;
4613
+ };
4614
+ else: {
4615
+ $ref: string;
4616
+ };
4617
+ };
4618
+ encoding: {
4619
+ $comment: string;
4620
+ type: string;
4621
+ properties: {
4622
+ contentType: {
4623
+ type: string;
4624
+ format: string;
4625
+ };
4626
+ headers: {
4627
+ type: string;
4628
+ additionalProperties: {
4629
+ $ref: string;
4630
+ };
4631
+ };
4632
+ style: {
4633
+ enum: string[];
4634
+ };
4635
+ explode: {
4636
+ type: string;
4637
+ };
4638
+ allowReserved: {
4639
+ type: string;
4640
+ };
4641
+ encoding: {
4642
+ type: string;
4643
+ additionalProperties: {
4644
+ $ref: string;
4645
+ };
4646
+ };
4647
+ prefixEncoding: {
4648
+ type: string;
4649
+ items: {
4650
+ $ref: string;
4651
+ };
4652
+ };
4653
+ itemEncoding: {
4654
+ $ref: string;
4655
+ };
4656
+ };
4657
+ dependentSchemas: {
4658
+ encoding: {
4659
+ properties: {
4660
+ prefixEncoding: boolean;
4661
+ itemEncoding: boolean;
4662
+ };
4663
+ };
4664
+ style: {
4665
+ properties: {
4666
+ allowReserved: {
4667
+ default: boolean;
4668
+ };
4669
+ };
4670
+ };
4671
+ explode: {
4672
+ properties: {
4673
+ style: {
4674
+ default: string;
4675
+ };
4676
+ allowReserved: {
4677
+ default: boolean;
4678
+ };
4679
+ };
4680
+ };
4681
+ allowReserved: {
4682
+ properties: {
4683
+ style: {
4684
+ default: string;
4685
+ };
4686
+ };
4687
+ };
4688
+ };
4689
+ allOf: {
4690
+ $ref: string;
4691
+ }[];
4692
+ unevaluatedProperties: boolean;
4693
+ };
4694
+ responses: {
4695
+ $comment: string;
4696
+ type: string;
4697
+ properties: {
4698
+ default: {
4699
+ $ref: string;
4700
+ };
4701
+ };
4702
+ patternProperties: {
4703
+ "^[1-5](?:[0-9]{2}|XX)$": {
4704
+ $ref: string;
4705
+ };
4706
+ };
4707
+ minProperties: number;
4708
+ $ref: string;
4709
+ unevaluatedProperties: boolean;
4710
+ if: {
4711
+ $comment: string;
4712
+ patternProperties: {
4713
+ "^[1-5](?:[0-9]{2}|XX)$": boolean;
4714
+ };
4715
+ };
4716
+ then: {
4717
+ required: string[];
4718
+ };
4719
+ };
4720
+ response: {
4721
+ $comment: string;
4722
+ type: string;
4723
+ properties: {
4724
+ summary: {
4725
+ type: string;
4726
+ };
4727
+ description: {
4728
+ type: string;
4729
+ };
4730
+ headers: {
4731
+ type: string;
4732
+ additionalProperties: {
4733
+ $ref: string;
4734
+ };
4735
+ };
4736
+ content: {
4737
+ $ref: string;
4738
+ };
4739
+ links: {
4740
+ type: string;
4741
+ additionalProperties: {
4742
+ $ref: string;
4743
+ };
4744
+ };
4745
+ };
4746
+ $ref: string;
4747
+ unevaluatedProperties: boolean;
4748
+ };
4749
+ "response-or-reference": {
4750
+ if: {
4751
+ type: string;
4752
+ required: string[];
4753
+ };
4754
+ then: {
4755
+ $ref: string;
4756
+ };
4757
+ else: {
4758
+ $ref: string;
4759
+ };
4760
+ };
4761
+ callbacks: {
4762
+ $comment: string;
4763
+ type: string;
4764
+ $ref: string;
4765
+ additionalProperties: {
4766
+ $ref: string;
4767
+ };
4768
+ };
4769
+ "callbacks-or-reference": {
4770
+ if: {
4771
+ type: string;
4772
+ required: string[];
4773
+ };
4774
+ then: {
4775
+ $ref: string;
4776
+ };
4777
+ else: {
4778
+ $ref: string;
4779
+ };
4780
+ };
4781
+ example: {
4782
+ $comment: string;
4783
+ type: string;
4784
+ properties: {
4785
+ summary: {
4786
+ type: string;
4787
+ };
4788
+ description: {
4789
+ type: string;
4790
+ };
4791
+ dataValue: boolean;
4792
+ serializedValue: {
4793
+ type: string;
4794
+ };
4795
+ value: boolean;
4796
+ externalValue: {
4797
+ type: string;
4798
+ format: string;
4799
+ };
4800
+ };
4801
+ allOf: {
4802
+ not: {
4803
+ required: string[];
4804
+ };
4805
+ }[];
4806
+ $ref: string;
4807
+ unevaluatedProperties: boolean;
4808
+ };
4809
+ "example-or-reference": {
4810
+ if: {
4811
+ type: string;
4812
+ required: string[];
4813
+ };
4814
+ then: {
4815
+ $ref: string;
4816
+ };
4817
+ else: {
4818
+ $ref: string;
4819
+ };
4820
+ };
4821
+ link: {
4822
+ $comment: string;
4823
+ type: string;
4824
+ properties: {
4825
+ operationRef: {
4826
+ type: string;
4827
+ format: string;
4828
+ };
4829
+ operationId: {
4830
+ type: string;
4831
+ };
4832
+ parameters: {
4833
+ $ref: string;
4834
+ };
4835
+ requestBody: boolean;
4836
+ description: {
4837
+ type: string;
4838
+ };
4839
+ server: {
4840
+ $ref: string;
4841
+ };
4842
+ };
4843
+ oneOf: {
4844
+ required: string[];
4845
+ }[];
4846
+ $ref: string;
4847
+ unevaluatedProperties: boolean;
4848
+ };
4849
+ "link-or-reference": {
4850
+ if: {
4851
+ type: string;
4852
+ required: string[];
4853
+ };
4854
+ then: {
4855
+ $ref: string;
4856
+ };
4857
+ else: {
4858
+ $ref: string;
4859
+ };
4860
+ };
4861
+ header: {
4862
+ $comment: string;
4863
+ type: string;
4864
+ properties: {
4865
+ description: {
4866
+ type: string;
4867
+ };
4868
+ required: {
4869
+ default: boolean;
4870
+ type: string;
4871
+ };
4872
+ deprecated: {
4873
+ default: boolean;
4874
+ type: string;
4875
+ };
4876
+ schema: {
4877
+ $dynamicRef: string;
4878
+ };
4879
+ content: {
4880
+ $ref: string;
4881
+ minProperties: number;
4882
+ maxProperties: number;
4883
+ };
4884
+ };
4885
+ oneOf: {
4886
+ required: string[];
4887
+ }[];
4888
+ dependentSchemas: {
4889
+ schema: {
4890
+ properties: {
4891
+ style: {
4892
+ default: string;
4893
+ const: string;
4894
+ };
4895
+ explode: {
4896
+ default: boolean;
4897
+ type: string;
4898
+ };
4899
+ allowReserved: {
4900
+ default: boolean;
4901
+ type: string;
4902
+ };
4903
+ };
4904
+ };
4905
+ };
4906
+ allOf: {
4907
+ $ref: string;
4908
+ }[];
4909
+ unevaluatedProperties: boolean;
4910
+ };
4911
+ "header-or-reference": {
4912
+ if: {
4913
+ type: string;
4914
+ required: string[];
4915
+ };
4916
+ then: {
4917
+ $ref: string;
4918
+ };
4919
+ else: {
4920
+ $ref: string;
4921
+ };
4922
+ };
4923
+ tag: {
4924
+ $comment: string;
4925
+ type: string;
4926
+ properties: {
4927
+ name: {
4928
+ type: string;
4929
+ };
4930
+ summary: {
4931
+ type: string;
4932
+ };
4933
+ description: {
4934
+ type: string;
4935
+ };
4936
+ externalDocs: {
4937
+ $ref: string;
4938
+ };
4939
+ parent: {
4940
+ type: string;
4941
+ };
4942
+ kind: {
4943
+ type: string;
4944
+ };
4945
+ };
4946
+ required: string[];
4947
+ $ref: string;
4948
+ unevaluatedProperties: boolean;
4949
+ };
4950
+ reference: {
4951
+ $comment: string;
4952
+ type: string;
4953
+ properties: {
4954
+ $ref: {
4955
+ type: string;
4956
+ format: string;
4957
+ };
4958
+ summary: {
4959
+ type: string;
4960
+ };
4961
+ description: {
4962
+ type: string;
4963
+ };
4964
+ };
4965
+ };
4966
+ schema: {
4967
+ $comment: string;
4968
+ $dynamicAnchor: string;
4969
+ type: string[];
4970
+ };
4971
+ "security-scheme": {
4972
+ $comment: string;
4973
+ type: string;
4974
+ properties: {
4975
+ type: {
4976
+ enum: string[];
4977
+ };
4978
+ description: {
4979
+ type: string;
4980
+ };
4981
+ deprecated: {
4982
+ default: boolean;
4983
+ type: string;
4984
+ };
4985
+ };
4986
+ required: string[];
4987
+ allOf: {
4988
+ $ref: string;
4989
+ }[];
4990
+ unevaluatedProperties: boolean;
4991
+ $defs: {
4992
+ "type-apikey": {
4993
+ if: {
4994
+ properties: {
4995
+ type: {
4996
+ const: string;
4997
+ };
4998
+ };
4999
+ };
5000
+ then: {
5001
+ properties: {
5002
+ name: {
5003
+ type: string;
5004
+ };
5005
+ in: {
5006
+ enum: string[];
5007
+ };
5008
+ };
5009
+ required: string[];
5010
+ };
5011
+ };
5012
+ "type-http": {
5013
+ if: {
5014
+ properties: {
5015
+ type: {
5016
+ const: string;
5017
+ };
5018
+ };
5019
+ };
5020
+ then: {
5021
+ properties: {
5022
+ scheme: {
5023
+ type: string;
5024
+ };
5025
+ };
5026
+ required: string[];
5027
+ };
5028
+ };
5029
+ "type-http-bearer": {
5030
+ if: {
5031
+ properties: {
5032
+ type: {
5033
+ const: string;
5034
+ };
5035
+ scheme: {
5036
+ type: string;
5037
+ pattern: string;
5038
+ };
5039
+ };
5040
+ required: string[];
5041
+ };
5042
+ then: {
5043
+ properties: {
5044
+ bearerFormat: {
5045
+ type: string;
5046
+ };
5047
+ };
5048
+ };
5049
+ };
5050
+ "type-oauth2": {
5051
+ if: {
5052
+ properties: {
5053
+ type: {
5054
+ const: string;
5055
+ };
5056
+ };
5057
+ };
5058
+ then: {
5059
+ properties: {
5060
+ flows: {
5061
+ $ref: string;
5062
+ };
5063
+ oauth2MetadataUrl: {
5064
+ type: string;
5065
+ format: string;
5066
+ };
5067
+ };
5068
+ required: string[];
5069
+ };
5070
+ };
5071
+ "type-oidc": {
5072
+ if: {
5073
+ properties: {
5074
+ type: {
5075
+ const: string;
5076
+ };
5077
+ };
5078
+ };
5079
+ then: {
5080
+ properties: {
5081
+ openIdConnectUrl: {
5082
+ type: string;
5083
+ format: string;
5084
+ };
5085
+ };
5086
+ required: string[];
5087
+ };
5088
+ };
5089
+ };
5090
+ };
5091
+ "security-scheme-or-reference": {
5092
+ if: {
5093
+ type: string;
5094
+ required: string[];
5095
+ };
5096
+ then: {
5097
+ $ref: string;
5098
+ };
5099
+ else: {
5100
+ $ref: string;
5101
+ };
5102
+ };
5103
+ "oauth-flows": {
5104
+ type: string;
5105
+ properties: {
5106
+ implicit: {
5107
+ $ref: string;
5108
+ };
5109
+ password: {
5110
+ $ref: string;
5111
+ };
5112
+ clientCredentials: {
5113
+ $ref: string;
5114
+ };
5115
+ authorizationCode: {
5116
+ $ref: string;
5117
+ };
5118
+ deviceAuthorization: {
5119
+ $ref: string;
5120
+ };
5121
+ };
5122
+ $ref: string;
5123
+ unevaluatedProperties: boolean;
5124
+ $defs: {
5125
+ implicit: {
5126
+ type: string;
5127
+ properties: {
5128
+ authorizationUrl: {
5129
+ type: string;
5130
+ format: string;
5131
+ };
5132
+ refreshUrl: {
5133
+ type: string;
5134
+ format: string;
5135
+ };
5136
+ scopes: {
5137
+ $ref: string;
5138
+ };
5139
+ };
5140
+ required: string[];
5141
+ $ref: string;
5142
+ unevaluatedProperties: boolean;
5143
+ };
5144
+ password: {
5145
+ type: string;
5146
+ properties: {
5147
+ tokenUrl: {
5148
+ type: string;
5149
+ format: string;
5150
+ };
5151
+ refreshUrl: {
5152
+ type: string;
5153
+ format: string;
5154
+ };
5155
+ scopes: {
5156
+ $ref: string;
5157
+ };
5158
+ };
5159
+ required: string[];
5160
+ $ref: string;
5161
+ unevaluatedProperties: boolean;
5162
+ };
5163
+ "client-credentials": {
5164
+ type: string;
5165
+ properties: {
5166
+ tokenUrl: {
5167
+ type: string;
5168
+ format: string;
5169
+ };
5170
+ refreshUrl: {
5171
+ type: string;
5172
+ format: string;
5173
+ };
5174
+ scopes: {
5175
+ $ref: string;
5176
+ };
5177
+ };
5178
+ required: string[];
5179
+ $ref: string;
5180
+ unevaluatedProperties: boolean;
5181
+ };
5182
+ "authorization-code": {
5183
+ type: string;
5184
+ properties: {
5185
+ authorizationUrl: {
5186
+ type: string;
5187
+ format: string;
5188
+ };
5189
+ tokenUrl: {
5190
+ type: string;
5191
+ format: string;
5192
+ };
5193
+ refreshUrl: {
5194
+ type: string;
5195
+ format: string;
5196
+ };
5197
+ scopes: {
5198
+ $ref: string;
5199
+ };
5200
+ };
5201
+ required: string[];
5202
+ $ref: string;
5203
+ unevaluatedProperties: boolean;
5204
+ };
5205
+ "device-authorization": {
5206
+ type: string;
5207
+ properties: {
5208
+ deviceAuthorizationUrl: {
5209
+ type: string;
5210
+ format: string;
5211
+ };
5212
+ tokenUrl: {
5213
+ type: string;
5214
+ format: string;
5215
+ };
5216
+ refreshUrl: {
5217
+ type: string;
5218
+ format: string;
5219
+ };
5220
+ scopes: {
5221
+ $ref: string;
5222
+ };
5223
+ };
5224
+ required: string[];
5225
+ $ref: string;
5226
+ unevaluatedProperties: boolean;
5227
+ };
5228
+ };
5229
+ };
5230
+ "security-requirement": {
5231
+ $comment: string;
5232
+ type: string;
5233
+ additionalProperties: {
5234
+ type: string;
5235
+ items: {
5236
+ type: string;
5237
+ };
5238
+ };
5239
+ };
5240
+ "specification-extensions": {
5241
+ $comment: string;
5242
+ patternProperties: {
5243
+ "^x-": boolean;
5244
+ };
5245
+ };
5246
+ examples: {
5247
+ properties: {
5248
+ example: boolean;
5249
+ examples: {
5250
+ type: string;
5251
+ additionalProperties: {
5252
+ $ref: string;
5253
+ };
5254
+ };
5255
+ };
5256
+ not: {
5257
+ required: string[];
5258
+ };
5259
+ };
5260
+ "map-of-strings": {
5261
+ type: string;
5262
+ additionalProperties: {
5263
+ type: string;
5264
+ };
5265
+ };
5266
+ "styles-for-form": {
5267
+ if: {
5268
+ properties: {
5269
+ style: {
5270
+ const: string;
5271
+ };
5272
+ };
5273
+ required: string[];
5274
+ };
5275
+ then: {
5276
+ properties: {
5277
+ explode: {
5278
+ default: boolean;
5279
+ };
5280
+ };
5281
+ };
5282
+ else: {
5283
+ properties: {
5284
+ explode: {
5285
+ default: boolean;
5286
+ };
5287
+ };
5288
+ };
5289
+ };
5290
+ };
5291
+ };
3893
5292
  };
3894
5293
  export type OpenApiVersion = keyof typeof OpenApiSpecifications;
3895
5294
  export declare const OpenApiVersions: OpenApiVersion[];