@@ -10,6 +10,10 @@ Validate a request against the OpenAPI spec
10
10
export function validateRequest(request, context) {
11
11
return new RequestError (404 , ' no operation match path' );
12
12
}
13
+ /**
14
+ Map of all components defined in the spec to their validation functions.
15
+ */
16
+ export const componentSchemas = { } ;
13
17
export class RequestError extends Error {
14
18
/** @param {number} code HTTP code for the error
15
19
@param {string} message The error message*/
@@ -49,6 +53,10 @@ Validate a request against the OpenAPI spec
49
53
export function validateRequest(request, context) {
50
54
return new RequestError (404 , ' no operation match path' );
51
55
}
56
+ /**
57
+ Map of all components defined in the spec to their validation functions.
58
+ */
59
+ export const componentSchemas = { } ;
52
60
export class RequestError extends Error {
53
61
/** @param {number} code HTTP code for the error
54
62
@param {string} message The error message*/
@@ -91,6 +99,10 @@ Validate a request against the OpenAPI spec
91
99
export function validateRequest(request, context) {
92
100
return new RequestError (404 , ' no operation match path' );
93
101
}
102
+ /**
103
+ Map of all components defined in the spec to their validation functions.
104
+ */
105
+ export const componentSchemas = { } ;
94
106
export class RequestError extends Error {
95
107
/** @param {number} code HTTP code for the error
96
108
@param {string} message The error message*/
@@ -133,6 +145,10 @@ Validate a request against the OpenAPI spec
133
145
export function validateRequest(request, context) {
134
146
return new RequestError (404 , ' no operation match path' );
135
147
}
148
+ /**
149
+ Map of all components defined in the spec to their validation functions.
150
+ */
151
+ export const componentSchemas = { } ;
136
152
export class RequestError extends Error {
137
153
/** @param {number} code HTTP code for the error
138
154
@param {string} message The error message*/
@@ -175,6 +191,10 @@ Validate a request against the OpenAPI spec
175
191
export function validateRequest(request, context) {
176
192
return new RequestError (404 , ' no operation match path' );
177
193
}
194
+ /**
195
+ Map of all components defined in the spec to their validation functions.
196
+ */
197
+ export const componentSchemas = { } ;
178
198
export class RequestError extends Error {
179
199
/** @param {number} code HTTP code for the error
180
200
@param {string} message The error message*/
@@ -217,6 +237,10 @@ Validate a request against the OpenAPI spec
217
237
export function validateRequest(request, context) {
218
238
return new RequestError (404 , ' no operation match path' );
219
239
}
240
+ /**
241
+ Map of all components defined in the spec to their validation functions.
242
+ */
243
+ export const componentSchemas = { } ;
220
244
export class RequestError extends Error {
221
245
/** @param {number} code HTTP code for the error
222
246
@param {string} message The error message*/
@@ -256,6 +280,10 @@ Validate a request against the OpenAPI spec
256
280
export function validateRequest(request, context) {
257
281
return new RequestError (404 , ' no operation match path' );
258
282
}
283
+ /**
284
+ Map of all components defined in the spec to their validation functions.
285
+ */
286
+ export const componentSchemas = { } ;
259
287
export class RequestError extends Error {
260
288
/** @param {number} code HTTP code for the error
261
289
@param {string} message The error message*/
@@ -298,6 +326,10 @@ Validate a request against the OpenAPI spec
298
326
export function validateRequest(request, context) {
299
327
return new RequestError (404 , ' no operation match path' );
300
328
}
329
+ /**
330
+ Map of all components defined in the spec to their validation functions.
331
+ */
332
+ export const componentSchemas = { } ;
301
333
export class RequestError extends Error {
302
334
/** @param {number} code HTTP code for the error
303
335
@param {string} message The error message*/
@@ -334,6 +366,10 @@ Validate a request against the OpenAPI spec
334
366
export function validateRequest(request, context) {
335
367
return new RequestError (404 , ' no operation match path' );
336
368
}
369
+ /**
370
+ Map of all components defined in the spec to their validation functions.
371
+ */
372
+ export const componentSchemas = { } ;
337
373
export class RequestError extends Error {
338
374
/** @param {number} code HTTP code for the error
339
375
@param {string} message The error message*/
@@ -374,6 +410,10 @@ Validate a request against the OpenAPI spec
374
410
export function validateRequest(request, context) {
375
411
return new RequestError (404 , ' no operation match path' );
376
412
}
413
+ /**
414
+ Map of all components defined in the spec to their validation functions.
415
+ */
416
+ export const componentSchemas = { } ;
377
417
export class RequestError extends Error {
378
418
/** @param {number} code HTTP code for the error
379
419
@param {string} message The error message*/
@@ -414,6 +454,10 @@ Validate a request against the OpenAPI spec
414
454
export function validateRequest(request, context) {
415
455
return new RequestError (404 , ' no operation match path' );
416
456
}
457
+ /**
458
+ Map of all components defined in the spec to their validation functions.
459
+ */
460
+ export const componentSchemas = { } ;
417
461
export class RequestError extends Error {
418
462
/** @param {number} code HTTP code for the error
419
463
@param {string} message The error message*/
@@ -492,6 +536,10 @@ Validate a request against the OpenAPI spec
492
536
export function validateRequest(request, context) {
493
537
return new RequestError (404 , ' no operation match path' );
494
538
}
539
+ /**
540
+ Map of all components defined in the spec to their validation functions.
541
+ */
542
+ export const componentSchemas = { } ;
495
543
export class RequestError extends Error {
496
544
/** @param {number} code HTTP code for the error
497
545
@param {string} message The error message*/
@@ -552,6 +600,10 @@ Validate a request against the OpenAPI spec
552
600
export function validateRequest(request, context) {
553
601
return new RequestError (404 , ' no operation match path' );
554
602
}
603
+ /**
604
+ Map of all components defined in the spec to their validation functions.
605
+ */
606
+ export const componentSchemas = { } ;
555
607
export class RequestError extends Error {
556
608
/** @param {number} code HTTP code for the error
557
609
@param {string} message The error message*/
@@ -589,6 +641,10 @@ Validate a request against the OpenAPI spec
589
641
export function validateRequest(request, context) {
590
642
return new RequestError (404 , ' no operation match path' );
591
643
}
644
+ /**
645
+ Map of all components defined in the spec to their validation functions.
646
+ */
647
+ export const componentSchemas = { } ;
592
648
export class RequestError extends Error {
593
649
/** @param {number} code HTTP code for the error
594
650
@param {string} message The error message*/
@@ -649,6 +705,10 @@ Validate a request against the OpenAPI spec
649
705
export function validateRequest(request, context) {
650
706
return new RequestError (404 , ' no operation match path' );
651
707
}
708
+ /**
709
+ Map of all components defined in the spec to their validation functions.
710
+ */
711
+ export const componentSchemas = { } ;
652
712
export class RequestError extends Error {
653
713
/** @param {number} code HTTP code for the error
654
714
@param {string} message The error message*/
@@ -725,6 +785,10 @@ Validate a request against the OpenAPI spec
725
785
export function validateRequest(request, context) {
726
786
return new RequestError (404 , ' no operation match path' );
727
787
}
788
+ /**
789
+ Map of all components defined in the spec to their validation functions.
790
+ */
791
+ export const componentSchemas = { } ;
728
792
export class RequestError extends Error {
729
793
/** @param {number} code HTTP code for the error
730
794
@param {string} message The error message*/
@@ -768,6 +832,10 @@ Validate a request against the OpenAPI spec
768
832
export function validateRequest(request, context) {
769
833
return new RequestError (404 , ' no operation match path' );
770
834
}
835
+ /**
836
+ Map of all components defined in the spec to their validation functions.
837
+ */
838
+ export const componentSchemas = { } ;
771
839
export class RequestError extends Error {
772
840
/** @param {number} code HTTP code for the error
773
841
@param {string} message The error message*/
@@ -826,6 +894,10 @@ Validate a request against the OpenAPI spec
826
894
export function validateRequest(request, context) {
827
895
return new RequestError (404 , ' no operation match path' );
828
896
}
897
+ /**
898
+ Map of all components defined in the spec to their validation functions.
899
+ */
900
+ export const componentSchemas = { } ;
829
901
export class RequestError extends Error {
830
902
/** @param {number} code HTTP code for the error
831
903
@param {string} message The error message*/
@@ -883,6 +955,10 @@ Validate a request against the OpenAPI spec
883
955
export function validateRequest(request, context) {
884
956
return new RequestError (404 , ' no operation match path' );
885
957
}
958
+ /**
959
+ Map of all components defined in the spec to their validation functions.
960
+ */
961
+ export const componentSchemas = { } ;
886
962
export class RequestError extends Error {
887
963
/** @param {number} code HTTP code for the error
888
964
@param {string} message The error message*/
@@ -939,6 +1015,10 @@ Validate a request against the OpenAPI spec
939
1015
export function validateRequest(request, context) {
940
1016
return new RequestError (404 , ' no operation match path' );
941
1017
}
1018
+ /**
1019
+ Map of all components defined in the spec to their validation functions.
1020
+ */
1021
+ export const componentSchemas = { } ;
942
1022
export class RequestError extends Error {
943
1023
/** @param {number} code HTTP code for the error
944
1024
@param {string} message The error message*/
@@ -1002,6 +1082,10 @@ Validate a request against the OpenAPI spec
1002
1082
export function validateRequest(request, context) {
1003
1083
return new RequestError (404 , ' no operation match path' );
1004
1084
}
1085
+ /**
1086
+ Map of all components defined in the spec to their validation functions.
1087
+ */
1088
+ export const componentSchemas = { } ;
1005
1089
export class RequestError extends Error {
1006
1090
/** @param {number} code HTTP code for the error
1007
1091
@param {string} message The error message*/
0 commit comments