@@ -10,6 +10,11 @@ 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
+ { Object .< string , <T >(path : string [], value : T , context : any ) => (T | ValidationError )> }
16
+ */
17
+ export const componentSchemas = { } ;
13
18
export class RequestError extends Error {
14
19
/** @param {number} code HTTP code for the error
15
20
@param {string} message The error message*/
@@ -49,6 +54,11 @@ Validate a request against the OpenAPI spec
49
54
export function validateRequest(request, context) {
50
55
return new RequestError (404 , ' no operation match path' );
51
56
}
57
+ /**
58
+ Map of all components defined in the spec to their validation functions.
59
+ { Object .< string , <T >(path : string [], value : T , context : any ) => (T | ValidationError )> }
60
+ */
61
+ export const componentSchemas = { } ;
52
62
export class RequestError extends Error {
53
63
/** @param {number} code HTTP code for the error
54
64
@param {string} message The error message*/
@@ -91,6 +101,11 @@ Validate a request against the OpenAPI spec
91
101
export function validateRequest(request, context) {
92
102
return new RequestError (404 , ' no operation match path' );
93
103
}
104
+ /**
105
+ Map of all components defined in the spec to their validation functions.
106
+ { Object .< string , <T >(path : string [], value : T , context : any ) => (T | ValidationError )> }
107
+ */
108
+ export const componentSchemas = { } ;
94
109
export class RequestError extends Error {
95
110
/** @param {number} code HTTP code for the error
96
111
@param {string} message The error message*/
@@ -133,6 +148,11 @@ Validate a request against the OpenAPI spec
133
148
export function validateRequest(request, context) {
134
149
return new RequestError (404 , ' no operation match path' );
135
150
}
151
+ /**
152
+ Map of all components defined in the spec to their validation functions.
153
+ { Object .< string , <T >(path : string [], value : T , context : any ) => (T | ValidationError )> }
154
+ */
155
+ export const componentSchemas = { } ;
136
156
export class RequestError extends Error {
137
157
/** @param {number} code HTTP code for the error
138
158
@param {string} message The error message*/
@@ -175,6 +195,11 @@ Validate a request against the OpenAPI spec
175
195
export function validateRequest(request, context) {
176
196
return new RequestError (404 , ' no operation match path' );
177
197
}
198
+ /**
199
+ Map of all components defined in the spec to their validation functions.
200
+ { Object .< string , <T >(path : string [], value : T , context : any ) => (T | ValidationError )> }
201
+ */
202
+ export const componentSchemas = { } ;
178
203
export class RequestError extends Error {
179
204
/** @param {number} code HTTP code for the error
180
205
@param {string} message The error message*/
@@ -217,6 +242,11 @@ Validate a request against the OpenAPI spec
217
242
export function validateRequest(request, context) {
218
243
return new RequestError (404 , ' no operation match path' );
219
244
}
245
+ /**
246
+ Map of all components defined in the spec to their validation functions.
247
+ { Object .< string , <T >(path : string [], value : T , context : any ) => (T | ValidationError )> }
248
+ */
249
+ export const componentSchemas = { } ;
220
250
export class RequestError extends Error {
221
251
/** @param {number} code HTTP code for the error
222
252
@param {string} message The error message*/
@@ -256,6 +286,11 @@ Validate a request against the OpenAPI spec
256
286
export function validateRequest(request, context) {
257
287
return new RequestError (404 , ' no operation match path' );
258
288
}
289
+ /**
290
+ Map of all components defined in the spec to their validation functions.
291
+ { Object .< string , <T >(path : string [], value : T , context : any ) => (T | ValidationError )> }
292
+ */
293
+ export const componentSchemas = { } ;
259
294
export class RequestError extends Error {
260
295
/** @param {number} code HTTP code for the error
261
296
@param {string} message The error message*/
@@ -298,6 +333,11 @@ Validate a request against the OpenAPI spec
298
333
export function validateRequest(request, context) {
299
334
return new RequestError (404 , ' no operation match path' );
300
335
}
336
+ /**
337
+ Map of all components defined in the spec to their validation functions.
338
+ { Object .< string , <T >(path : string [], value : T , context : any ) => (T | ValidationError )> }
339
+ */
340
+ export const componentSchemas = { } ;
301
341
export class RequestError extends Error {
302
342
/** @param {number} code HTTP code for the error
303
343
@param {string} message The error message*/
@@ -334,6 +374,11 @@ Validate a request against the OpenAPI spec
334
374
export function validateRequest(request, context) {
335
375
return new RequestError (404 , ' no operation match path' );
336
376
}
377
+ /**
378
+ Map of all components defined in the spec to their validation functions.
379
+ { Object .< string , <T >(path : string [], value : T , context : any ) => (T | ValidationError )> }
380
+ */
381
+ export const componentSchemas = { } ;
337
382
export class RequestError extends Error {
338
383
/** @param {number} code HTTP code for the error
339
384
@param {string} message The error message*/
@@ -374,6 +419,11 @@ Validate a request against the OpenAPI spec
374
419
export function validateRequest(request, context) {
375
420
return new RequestError (404 , ' no operation match path' );
376
421
}
422
+ /**
423
+ Map of all components defined in the spec to their validation functions.
424
+ { Object .< string , <T >(path : string [], value : T , context : any ) => (T | ValidationError )> }
425
+ */
426
+ export const componentSchemas = { } ;
377
427
export class RequestError extends Error {
378
428
/** @param {number} code HTTP code for the error
379
429
@param {string} message The error message*/
@@ -414,6 +464,11 @@ Validate a request against the OpenAPI spec
414
464
export function validateRequest(request, context) {
415
465
return new RequestError (404 , ' no operation match path' );
416
466
}
467
+ /**
468
+ Map of all components defined in the spec to their validation functions.
469
+ { Object .< string , <T >(path : string [], value : T , context : any ) => (T | ValidationError )> }
470
+ */
471
+ export const componentSchemas = { } ;
417
472
export class RequestError extends Error {
418
473
/** @param {number} code HTTP code for the error
419
474
@param {string} message The error message*/
@@ -492,6 +547,11 @@ Validate a request against the OpenAPI spec
492
547
export function validateRequest(request, context) {
493
548
return new RequestError (404 , ' no operation match path' );
494
549
}
550
+ /**
551
+ Map of all components defined in the spec to their validation functions.
552
+ { Object .< string , <T >(path : string [], value : T , context : any ) => (T | ValidationError )> }
553
+ */
554
+ export const componentSchemas = { } ;
495
555
export class RequestError extends Error {
496
556
/** @param {number} code HTTP code for the error
497
557
@param {string} message The error message*/
@@ -552,6 +612,11 @@ Validate a request against the OpenAPI spec
552
612
export function validateRequest(request, context) {
553
613
return new RequestError (404 , ' no operation match path' );
554
614
}
615
+ /**
616
+ Map of all components defined in the spec to their validation functions.
617
+ { Object .< string , <T >(path : string [], value : T , context : any ) => (T | ValidationError )> }
618
+ */
619
+ export const componentSchemas = { } ;
555
620
export class RequestError extends Error {
556
621
/** @param {number} code HTTP code for the error
557
622
@param {string} message The error message*/
@@ -589,6 +654,11 @@ Validate a request against the OpenAPI spec
589
654
export function validateRequest(request, context) {
590
655
return new RequestError (404 , ' no operation match path' );
591
656
}
657
+ /**
658
+ Map of all components defined in the spec to their validation functions.
659
+ { Object .< string , <T >(path : string [], value : T , context : any ) => (T | ValidationError )> }
660
+ */
661
+ export const componentSchemas = { } ;
592
662
export class RequestError extends Error {
593
663
/** @param {number} code HTTP code for the error
594
664
@param {string} message The error message*/
@@ -649,6 +719,11 @@ Validate a request against the OpenAPI spec
649
719
export function validateRequest(request, context) {
650
720
return new RequestError (404 , ' no operation match path' );
651
721
}
722
+ /**
723
+ Map of all components defined in the spec to their validation functions.
724
+ { Object .< string , <T >(path : string [], value : T , context : any ) => (T | ValidationError )> }
725
+ */
726
+ export const componentSchemas = { } ;
652
727
export class RequestError extends Error {
653
728
/** @param {number} code HTTP code for the error
654
729
@param {string} message The error message*/
@@ -725,6 +800,11 @@ Validate a request against the OpenAPI spec
725
800
export function validateRequest(request, context) {
726
801
return new RequestError (404 , ' no operation match path' );
727
802
}
803
+ /**
804
+ Map of all components defined in the spec to their validation functions.
805
+ { Object .< string , <T >(path : string [], value : T , context : any ) => (T | ValidationError )> }
806
+ */
807
+ export const componentSchemas = { } ;
728
808
export class RequestError extends Error {
729
809
/** @param {number} code HTTP code for the error
730
810
@param {string} message The error message*/
@@ -768,6 +848,11 @@ Validate a request against the OpenAPI spec
768
848
export function validateRequest(request, context) {
769
849
return new RequestError (404 , ' no operation match path' );
770
850
}
851
+ /**
852
+ Map of all components defined in the spec to their validation functions.
853
+ { Object .< string , <T >(path : string [], value : T , context : any ) => (T | ValidationError )> }
854
+ */
855
+ export const componentSchemas = { } ;
771
856
export class RequestError extends Error {
772
857
/** @param {number} code HTTP code for the error
773
858
@param {string} message The error message*/
@@ -826,6 +911,11 @@ Validate a request against the OpenAPI spec
826
911
export function validateRequest(request, context) {
827
912
return new RequestError (404 , ' no operation match path' );
828
913
}
914
+ /**
915
+ Map of all components defined in the spec to their validation functions.
916
+ { Object .< string , <T >(path : string [], value : T , context : any ) => (T | ValidationError )> }
917
+ */
918
+ export const componentSchemas = { } ;
829
919
export class RequestError extends Error {
830
920
/** @param {number} code HTTP code for the error
831
921
@param {string} message The error message*/
@@ -883,6 +973,11 @@ Validate a request against the OpenAPI spec
883
973
export function validateRequest(request, context) {
884
974
return new RequestError (404 , ' no operation match path' );
885
975
}
976
+ /**
977
+ Map of all components defined in the spec to their validation functions.
978
+ { Object .< string , <T >(path : string [], value : T , context : any ) => (T | ValidationError )> }
979
+ */
980
+ export const componentSchemas = { } ;
886
981
export class RequestError extends Error {
887
982
/** @param {number} code HTTP code for the error
888
983
@param {string} message The error message*/
@@ -939,6 +1034,11 @@ Validate a request against the OpenAPI spec
939
1034
export function validateRequest(request, context) {
940
1035
return new RequestError (404 , ' no operation match path' );
941
1036
}
1037
+ /**
1038
+ Map of all components defined in the spec to their validation functions.
1039
+ { Object .< string , <T >(path : string [], value : T , context : any ) => (T | ValidationError )> }
1040
+ */
1041
+ export const componentSchemas = { } ;
942
1042
export class RequestError extends Error {
943
1043
/** @param {number} code HTTP code for the error
944
1044
@param {string} message The error message*/
@@ -1002,6 +1102,11 @@ Validate a request against the OpenAPI spec
1002
1102
export function validateRequest(request, context) {
1003
1103
return new RequestError (404 , ' no operation match path' );
1004
1104
}
1105
+ /**
1106
+ Map of all components defined in the spec to their validation functions.
1107
+ { Object .< string , <T >(path : string [], value : T , context : any ) => (T | ValidationError )> }
1108
+ */
1109
+ export const componentSchemas = { } ;
1005
1110
export class RequestError extends Error {
1006
1111
/** @param {number} code HTTP code for the error
1007
1112
@param {string} message The error message*/
0 commit comments