@kubb/plugin-oas 3.10.9 → 3.10.11

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 (77) hide show
  1. package/dist/{OperationGenerator-BFmQs4BO.d.cts → OperationGenerator-CF1rxGSV.d.ts} +2 -273
  2. package/dist/{OperationGenerator-BFmQs4BO.d.ts → OperationGenerator-DxdJDBEc.d.cts} +2 -273
  3. package/dist/{Schema-Cmvkb9CW.d.ts → Schema-AjebpeVY.d.ts} +1 -1
  4. package/dist/{Schema-BunfYze0.d.cts → Schema-M6983FL1.d.cts} +1 -1
  5. package/dist/SchemaMapper-B21ZmWag.d.cts +275 -0
  6. package/dist/SchemaMapper-B21ZmWag.d.ts +275 -0
  7. package/dist/chunk-6S7YFY6F.js +33 -0
  8. package/dist/chunk-6S7YFY6F.js.map +1 -0
  9. package/dist/chunk-76E35IZ2.js +56 -0
  10. package/dist/chunk-76E35IZ2.js.map +1 -0
  11. package/dist/chunk-DTD4ZUDA.cjs +36 -0
  12. package/dist/chunk-DTD4ZUDA.cjs.map +1 -0
  13. package/dist/{chunk-645JWRLP.js → chunk-HLZZQQYR.js} +33 -91
  14. package/dist/chunk-HLZZQQYR.js.map +1 -0
  15. package/dist/chunk-RSHQODEK.cjs +35 -0
  16. package/dist/chunk-RSHQODEK.cjs.map +1 -0
  17. package/dist/{chunk-Y6YAXTK5.cjs → chunk-S3UPJP7I.cjs} +5 -5
  18. package/dist/chunk-S3UPJP7I.cjs.map +1 -0
  19. package/dist/{chunk-6HG3X5MB.js → chunk-S7ZYTJXL.js} +3 -3
  20. package/dist/chunk-S7ZYTJXL.js.map +1 -0
  21. package/dist/{chunk-CORFYCCW.cjs → chunk-WAB2O4DX.cjs} +116 -176
  22. package/dist/chunk-WAB2O4DX.cjs.map +1 -0
  23. package/dist/chunk-YWMMI3MO.cjs +59 -0
  24. package/dist/chunk-YWMMI3MO.cjs.map +1 -0
  25. package/dist/chunk-Z4S5R2AE.js +29 -0
  26. package/dist/chunk-Z4S5R2AE.js.map +1 -0
  27. package/dist/components.cjs +0 -1
  28. package/dist/components.d.cts +4 -3
  29. package/dist/components.d.ts +4 -3
  30. package/dist/components.js +0 -1
  31. package/dist/generators.cjs +3 -5
  32. package/dist/generators.d.cts +2 -1
  33. package/dist/generators.d.ts +2 -1
  34. package/dist/generators.js +2 -4
  35. package/dist/hooks.cjs +3 -2
  36. package/dist/hooks.cjs.map +1 -1
  37. package/dist/hooks.d.cts +3 -2
  38. package/dist/hooks.d.ts +3 -2
  39. package/dist/hooks.js +2 -1
  40. package/dist/hooks.js.map +1 -1
  41. package/dist/index.cjs +13 -12
  42. package/dist/index.cjs.map +1 -1
  43. package/dist/index.d.cts +3 -2
  44. package/dist/index.d.ts +3 -2
  45. package/dist/index.js +7 -6
  46. package/dist/index.js.map +1 -1
  47. package/dist/mocks.cjs +733 -0
  48. package/dist/mocks.cjs.map +1 -0
  49. package/dist/mocks.d.cts +15 -0
  50. package/dist/mocks.d.ts +15 -0
  51. package/dist/mocks.js +731 -0
  52. package/dist/mocks.js.map +1 -0
  53. package/dist/utils.cjs +61 -18
  54. package/dist/utils.cjs.map +1 -1
  55. package/dist/utils.d.cts +2 -1
  56. package/dist/utils.d.ts +2 -1
  57. package/dist/utils.js +51 -1
  58. package/dist/utils.js.map +1 -1
  59. package/package.json +16 -8
  60. package/src/SchemaGenerator.ts +32 -40
  61. package/src/generator.tsx +1 -1
  62. package/src/generators/jsonGenerator.ts +2 -1
  63. package/src/mocks/index.ts +1 -0
  64. package/src/mocks/schemas.ts +728 -0
  65. package/src/utils/parseFromConfig.ts +1 -1
  66. package/dist/chunk-645JWRLP.js.map +0 -1
  67. package/dist/chunk-6HG3X5MB.js.map +0 -1
  68. package/dist/chunk-CORFYCCW.cjs.map +0 -1
  69. package/dist/chunk-DEDONPUL.cjs +0 -114
  70. package/dist/chunk-DEDONPUL.cjs.map +0 -1
  71. package/dist/chunk-PADR76WZ.cjs +0 -4
  72. package/dist/chunk-PADR76WZ.cjs.map +0 -1
  73. package/dist/chunk-QPFZUPQA.js +0 -100
  74. package/dist/chunk-QPFZUPQA.js.map +0 -1
  75. package/dist/chunk-R47XMJ32.js +0 -3
  76. package/dist/chunk-R47XMJ32.js.map +0 -1
  77. package/dist/chunk-Y6YAXTK5.cjs.map +0 -1
