@scalar/oas-utils 0.2.13 → 0.2.14
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.
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,7 @@ declare const requestExampleParametersSchema: z.ZodObject<{
|
|
|
14
14
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
15
15
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
16
16
|
default: z.ZodOptional<z.ZodAny>;
|
|
17
|
+
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
17
18
|
}, "strip", z.ZodTypeAny, {
|
|
18
19
|
value: string;
|
|
19
20
|
key: string;
|
|
@@ -28,6 +29,7 @@ declare const requestExampleParametersSchema: z.ZodObject<{
|
|
|
28
29
|
file?: File | undefined;
|
|
29
30
|
refUid?: string | undefined;
|
|
30
31
|
format?: string | undefined;
|
|
32
|
+
nullable?: boolean | undefined;
|
|
31
33
|
}, {
|
|
32
34
|
minimum?: number | undefined;
|
|
33
35
|
type?: string | undefined;
|
|
@@ -42,6 +44,7 @@ declare const requestExampleParametersSchema: z.ZodObject<{
|
|
|
42
44
|
file?: File | undefined;
|
|
43
45
|
refUid?: string | undefined;
|
|
44
46
|
format?: string | undefined;
|
|
47
|
+
nullable?: boolean | undefined;
|
|
45
48
|
}>;
|
|
46
49
|
/** Request examples - formerly known as instances - are "children" of requests */
|
|
47
50
|
export type RequestExampleParameter = z.infer<typeof requestExampleParametersSchema>;
|
|
@@ -61,6 +64,7 @@ export declare const createRequestExampleParameter: (payload: RequestExamplePara
|
|
|
61
64
|
file?: File | undefined;
|
|
62
65
|
refUid?: string | undefined;
|
|
63
66
|
format?: string | undefined;
|
|
67
|
+
nullable?: boolean | undefined;
|
|
64
68
|
};
|
|
65
69
|
declare const requestExampleSchema: z.ZodObject<{
|
|
66
70
|
uid: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -94,6 +98,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
94
98
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
95
99
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
96
100
|
default: z.ZodOptional<z.ZodAny>;
|
|
101
|
+
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
97
102
|
}, "strip", z.ZodTypeAny, {
|
|
98
103
|
value: string;
|
|
99
104
|
key: string;
|
|
@@ -108,6 +113,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
108
113
|
file?: File | undefined;
|
|
109
114
|
refUid?: string | undefined;
|
|
110
115
|
format?: string | undefined;
|
|
116
|
+
nullable?: boolean | undefined;
|
|
111
117
|
}, {
|
|
112
118
|
minimum?: number | undefined;
|
|
113
119
|
type?: string | undefined;
|
|
@@ -122,6 +128,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
122
128
|
file?: File | undefined;
|
|
123
129
|
refUid?: string | undefined;
|
|
124
130
|
format?: string | undefined;
|
|
131
|
+
nullable?: boolean | undefined;
|
|
125
132
|
}>, "many">>;
|
|
126
133
|
}, "strip", z.ZodTypeAny, {
|
|
127
134
|
value: {
|
|
@@ -138,6 +145,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
138
145
|
file?: File | undefined;
|
|
139
146
|
refUid?: string | undefined;
|
|
140
147
|
format?: string | undefined;
|
|
148
|
+
nullable?: boolean | undefined;
|
|
141
149
|
}[];
|
|
142
150
|
encoding: "form-data" | "urlencoded";
|
|
143
151
|
}, {
|
|
@@ -155,6 +163,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
155
163
|
file?: File | undefined;
|
|
156
164
|
refUid?: string | undefined;
|
|
157
165
|
format?: string | undefined;
|
|
166
|
+
nullable?: boolean | undefined;
|
|
158
167
|
}[] | undefined;
|
|
159
168
|
encoding?: "form-data" | "urlencoded" | undefined;
|
|
160
169
|
}>>;
|
|
@@ -180,6 +189,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
180
189
|
file?: File | undefined;
|
|
181
190
|
refUid?: string | undefined;
|
|
182
191
|
format?: string | undefined;
|
|
192
|
+
nullable?: boolean | undefined;
|
|
183
193
|
}[];
|
|
184
194
|
encoding: "form-data" | "urlencoded";
|
|
185
195
|
};
|
|
@@ -205,6 +215,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
205
215
|
file?: File | undefined;
|
|
206
216
|
refUid?: string | undefined;
|
|
207
217
|
format?: string | undefined;
|
|
218
|
+
nullable?: boolean | undefined;
|
|
208
219
|
}[] | undefined;
|
|
209
220
|
encoding?: "form-data" | "urlencoded" | undefined;
|
|
210
221
|
} | undefined;
|
|
@@ -227,6 +238,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
227
238
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
228
239
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
229
240
|
default: z.ZodOptional<z.ZodAny>;
|
|
241
|
+
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
230
242
|
}, "strip", z.ZodTypeAny, {
|
|
231
243
|
value: string;
|
|
232
244
|
key: string;
|
|
@@ -241,6 +253,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
241
253
|
file?: File | undefined;
|
|
242
254
|
refUid?: string | undefined;
|
|
243
255
|
format?: string | undefined;
|
|
256
|
+
nullable?: boolean | undefined;
|
|
244
257
|
}, {
|
|
245
258
|
minimum?: number | undefined;
|
|
246
259
|
type?: string | undefined;
|
|
@@ -255,6 +268,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
255
268
|
file?: File | undefined;
|
|
256
269
|
refUid?: string | undefined;
|
|
257
270
|
format?: string | undefined;
|
|
271
|
+
nullable?: boolean | undefined;
|
|
258
272
|
}>, "many">>;
|
|
259
273
|
query: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
260
274
|
key: z.ZodDefault<z.ZodString>;
|
|
@@ -271,6 +285,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
271
285
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
272
286
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
273
287
|
default: z.ZodOptional<z.ZodAny>;
|
|
288
|
+
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
274
289
|
}, "strip", z.ZodTypeAny, {
|
|
275
290
|
value: string;
|
|
276
291
|
key: string;
|
|
@@ -285,6 +300,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
285
300
|
file?: File | undefined;
|
|
286
301
|
refUid?: string | undefined;
|
|
287
302
|
format?: string | undefined;
|
|
303
|
+
nullable?: boolean | undefined;
|
|
288
304
|
}, {
|
|
289
305
|
minimum?: number | undefined;
|
|
290
306
|
type?: string | undefined;
|
|
@@ -299,6 +315,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
299
315
|
file?: File | undefined;
|
|
300
316
|
refUid?: string | undefined;
|
|
301
317
|
format?: string | undefined;
|
|
318
|
+
nullable?: boolean | undefined;
|
|
302
319
|
}>, "many">>;
|
|
303
320
|
headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
304
321
|
key: z.ZodDefault<z.ZodString>;
|
|
@@ -315,6 +332,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
315
332
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
316
333
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
317
334
|
default: z.ZodOptional<z.ZodAny>;
|
|
335
|
+
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
318
336
|
}, "strip", z.ZodTypeAny, {
|
|
319
337
|
value: string;
|
|
320
338
|
key: string;
|
|
@@ -329,6 +347,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
329
347
|
file?: File | undefined;
|
|
330
348
|
refUid?: string | undefined;
|
|
331
349
|
format?: string | undefined;
|
|
350
|
+
nullable?: boolean | undefined;
|
|
332
351
|
}, {
|
|
333
352
|
minimum?: number | undefined;
|
|
334
353
|
type?: string | undefined;
|
|
@@ -343,6 +362,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
343
362
|
file?: File | undefined;
|
|
344
363
|
refUid?: string | undefined;
|
|
345
364
|
format?: string | undefined;
|
|
365
|
+
nullable?: boolean | undefined;
|
|
346
366
|
}>, "many">>;
|
|
347
367
|
cookies: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
348
368
|
key: z.ZodDefault<z.ZodString>;
|
|
@@ -359,6 +379,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
359
379
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
360
380
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
361
381
|
default: z.ZodOptional<z.ZodAny>;
|
|
382
|
+
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
362
383
|
}, "strip", z.ZodTypeAny, {
|
|
363
384
|
value: string;
|
|
364
385
|
key: string;
|
|
@@ -373,6 +394,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
373
394
|
file?: File | undefined;
|
|
374
395
|
refUid?: string | undefined;
|
|
375
396
|
format?: string | undefined;
|
|
397
|
+
nullable?: boolean | undefined;
|
|
376
398
|
}, {
|
|
377
399
|
minimum?: number | undefined;
|
|
378
400
|
type?: string | undefined;
|
|
@@ -387,6 +409,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
387
409
|
file?: File | undefined;
|
|
388
410
|
refUid?: string | undefined;
|
|
389
411
|
format?: string | undefined;
|
|
412
|
+
nullable?: boolean | undefined;
|
|
390
413
|
}>, "many">>;
|
|
391
414
|
}, "strip", z.ZodTypeAny, {
|
|
392
415
|
path: {
|
|
@@ -403,6 +426,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
403
426
|
file?: File | undefined;
|
|
404
427
|
refUid?: string | undefined;
|
|
405
428
|
format?: string | undefined;
|
|
429
|
+
nullable?: boolean | undefined;
|
|
406
430
|
}[];
|
|
407
431
|
query: {
|
|
408
432
|
value: string;
|
|
@@ -418,6 +442,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
418
442
|
file?: File | undefined;
|
|
419
443
|
refUid?: string | undefined;
|
|
420
444
|
format?: string | undefined;
|
|
445
|
+
nullable?: boolean | undefined;
|
|
421
446
|
}[];
|
|
422
447
|
cookies: {
|
|
423
448
|
value: string;
|
|
@@ -433,6 +458,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
433
458
|
file?: File | undefined;
|
|
434
459
|
refUid?: string | undefined;
|
|
435
460
|
format?: string | undefined;
|
|
461
|
+
nullable?: boolean | undefined;
|
|
436
462
|
}[];
|
|
437
463
|
headers: {
|
|
438
464
|
value: string;
|
|
@@ -448,6 +474,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
448
474
|
file?: File | undefined;
|
|
449
475
|
refUid?: string | undefined;
|
|
450
476
|
format?: string | undefined;
|
|
477
|
+
nullable?: boolean | undefined;
|
|
451
478
|
}[];
|
|
452
479
|
}, {
|
|
453
480
|
path?: {
|
|
@@ -464,6 +491,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
464
491
|
file?: File | undefined;
|
|
465
492
|
refUid?: string | undefined;
|
|
466
493
|
format?: string | undefined;
|
|
494
|
+
nullable?: boolean | undefined;
|
|
467
495
|
}[] | undefined;
|
|
468
496
|
query?: {
|
|
469
497
|
minimum?: number | undefined;
|
|
@@ -479,6 +507,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
479
507
|
file?: File | undefined;
|
|
480
508
|
refUid?: string | undefined;
|
|
481
509
|
format?: string | undefined;
|
|
510
|
+
nullable?: boolean | undefined;
|
|
482
511
|
}[] | undefined;
|
|
483
512
|
cookies?: {
|
|
484
513
|
minimum?: number | undefined;
|
|
@@ -494,6 +523,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
494
523
|
file?: File | undefined;
|
|
495
524
|
refUid?: string | undefined;
|
|
496
525
|
format?: string | undefined;
|
|
526
|
+
nullable?: boolean | undefined;
|
|
497
527
|
}[] | undefined;
|
|
498
528
|
headers?: {
|
|
499
529
|
minimum?: number | undefined;
|
|
@@ -509,6 +539,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
509
539
|
file?: File | undefined;
|
|
510
540
|
refUid?: string | undefined;
|
|
511
541
|
format?: string | undefined;
|
|
542
|
+
nullable?: boolean | undefined;
|
|
512
543
|
}[] | undefined;
|
|
513
544
|
}>>>;
|
|
514
545
|
auth: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -530,6 +561,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
530
561
|
file?: File | undefined;
|
|
531
562
|
refUid?: string | undefined;
|
|
532
563
|
format?: string | undefined;
|
|
564
|
+
nullable?: boolean | undefined;
|
|
533
565
|
}[];
|
|
534
566
|
query: {
|
|
535
567
|
value: string;
|
|
@@ -545,6 +577,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
545
577
|
file?: File | undefined;
|
|
546
578
|
refUid?: string | undefined;
|
|
547
579
|
format?: string | undefined;
|
|
580
|
+
nullable?: boolean | undefined;
|
|
548
581
|
}[];
|
|
549
582
|
cookies: {
|
|
550
583
|
value: string;
|
|
@@ -560,6 +593,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
560
593
|
file?: File | undefined;
|
|
561
594
|
refUid?: string | undefined;
|
|
562
595
|
format?: string | undefined;
|
|
596
|
+
nullable?: boolean | undefined;
|
|
563
597
|
}[];
|
|
564
598
|
headers: {
|
|
565
599
|
value: string;
|
|
@@ -575,6 +609,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
575
609
|
file?: File | undefined;
|
|
576
610
|
refUid?: string | undefined;
|
|
577
611
|
format?: string | undefined;
|
|
612
|
+
nullable?: boolean | undefined;
|
|
578
613
|
}[];
|
|
579
614
|
};
|
|
580
615
|
requestUid: string;
|
|
@@ -598,6 +633,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
598
633
|
file?: File | undefined;
|
|
599
634
|
refUid?: string | undefined;
|
|
600
635
|
format?: string | undefined;
|
|
636
|
+
nullable?: boolean | undefined;
|
|
601
637
|
}[];
|
|
602
638
|
encoding: "form-data" | "urlencoded";
|
|
603
639
|
};
|
|
@@ -624,6 +660,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
624
660
|
file?: File | undefined;
|
|
625
661
|
refUid?: string | undefined;
|
|
626
662
|
format?: string | undefined;
|
|
663
|
+
nullable?: boolean | undefined;
|
|
627
664
|
}[] | undefined;
|
|
628
665
|
query?: {
|
|
629
666
|
minimum?: number | undefined;
|
|
@@ -639,6 +676,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
639
676
|
file?: File | undefined;
|
|
640
677
|
refUid?: string | undefined;
|
|
641
678
|
format?: string | undefined;
|
|
679
|
+
nullable?: boolean | undefined;
|
|
642
680
|
}[] | undefined;
|
|
643
681
|
cookies?: {
|
|
644
682
|
minimum?: number | undefined;
|
|
@@ -654,6 +692,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
654
692
|
file?: File | undefined;
|
|
655
693
|
refUid?: string | undefined;
|
|
656
694
|
format?: string | undefined;
|
|
695
|
+
nullable?: boolean | undefined;
|
|
657
696
|
}[] | undefined;
|
|
658
697
|
headers?: {
|
|
659
698
|
minimum?: number | undefined;
|
|
@@ -669,6 +708,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
669
708
|
file?: File | undefined;
|
|
670
709
|
refUid?: string | undefined;
|
|
671
710
|
format?: string | undefined;
|
|
711
|
+
nullable?: boolean | undefined;
|
|
672
712
|
}[] | undefined;
|
|
673
713
|
} | undefined;
|
|
674
714
|
body?: {
|
|
@@ -691,6 +731,7 @@ declare const requestExampleSchema: z.ZodObject<{
|
|
|
691
731
|
file?: File | undefined;
|
|
692
732
|
refUid?: string | undefined;
|
|
693
733
|
format?: string | undefined;
|
|
734
|
+
nullable?: boolean | undefined;
|
|
694
735
|
}[] | undefined;
|
|
695
736
|
encoding?: "form-data" | "urlencoded" | undefined;
|
|
696
737
|
} | undefined;
|
|
@@ -721,6 +762,7 @@ export declare const createRequestExample: (payload: RequestExamplePayload) => {
|
|
|
721
762
|
file?: File | undefined;
|
|
722
763
|
refUid?: string | undefined;
|
|
723
764
|
format?: string | undefined;
|
|
765
|
+
nullable?: boolean | undefined;
|
|
724
766
|
}[];
|
|
725
767
|
query: {
|
|
726
768
|
value: string;
|
|
@@ -736,6 +778,7 @@ export declare const createRequestExample: (payload: RequestExamplePayload) => {
|
|
|
736
778
|
file?: File | undefined;
|
|
737
779
|
refUid?: string | undefined;
|
|
738
780
|
format?: string | undefined;
|
|
781
|
+
nullable?: boolean | undefined;
|
|
739
782
|
}[];
|
|
740
783
|
cookies: {
|
|
741
784
|
value: string;
|
|
@@ -751,6 +794,7 @@ export declare const createRequestExample: (payload: RequestExamplePayload) => {
|
|
|
751
794
|
file?: File | undefined;
|
|
752
795
|
refUid?: string | undefined;
|
|
753
796
|
format?: string | undefined;
|
|
797
|
+
nullable?: boolean | undefined;
|
|
754
798
|
}[];
|
|
755
799
|
headers: {
|
|
756
800
|
value: string;
|
|
@@ -766,6 +810,7 @@ export declare const createRequestExample: (payload: RequestExamplePayload) => {
|
|
|
766
810
|
file?: File | undefined;
|
|
767
811
|
refUid?: string | undefined;
|
|
768
812
|
format?: string | undefined;
|
|
813
|
+
nullable?: boolean | undefined;
|
|
769
814
|
}[];
|
|
770
815
|
};
|
|
771
816
|
requestUid: string;
|
|
@@ -789,6 +834,7 @@ export declare const createRequestExample: (payload: RequestExamplePayload) => {
|
|
|
789
834
|
file?: File | undefined;
|
|
790
835
|
refUid?: string | undefined;
|
|
791
836
|
format?: string | undefined;
|
|
837
|
+
nullable?: boolean | undefined;
|
|
792
838
|
}[];
|
|
793
839
|
encoding: "form-data" | "urlencoded";
|
|
794
840
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request-examples.d.ts","sourceRoot":"","sources":["../../../../src/entities/workspace/spec/request-examples.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,QAAA,MAAM,8BAA8B;;;;;;IAMlC,kFAAkF
|
|
1
|
+
{"version":3,"file":"request-examples.d.ts","sourceRoot":"","sources":["../../../../src/entities/workspace/spec/request-examples.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,QAAA,MAAM,8BAA8B;;;;;;IAMlC,kFAAkF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUlF,CAAA;AAEF,kFAAkF;AAClF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAC3C,OAAO,8BAA8B,CACtC,CAAA;AACD,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,8BAA8B,CACtC,CAAA;AAED,8CAA8C;AAC9C,eAAO,MAAM,6BAA6B,YAC/B,8BAA8B;;;;;;;;;;;;;;;CACwB,CAAA;AAEjE,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;gBAzBxB,kFAAkF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAAlF,kFAAkF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAAlF,kFAAkF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAAlF,kFAAkF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAAlF,kFAAkF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyElF,CAAA;AAEF,mDAAmD;AACnD,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AACjE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAExE,oCAAoC;AACpC,eAAO,MAAM,oBAAoB,YAAa,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIhE,CAAA"}
|
|
@@ -17,6 +17,7 @@ const requestExampleParametersSchema = z.object({
|
|
|
17
17
|
minimum: z.number().optional(),
|
|
18
18
|
maximum: z.number().optional(),
|
|
19
19
|
default: z.any().optional(),
|
|
20
|
+
nullable: z.boolean().optional(),
|
|
20
21
|
});
|
|
21
22
|
/** Create request example parameter helper */
|
|
22
23
|
const createRequestExampleParameter = (payload) => deepMerge(requestExampleParametersSchema.parse({}), payload);
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"specification",
|
|
17
17
|
"yaml"
|
|
18
18
|
],
|
|
19
|
-
"version": "0.2.
|
|
19
|
+
"version": "0.2.14",
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">=18"
|
|
22
22
|
},
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"nanoid": "^5.0.7",
|
|
91
91
|
"yaml": "^2.4.5",
|
|
92
92
|
"zod": "^3.22.4",
|
|
93
|
-
"@scalar/themes": "0.9.
|
|
93
|
+
"@scalar/themes": "0.9.14"
|
|
94
94
|
},
|
|
95
95
|
"devDependencies": {
|
|
96
96
|
"@scalar/openapi-parser": "^0.7.2",
|