package/dist/mocks.js ADDED
@@ -0,0 +1,731 @@
1
+ import { schemaKeywords } from './chunk-76E35IZ2.js';
2
+
3
+ // src/mocks/schemas.ts
4
+ var basic = [
5
+ {
6
+ name: "any",
7
+ schema: {
8
+ keyword: schemaKeywords.any
9
+ }
10
+ },
11
+ {
12
+ name: "unknown",
13
+ schema: {
14
+ keyword: schemaKeywords.unknown
15
+ }
16
+ },
17
+ {
18
+ name: "string",
19
+ schema: {
20
+ keyword: schemaKeywords.string
21
+ }
22
+ },
23
+ {
24
+ name: "number",
25
+ schema: {
26
+ keyword: schemaKeywords.number
27
+ }
28
+ },
29
+ {
30
+ name: "integer",
31
+ schema: {
32
+ keyword: schemaKeywords.integer
33
+ }
34
+ },
35
+ {
36
+ name: "boolean",
37
+ schema: {
38
+ keyword: schemaKeywords.boolean
39
+ }
40
+ },
41
+ {
42
+ name: "primitiveDate",
43
+ schema: {
44
+ keyword: schemaKeywords.date,
45
+ args: {
46
+ type: "date"
47
+ }
48
+ }
49
+ },
50
+ {
51
+ name: "date",
52
+ schema: {
53
+ keyword: schemaKeywords.date,
54
+ args: {
55
+ type: "string"
56
+ }
57
+ }
58
+ },
59
+ {
60
+ name: "time",
61
+ schema: {
62
+ keyword: schemaKeywords.time,
63
+ args: {
64
+ type: "string"
65
+ }
66
+ }
67
+ },
68
+ {
69
+ name: "stringOffset",
70
+ schema: {
71
+ keyword: schemaKeywords.datetime,
72
+ args: {
73
+ offset: true
74
+ }
75
+ }
76
+ },
77
+ {
78
+ name: "stringLocal",
79
+ schema: {
80
+ keyword: schemaKeywords.datetime,
81
+ args: {
82
+ local: true
83
+ }
84
+ }
85
+ },
86
+ {
87
+ name: "datetime",
88
+ schema: {
89
+ keyword: schemaKeywords.datetime,
90
+ args: {
91
+ offset: false
92
+ }
93
+ }
94
+ },
95
+ {
96
+ name: "nullable",
97
+ schema: {
98
+ keyword: schemaKeywords.nullable
99
+ }
100
+ },
101
+ {
102
+ name: "undefined",
103
+ schema: {
104
+ keyword: schemaKeywords.undefined
105
+ }
106
+ },
107
+ {
108
+ name: "min",
109
+ schema: {
110
+ keyword: schemaKeywords.min,
111
+ args: 2
112
+ }
113
+ },
114
+ {
115
+ name: "max",
116
+ schema: {
117
+ keyword: schemaKeywords.max,
118
+ args: 2
119
+ }
120
+ },
121
+ {
122
+ name: "matchesReg",
123
+ schema: {
124
+ keyword: schemaKeywords.matches,
125
+ args: "/node_modules/"
126
+ // pure regexp
127
+ }
128
+ },
129
+ {
130
+ name: "matches",
131
+ schema: {
132
+ keyword: schemaKeywords.matches,
133
+ args: "^[A-Z]{2}$"
134
+ }
135
+ },
136
+ {
137
+ name: "ref",
138
+ schema: {
139
+ keyword: schemaKeywords.ref,
140
+ args: {
141
+ $ref: "$ref",
142
+ name: "Pet",
143
+ path: "./pet.ts",
144
+ isImportable: true
145
+ }
146
+ }
147
+ },
148
+ {
149
+ name: "enum",
150
+ schema: {
151
+ keyword: schemaKeywords.enum,
152
+ args: {
153
+ name: "enum",
154
+ typeName: "Enum",
155
+ asConst: false,
156
+ items: [
157
+ { name: "A", value: "A", format: schemaKeywords.string },
158
+ { name: "B", value: "B", format: schemaKeywords.string },
159
+ { name: "C", value: "C", format: schemaKeywords.string },
160
+ { name: 2, value: 2, format: schemaKeywords.number }
161
+ ]
162
+ }
163
+ }
164
+ },
165
+ {
166
+ name: "enumLiteralBoolean",
167
+ schema: {
168
+ keyword: schemaKeywords.enum,
169
+ args: {
170
+ asConst: true,
171
+ items: [
172
+ {
173
+ format: "boolean",
174
+ name: "true",
175
+ value: true
176
+ },
177
+ {
178
+ format: "boolean",
179
+ name: "false",
180
+ value: false
181
+ }
182
+ ],
183
+ name: "PetEnumLiteral",
184
+ typeName: "PetEnumLiteral"
185
+ }
186
+ }
187
+ },
188
+ {
189
+ name: "tuple",
190
+ schema: {
191
+ keyword: schemaKeywords.tuple,
192
+ args: {
193
+ items: []
194
+ }
195
+ }
196
+ },
197
+ {
198
+ name: "tupleMulti",
199
+ schema: {
200
+ keyword: schemaKeywords.tuple,
201
+ args: {
202
+ items: [{ keyword: schemaKeywords.string }, { keyword: schemaKeywords.number }]
203
+ }
204
+ }
205
+ },
206
+ {
207
+ name: "array",
208
+ schema: {
209
+ keyword: schemaKeywords.array,
210
+ args: {
211
+ items: [
212
+ {
213
+ keyword: schemaKeywords.union,
214
+ args: [{ keyword: schemaKeywords.number }, { keyword: schemaKeywords.string }]
215
+ }
216
+ ]
217
+ }
218
+ }
219
+ },
220
+ {
221
+ name: "arrayEmpty",
222
+ schema: {
223
+ keyword: schemaKeywords.array,
224
+ args: {
225
+ items: []
226
+ }
227
+ }
228
+ },
229
+ {
230
+ name: "arrayRef",
231
+ schema: {
232
+ keyword: schemaKeywords.array,
233
+ args: {
234
+ items: [
235
+ {
236
+ keyword: schemaKeywords.ref,
237
+ args: { name: "Pet", $ref: "#component/schema/Pet", path: "./pet.ts", isImportable: true }
238
+ }
239
+ ]
240
+ }
241
+ }
242
+ },
243
+ {
244
+ name: "arrayAdvanced",
245
+ schema: {
246
+ keyword: schemaKeywords.array,
247
+ args: {
248
+ items: [{ keyword: schemaKeywords.min, args: 1 }, { keyword: schemaKeywords.max, args: 10 }, { keyword: schemaKeywords.number }],
249
+ min: 3,
250
+ max: 10
251
+ }
252
+ }
253
+ },
254
+ {
255
+ name: "arrayRegex",
256
+ schema: {
257
+ keyword: schemaKeywords.array,
258
+ args: {
259
+ items: [{ keyword: schemaKeywords.matches, args: "^[a-zA-Z0-9]{1,13}$" }],
260
+ min: 3,
261
+ max: 10
262
+ }
263
+ }
264
+ },
265
+ {
266
+ name: "union",
267
+ schema: {
268
+ keyword: schemaKeywords.union,
269
+ args: [{ keyword: schemaKeywords.string }, { keyword: schemaKeywords.number }]
270
+ }
271
+ },
272
+ {
273
+ name: "unionOne",
274
+ schema: {
275
+ keyword: schemaKeywords.union,
276
+ args: [{ keyword: schemaKeywords.string }]
277
+ }
278
+ },
279
+ {
280
+ name: "catchall",
281
+ schema: {
282
+ keyword: schemaKeywords.object,
283
+ args: {
284
+ properties: {},
285
+ additionalProperties: [
286
+ {
287
+ keyword: schemaKeywords.ref,
288
+ args: { name: "Pet", $ref: "#component/schema/Pet", path: "./Pet.ts", isImportable: true }
289
+ }
290
+ ]
291
+ }
292
+ }
293
+ },
294
+ {
295
+ name: "and",
296
+ schema: {
297
+ keyword: schemaKeywords.and,
298
+ args: [{ keyword: schemaKeywords.string }, { keyword: schemaKeywords.number }]
299
+ }
300
+ },
301
+ {
302
+ name: "object",
303
+ schema: {
304
+ keyword: schemaKeywords.object,
305
+ args: {
306
+ properties: {
307
+ firstName: [{ keyword: schemaKeywords.string }, { keyword: schemaKeywords.min, args: 2 }],
308
+ address: [{ keyword: schemaKeywords.string }, { keyword: schemaKeywords.nullable }, { keyword: schemaKeywords.describe, args: '"Your address"' }]
309
+ },
310
+ additionalProperties: []
311
+ }
312
+ }
313
+ },
314
+ {
315
+ name: "objectOptional",
316
+ schema: {
317
+ keyword: schemaKeywords.object,
318
+ args: {
319
+ properties: {
320
+ firstName: [{ keyword: schemaKeywords.string }, { keyword: schemaKeywords.optional }, { keyword: schemaKeywords.min, args: 2 }],
321
+ address: [{ keyword: schemaKeywords.string }, { keyword: schemaKeywords.nullable }, { keyword: schemaKeywords.describe, args: '"Your address"' }]
322
+ },
323
+ additionalProperties: []
324
+ }
325
+ }
326
+ },
327
+ {
328
+ name: "objectArray",
329
+ schema: {
330
+ keyword: schemaKeywords.object,
331
+ args: {
332
+ properties: {
333
+ ids: [
334
+ {
335
+ keyword: schemaKeywords.array,
336
+ args: {
337
+ items: [{ keyword: schemaKeywords.matches, args: "^[a-zA-Z0-9]{1,13}$" }],
338
+ min: 3,
339
+ max: 10
340
+ }
341
+ }
342
+ ]
343
+ },
344
+ additionalProperties: []
345
+ }
346
+ }
347
+ },
348
+ {
349
+ name: "objectDates",
350
+ schema: {
351
+ keyword: schemaKeywords.object,
352
+ args: {
353
+ properties: {
354
+ dateTime: [{ keyword: schemaKeywords.datetime, args: { offset: true } }],
355
+ date: [{ keyword: schemaKeywords.date, args: { type: "string" } }],
356
+ time: [{ keyword: schemaKeywords.time, args: { type: "string" } }],
357
+ nativeDate: [{ keyword: schemaKeywords.date, args: { type: "date" } }]
358
+ },
359
+ additionalProperties: []
360
+ }
361
+ }
362
+ },
363
+ {
364
+ name: "objectAnd",
365
+ schema: {
366
+ keyword: schemaKeywords.object,
367
+ args: {
368
+ properties: {
369
+ firstName: [
370
+ { keyword: schemaKeywords.deprecated },
371
+ { keyword: schemaKeywords.default, args: "test" },
372
+ {
373
+ keyword: schemaKeywords.min,
374
+ args: 2
375
+ },
376
+ {
377
+ keyword: schemaKeywords.string
378
+ }
379
+ ],
380
+ age: [
381
+ { keyword: schemaKeywords.example, args: "2" },
382
+ { keyword: schemaKeywords.default, args: 2 },
383
+ {
384
+ keyword: schemaKeywords.min,
385
+ args: 3
386
+ },
387
+ {
388
+ keyword: schemaKeywords.number
389
+ }
390
+ ],
391
+ address: [
392
+ {
393
+ keyword: schemaKeywords.and,
394
+ args: [{ keyword: schemaKeywords.string }, { keyword: schemaKeywords.number }]
395
+ },
396
+ { keyword: schemaKeywords.nullable },
397
+ { keyword: schemaKeywords.describe, args: "Your address" }
398
+ ]
399
+ },
400
+ additionalProperties: []
401
+ }
402
+ }
403
+ },
404
+ {
405
+ name: "objectEnum",
406
+ schema: {
407
+ keyword: schemaKeywords.object,
408
+ args: {
409
+ properties: {
410
+ version: [
411
+ {
412
+ keyword: schemaKeywords.schema,
413
+ args: {
414
+ format: "string",
415
+ type: "string"
416
+ }
417
+ },
418
+ {
419
+ keyword: schemaKeywords.enum,
420
+ args: {
421
+ name: "enum",
422
+ typeName: "Enum",
423
+ asConst: false,
424
+ items: [
425
+ { name: "A", value: "A", format: schemaKeywords.string },
426
+ { name: "B", value: "B", format: schemaKeywords.string },
427
+ { name: "C", value: "C", format: schemaKeywords.string },
428
+ { name: 2, value: 2, format: schemaKeywords.number }
429
+ ]
430
+ }
431
+ },
432
+ {
433
+ keyword: schemaKeywords.min,
434
+ args: 4
435
+ },
436
+ { keyword: schemaKeywords.describe, args: "Your address" }
437
+ ]
438
+ },
439
+ additionalProperties: []
440
+ }
441
+ }
442
+ },
443
+ {
444
+ name: "objectArrayObject",
445
+ schema: {
446
+ keyword: schemaKeywords.object,
447
+ args: {
448
+ properties: {
449
+ ids: [
450
+ {
451
+ keyword: schemaKeywords.array,
452
+ args: {
453
+ items: [
454
+ {
455
+ keyword: schemaKeywords.object,
456
+ args: {
457
+ properties: {
458
+ enum: [
459
+ {
460
+ keyword: schemaKeywords.schema,
461
+ args: {
462
+ format: "string",
463
+ type: "string"
464
+ }
465
+ },
466
+ {
467
+ keyword: schemaKeywords.enum,
468
+ args: {
469
+ name: "enum",
470
+ typeName: "Enum",
471
+ asConst: false,
472
+ items: [
473
+ { name: "A", value: "A", format: schemaKeywords.string },
474
+ { name: "B", value: "B", format: schemaKeywords.string },
475
+ { name: "C", value: "C", format: schemaKeywords.string },
476
+ { name: 2, value: 2, format: schemaKeywords.number }
477
+ ]
478
+ }
479
+ }
480
+ ]
481
+ },
482
+ additionalProperties: []
483
+ }
484
+ }
485
+ ],
486
+ min: 3,
487
+ max: 10
488
+ }
489
+ }
490
+ ]
491
+ },
492
+ additionalProperties: []
493
+ }
494
+ }
495
+ },
496
+ {
497
+ name: "objectEmpty",
498
+ schema: {
499
+ keyword: schemaKeywords.object,
500
+ args: {
501
+ properties: {},
502
+ additionalProperties: []
503
+ }
504
+ }
505
+ },
506
+ {
507
+ name: "default",
508
+ schema: {
509
+ keyword: schemaKeywords.default
510
+ }
511
+ },
512
+ {
513
+ name: "default",
514
+ schema: {
515
+ keyword: schemaKeywords.default,
516
+ args: "default"
517
+ }
518
+ },
519
+ {
520
+ name: "blob",
521
+ schema: {
522
+ keyword: schemaKeywords.blob
523
+ }
524
+ },
525
+ {
526
+ name: "nullableAdditionalProperties",
527
+ schema: {
528
+ keyword: schemaKeywords.object,
529
+ args: {
530
+ properties: {},
531
+ additionalProperties: [
532
+ {
533
+ keyword: schemaKeywords.string
534
+ },
535
+ {
536
+ args: {
537
+ format: void 0,
538
+ type: schemaKeywords.string
539
+ },
540
+ keyword: schemaKeywords.schema
541
+ },
542
+ {
543
+ keyword: schemaKeywords.nullable
544
+ }
545
+ ]
546
+ }
547
+ }
548
+ }
549
+ ];
550
+ var full = [
551
+ {
552
+ name: "Upload",
553
+ schema: [
554
+ {
555
+ keyword: schemaKeywords.blob
556
+ }
557
+ ]
558
+ },
559
+ {
560
+ name: "PageSizeNumber",
561
+ schema: [
562
+ {
563
+ keyword: schemaKeywords.number
564
+ },
565
+ {
566
+ keyword: schemaKeywords.default,
567
+ args: 10
568
+ }
569
+ ]
570
+ },
571
+ {
572
+ name: "PageSizeInteger",
573
+ schema: [
574
+ {
575
+ keyword: schemaKeywords.integer
576
+ },
577
+ {
578
+ keyword: schemaKeywords.default,
579
+ args: 10
580
+ }
581
+ ]
582
+ },
583
+ {
584
+ name: "Object",
585
+ schema: [
586
+ { keyword: schemaKeywords.nullable },
587
+ { keyword: schemaKeywords.describe, args: "Your address" },
588
+ {
589
+ keyword: schemaKeywords.object,
590
+ args: {
591
+ properties: {
592
+ firstName: [
593
+ { keyword: schemaKeywords.deprecated },
594
+ { keyword: schemaKeywords.default, args: "test" },
595
+ {
596
+ keyword: schemaKeywords.min,
597
+ args: 2
598
+ },
599
+ {
600
+ keyword: schemaKeywords.string
601
+ }
602
+ ],
603
+ age: [
604
+ { keyword: schemaKeywords.example, args: "2" },
605
+ { keyword: schemaKeywords.default, args: 2 },
606
+ {
607
+ keyword: schemaKeywords.min,
608
+ args: 2
609
+ },
610
+ {
611
+ keyword: schemaKeywords.number
612
+ }
613
+ ],
614
+ address: [
615
+ {
616
+ keyword: schemaKeywords.and,
617
+ args: [{ keyword: schemaKeywords.string }, { keyword: schemaKeywords.number }]
618
+ },
619
+ { keyword: schemaKeywords.nullable },
620
+ { keyword: schemaKeywords.describe, args: "Your address" }
621
+ ]
622
+ },
623
+ additionalProperties: []
624
+ }
625
+ }
626
+ ]
627
+ },
628
+ {
629
+ name: "Order",
630
+ schema: [
631
+ {
632
+ keyword: schemaKeywords.schema,
633
+ args: {
634
+ type: "object"
635
+ }
636
+ },
637
+ {
638
+ keyword: schemaKeywords.object,
639
+ args: {
640
+ properties: {
641
+ status: [
642
+ {
643
+ keyword: schemaKeywords.enum,
644
+ args: {
645
+ name: "orderStatus",
646
+ asConst: false,
647
+ typeName: "OrderStatus",
648
+ items: [
649
+ { name: "Placed", value: "placed", format: "string" },
650
+ { name: "Approved", value: "approved", format: "string" }
651
+ ]
652
+ }
653
+ }
654
+ ]
655
+ },
656
+ additionalProperties: []
657
+ }
658
+ }
659
+ ]
660
+ },
661
+ {
662
+ name: "nullableAdditionalProperties",
663
+ schema: [
664
+ {
665
+ keyword: schemaKeywords.object,
666
+ args: {
667
+ properties: {},
668
+ additionalProperties: [
669
+ {
670
+ keyword: schemaKeywords.string
671
+ },
672
+ {
673
+ args: {
674
+ format: void 0,
675
+ type: schemaKeywords.string
676
+ },
677
+ keyword: schemaKeywords.schema
678
+ },
679
+ {
680
+ keyword: schemaKeywords.number
681
+ }
682
+ ]
683
+ }
684
+ }
685
+ ]
686
+ },
687
+ {
688
+ name: "Record",
689
+ schema: [
690
+ {
691
+ keyword: schemaKeywords.object,
692
+ args: {
693
+ properties: {},
694
+ additionalProperties: [
695
+ {
696
+ keyword: schemaKeywords.integer
697
+ },
698
+ {
699
+ keyword: schemaKeywords.schema,
700
+ args: {
701
+ type: "integer",
702
+ format: "int32"
703
+ }
704
+ },
705
+ {
706
+ keyword: schemaKeywords.optional
707
+ }
708
+ ]
709
+ }
710
+ },
711
+ {
712
+ keyword: schemaKeywords.schema,
713
+ args: {
714
+ type: "integer",
715
+ format: "int32"
716
+ }
717
+ },
718
+ {
719
+ keyword: schemaKeywords.optional
720
+ }
721
+ ]
722
+ }
723
+ ];
724
+ var schemas = {
725
+ basic,
726
+ full
727
+ };
728
+
729
+ export { schemas };
730
+ //# sourceMappingURL=mocks.js.map
731
+ //# sourceMappingURL=mocks.js.map