@mintlify/validation 0.1.606 → 0.1.607

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.
@@ -97,6 +97,13 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
97
97
  prefill?: boolean | undefined;
98
98
  autogenerate?: boolean | undefined;
99
99
  }>>;
100
+ spec: z.ZodOptional<z.ZodObject<{
101
+ download: z.ZodOptional<z.ZodBoolean>;
102
+ }, "strip", z.ZodTypeAny, {
103
+ download?: boolean | undefined;
104
+ }, {
105
+ download?: boolean | undefined;
106
+ }>>;
100
107
  mdx: z.ZodOptional<z.ZodObject<{
101
108
  auth: z.ZodOptional<z.ZodObject<{
102
109
  method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
@@ -144,6 +151,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
144
151
  prefill?: boolean | undefined;
145
152
  autogenerate?: boolean | undefined;
146
153
  } | undefined;
154
+ spec?: {
155
+ download?: boolean | undefined;
156
+ } | undefined;
147
157
  mdx?: {
148
158
  server?: string | string[] | undefined;
149
159
  auth?: {
@@ -173,6 +183,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
173
183
  prefill?: boolean | undefined;
174
184
  autogenerate?: boolean | undefined;
175
185
  } | undefined;
186
+ spec?: {
187
+ download?: boolean | undefined;
188
+ } | undefined;
176
189
  mdx?: {
177
190
  server?: string | string[] | undefined;
178
191
  auth?: {
@@ -1624,6 +1637,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
1624
1637
  prefill?: boolean | undefined;
1625
1638
  autogenerate?: boolean | undefined;
1626
1639
  } | undefined;
1640
+ spec?: {
1641
+ download?: boolean | undefined;
1642
+ } | undefined;
1627
1643
  mdx?: {
1628
1644
  server?: string | string[] | undefined;
1629
1645
  auth?: {
@@ -1972,6 +1988,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
1972
1988
  prefill?: boolean | undefined;
1973
1989
  autogenerate?: boolean | undefined;
1974
1990
  } | undefined;
1991
+ spec?: {
1992
+ download?: boolean | undefined;
1993
+ } | undefined;
1975
1994
  mdx?: {
1976
1995
  server?: string | string[] | undefined;
1977
1996
  auth?: {
@@ -2292,6 +2311,13 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
2292
2311
  prefill?: boolean | undefined;
2293
2312
  autogenerate?: boolean | undefined;
2294
2313
  }>>;
2314
+ spec: z.ZodOptional<z.ZodObject<{
2315
+ download: z.ZodOptional<z.ZodBoolean>;
2316
+ }, "strip", z.ZodTypeAny, {
2317
+ download?: boolean | undefined;
2318
+ }, {
2319
+ download?: boolean | undefined;
2320
+ }>>;
2295
2321
  mdx: z.ZodOptional<z.ZodObject<{
2296
2322
  auth: z.ZodOptional<z.ZodObject<{
2297
2323
  method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
@@ -2339,6 +2365,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
2339
2365
  prefill?: boolean | undefined;
2340
2366
  autogenerate?: boolean | undefined;
2341
2367
  } | undefined;
2368
+ spec?: {
2369
+ download?: boolean | undefined;
2370
+ } | undefined;
2342
2371
  mdx?: {
2343
2372
  server?: string | string[] | undefined;
2344
2373
  auth?: {
@@ -2368,6 +2397,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
2368
2397
  prefill?: boolean | undefined;
2369
2398
  autogenerate?: boolean | undefined;
2370
2399
  } | undefined;
2400
+ spec?: {
2401
+ download?: boolean | undefined;
2402
+ } | undefined;
2371
2403
  mdx?: {
2372
2404
  server?: string | string[] | undefined;
2373
2405
  auth?: {
@@ -3819,6 +3851,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
3819
3851
  prefill?: boolean | undefined;
3820
3852
  autogenerate?: boolean | undefined;
3821
3853
  } | undefined;
3854
+ spec?: {
3855
+ download?: boolean | undefined;
3856
+ } | undefined;
3822
3857
  mdx?: {
3823
3858
  server?: string | string[] | undefined;
3824
3859
  auth?: {
@@ -4167,6 +4202,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
4167
4202
  prefill?: boolean | undefined;
4168
4203
  autogenerate?: boolean | undefined;
4169
4204
  } | undefined;
4205
+ spec?: {
4206
+ download?: boolean | undefined;
4207
+ } | undefined;
4170
4208
  mdx?: {
4171
4209
  server?: string | string[] | undefined;
4172
4210
  auth?: {
@@ -4487,6 +4525,13 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
4487
4525
  prefill?: boolean | undefined;
4488
4526
  autogenerate?: boolean | undefined;
4489
4527
  }>>;
4528
+ spec: z.ZodOptional<z.ZodObject<{
4529
+ download: z.ZodOptional<z.ZodBoolean>;
4530
+ }, "strip", z.ZodTypeAny, {
4531
+ download?: boolean | undefined;
4532
+ }, {
4533
+ download?: boolean | undefined;
4534
+ }>>;
4490
4535
  mdx: z.ZodOptional<z.ZodObject<{
4491
4536
  auth: z.ZodOptional<z.ZodObject<{
4492
4537
  method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
@@ -4534,6 +4579,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
4534
4579
  prefill?: boolean | undefined;
4535
4580
  autogenerate?: boolean | undefined;
4536
4581
  } | undefined;
4582
+ spec?: {
4583
+ download?: boolean | undefined;
4584
+ } | undefined;
4537
4585
  mdx?: {
4538
4586
  server?: string | string[] | undefined;
4539
4587
  auth?: {
@@ -4563,6 +4611,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
4563
4611
  prefill?: boolean | undefined;
4564
4612
  autogenerate?: boolean | undefined;
4565
4613
  } | undefined;
4614
+ spec?: {
4615
+ download?: boolean | undefined;
4616
+ } | undefined;
4566
4617
  mdx?: {
4567
4618
  server?: string | string[] | undefined;
4568
4619
  auth?: {
@@ -6014,6 +6065,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
6014
6065
  prefill?: boolean | undefined;
6015
6066
  autogenerate?: boolean | undefined;
6016
6067
  } | undefined;
6068
+ spec?: {
6069
+ download?: boolean | undefined;
6070
+ } | undefined;
6017
6071
  mdx?: {
6018
6072
  server?: string | string[] | undefined;
6019
6073
  auth?: {
@@ -6362,6 +6416,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
6362
6416
  prefill?: boolean | undefined;
6363
6417
  autogenerate?: boolean | undefined;
6364
6418
  } | undefined;
6419
+ spec?: {
6420
+ download?: boolean | undefined;
6421
+ } | undefined;
6365
6422
  mdx?: {
6366
6423
  server?: string | string[] | undefined;
6367
6424
  auth?: {
@@ -6682,6 +6739,13 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
6682
6739
  prefill?: boolean | undefined;
6683
6740
  autogenerate?: boolean | undefined;
6684
6741
  }>>;
6742
+ spec: z.ZodOptional<z.ZodObject<{
6743
+ download: z.ZodOptional<z.ZodBoolean>;
6744
+ }, "strip", z.ZodTypeAny, {
6745
+ download?: boolean | undefined;
6746
+ }, {
6747
+ download?: boolean | undefined;
6748
+ }>>;
6685
6749
  mdx: z.ZodOptional<z.ZodObject<{
6686
6750
  auth: z.ZodOptional<z.ZodObject<{
6687
6751
  method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
@@ -6729,6 +6793,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
6729
6793
  prefill?: boolean | undefined;
6730
6794
  autogenerate?: boolean | undefined;
6731
6795
  } | undefined;
6796
+ spec?: {
6797
+ download?: boolean | undefined;
6798
+ } | undefined;
6732
6799
  mdx?: {
6733
6800
  server?: string | string[] | undefined;
6734
6801
  auth?: {
@@ -6758,6 +6825,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
6758
6825
  prefill?: boolean | undefined;
6759
6826
  autogenerate?: boolean | undefined;
6760
6827
  } | undefined;
6828
+ spec?: {
6829
+ download?: boolean | undefined;
6830
+ } | undefined;
6761
6831
  mdx?: {
6762
6832
  server?: string | string[] | undefined;
6763
6833
  auth?: {
@@ -8209,6 +8279,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
8209
8279
  prefill?: boolean | undefined;
8210
8280
  autogenerate?: boolean | undefined;
8211
8281
  } | undefined;
8282
+ spec?: {
8283
+ download?: boolean | undefined;
8284
+ } | undefined;
8212
8285
  mdx?: {
8213
8286
  server?: string | string[] | undefined;
8214
8287
  auth?: {
@@ -8557,6 +8630,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
8557
8630
  prefill?: boolean | undefined;
8558
8631
  autogenerate?: boolean | undefined;
8559
8632
  } | undefined;
8633
+ spec?: {
8634
+ download?: boolean | undefined;
8635
+ } | undefined;
8560
8636
  mdx?: {
8561
8637
  server?: string | string[] | undefined;
8562
8638
  auth?: {
@@ -8877,6 +8953,13 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
8877
8953
  prefill?: boolean | undefined;
8878
8954
  autogenerate?: boolean | undefined;
8879
8955
  }>>;
8956
+ spec: z.ZodOptional<z.ZodObject<{
8957
+ download: z.ZodOptional<z.ZodBoolean>;
8958
+ }, "strip", z.ZodTypeAny, {
8959
+ download?: boolean | undefined;
8960
+ }, {
8961
+ download?: boolean | undefined;
8962
+ }>>;
8880
8963
  mdx: z.ZodOptional<z.ZodObject<{
8881
8964
  auth: z.ZodOptional<z.ZodObject<{
8882
8965
  method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
@@ -8924,6 +9007,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
8924
9007
  prefill?: boolean | undefined;
8925
9008
  autogenerate?: boolean | undefined;
8926
9009
  } | undefined;
9010
+ spec?: {
9011
+ download?: boolean | undefined;
9012
+ } | undefined;
8927
9013
  mdx?: {
8928
9014
  server?: string | string[] | undefined;
8929
9015
  auth?: {
@@ -8953,6 +9039,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
8953
9039
  prefill?: boolean | undefined;
8954
9040
  autogenerate?: boolean | undefined;
8955
9041
  } | undefined;
9042
+ spec?: {
9043
+ download?: boolean | undefined;
9044
+ } | undefined;
8956
9045
  mdx?: {
8957
9046
  server?: string | string[] | undefined;
8958
9047
  auth?: {
@@ -10404,6 +10493,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
10404
10493
  prefill?: boolean | undefined;
10405
10494
  autogenerate?: boolean | undefined;
10406
10495
  } | undefined;
10496
+ spec?: {
10497
+ download?: boolean | undefined;
10498
+ } | undefined;
10407
10499
  mdx?: {
10408
10500
  server?: string | string[] | undefined;
10409
10501
  auth?: {
@@ -10752,6 +10844,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
10752
10844
  prefill?: boolean | undefined;
10753
10845
  autogenerate?: boolean | undefined;
10754
10846
  } | undefined;
10847
+ spec?: {
10848
+ download?: boolean | undefined;
10849
+ } | undefined;
10755
10850
  mdx?: {
10756
10851
  server?: string | string[] | undefined;
10757
10852
  auth?: {
@@ -11072,6 +11167,13 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
11072
11167
  prefill?: boolean | undefined;
11073
11168
  autogenerate?: boolean | undefined;
11074
11169
  }>>;
11170
+ spec: z.ZodOptional<z.ZodObject<{
11171
+ download: z.ZodOptional<z.ZodBoolean>;
11172
+ }, "strip", z.ZodTypeAny, {
11173
+ download?: boolean | undefined;
11174
+ }, {
11175
+ download?: boolean | undefined;
11176
+ }>>;
11075
11177
  mdx: z.ZodOptional<z.ZodObject<{
11076
11178
  auth: z.ZodOptional<z.ZodObject<{
11077
11179
  method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
@@ -11119,6 +11221,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
11119
11221
  prefill?: boolean | undefined;
11120
11222
  autogenerate?: boolean | undefined;
11121
11223
  } | undefined;
11224
+ spec?: {
11225
+ download?: boolean | undefined;
11226
+ } | undefined;
11122
11227
  mdx?: {
11123
11228
  server?: string | string[] | undefined;
11124
11229
  auth?: {
@@ -11148,6 +11253,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
11148
11253
  prefill?: boolean | undefined;
11149
11254
  autogenerate?: boolean | undefined;
11150
11255
  } | undefined;
11256
+ spec?: {
11257
+ download?: boolean | undefined;
11258
+ } | undefined;
11151
11259
  mdx?: {
11152
11260
  server?: string | string[] | undefined;
11153
11261
  auth?: {
@@ -12599,6 +12707,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
12599
12707
  prefill?: boolean | undefined;
12600
12708
  autogenerate?: boolean | undefined;
12601
12709
  } | undefined;
12710
+ spec?: {
12711
+ download?: boolean | undefined;
12712
+ } | undefined;
12602
12713
  mdx?: {
12603
12714
  server?: string | string[] | undefined;
12604
12715
  auth?: {
@@ -12947,6 +13058,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
12947
13058
  prefill?: boolean | undefined;
12948
13059
  autogenerate?: boolean | undefined;
12949
13060
  } | undefined;
13061
+ spec?: {
13062
+ download?: boolean | undefined;
13063
+ } | undefined;
12950
13064
  mdx?: {
12951
13065
  server?: string | string[] | undefined;
12952
13066
  auth?: {
@@ -13267,6 +13381,13 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
13267
13381
  prefill?: boolean | undefined;
13268
13382
  autogenerate?: boolean | undefined;
13269
13383
  }>>;
13384
+ spec: z.ZodOptional<z.ZodObject<{
13385
+ download: z.ZodOptional<z.ZodBoolean>;
13386
+ }, "strip", z.ZodTypeAny, {
13387
+ download?: boolean | undefined;
13388
+ }, {
13389
+ download?: boolean | undefined;
13390
+ }>>;
13270
13391
  mdx: z.ZodOptional<z.ZodObject<{
13271
13392
  auth: z.ZodOptional<z.ZodObject<{
13272
13393
  method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
@@ -13314,6 +13435,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
13314
13435
  prefill?: boolean | undefined;
13315
13436
  autogenerate?: boolean | undefined;
13316
13437
  } | undefined;
13438
+ spec?: {
13439
+ download?: boolean | undefined;
13440
+ } | undefined;
13317
13441
  mdx?: {
13318
13442
  server?: string | string[] | undefined;
13319
13443
  auth?: {
@@ -13343,6 +13467,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
13343
13467
  prefill?: boolean | undefined;
13344
13468
  autogenerate?: boolean | undefined;
13345
13469
  } | undefined;
13470
+ spec?: {
13471
+ download?: boolean | undefined;
13472
+ } | undefined;
13346
13473
  mdx?: {
13347
13474
  server?: string | string[] | undefined;
13348
13475
  auth?: {
@@ -14794,6 +14921,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
14794
14921
  prefill?: boolean | undefined;
14795
14922
  autogenerate?: boolean | undefined;
14796
14923
  } | undefined;
14924
+ spec?: {
14925
+ download?: boolean | undefined;
14926
+ } | undefined;
14797
14927
  mdx?: {
14798
14928
  server?: string | string[] | undefined;
14799
14929
  auth?: {
@@ -15142,6 +15272,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
15142
15272
  prefill?: boolean | undefined;
15143
15273
  autogenerate?: boolean | undefined;
15144
15274
  } | undefined;
15275
+ spec?: {
15276
+ download?: boolean | undefined;
15277
+ } | undefined;
15145
15278
  mdx?: {
15146
15279
  server?: string | string[] | undefined;
15147
15280
  auth?: {
@@ -15462,6 +15595,13 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
15462
15595
  prefill?: boolean | undefined;
15463
15596
  autogenerate?: boolean | undefined;
15464
15597
  }>>;
15598
+ spec: z.ZodOptional<z.ZodObject<{
15599
+ download: z.ZodOptional<z.ZodBoolean>;
15600
+ }, "strip", z.ZodTypeAny, {
15601
+ download?: boolean | undefined;
15602
+ }, {
15603
+ download?: boolean | undefined;
15604
+ }>>;
15465
15605
  mdx: z.ZodOptional<z.ZodObject<{
15466
15606
  auth: z.ZodOptional<z.ZodObject<{
15467
15607
  method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
@@ -15509,6 +15649,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
15509
15649
  prefill?: boolean | undefined;
15510
15650
  autogenerate?: boolean | undefined;
15511
15651
  } | undefined;
15652
+ spec?: {
15653
+ download?: boolean | undefined;
15654
+ } | undefined;
15512
15655
  mdx?: {
15513
15656
  server?: string | string[] | undefined;
15514
15657
  auth?: {
@@ -15538,6 +15681,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
15538
15681
  prefill?: boolean | undefined;
15539
15682
  autogenerate?: boolean | undefined;
15540
15683
  } | undefined;
15684
+ spec?: {
15685
+ download?: boolean | undefined;
15686
+ } | undefined;
15541
15687
  mdx?: {
15542
15688
  server?: string | string[] | undefined;
15543
15689
  auth?: {
@@ -16989,6 +17135,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
16989
17135
  prefill?: boolean | undefined;
16990
17136
  autogenerate?: boolean | undefined;
16991
17137
  } | undefined;
17138
+ spec?: {
17139
+ download?: boolean | undefined;
17140
+ } | undefined;
16992
17141
  mdx?: {
16993
17142
  server?: string | string[] | undefined;
16994
17143
  auth?: {
@@ -17337,6 +17486,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
17337
17486
  prefill?: boolean | undefined;
17338
17487
  autogenerate?: boolean | undefined;
17339
17488
  } | undefined;
17489
+ spec?: {
17490
+ download?: boolean | undefined;
17491
+ } | undefined;
17340
17492
  mdx?: {
17341
17493
  server?: string | string[] | undefined;
17342
17494
  auth?: {
@@ -17657,6 +17809,13 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
17657
17809
  prefill?: boolean | undefined;
17658
17810
  autogenerate?: boolean | undefined;
17659
17811
  }>>;
17812
+ spec: z.ZodOptional<z.ZodObject<{
17813
+ download: z.ZodOptional<z.ZodBoolean>;
17814
+ }, "strip", z.ZodTypeAny, {
17815
+ download?: boolean | undefined;
17816
+ }, {
17817
+ download?: boolean | undefined;
17818
+ }>>;
17660
17819
  mdx: z.ZodOptional<z.ZodObject<{
17661
17820
  auth: z.ZodOptional<z.ZodObject<{
17662
17821
  method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
@@ -17704,6 +17863,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
17704
17863
  prefill?: boolean | undefined;
17705
17864
  autogenerate?: boolean | undefined;
17706
17865
  } | undefined;
17866
+ spec?: {
17867
+ download?: boolean | undefined;
17868
+ } | undefined;
17707
17869
  mdx?: {
17708
17870
  server?: string | string[] | undefined;
17709
17871
  auth?: {
@@ -17733,6 +17895,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
17733
17895
  prefill?: boolean | undefined;
17734
17896
  autogenerate?: boolean | undefined;
17735
17897
  } | undefined;
17898
+ spec?: {
17899
+ download?: boolean | undefined;
17900
+ } | undefined;
17736
17901
  mdx?: {
17737
17902
  server?: string | string[] | undefined;
17738
17903
  auth?: {
@@ -19184,6 +19349,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
19184
19349
  prefill?: boolean | undefined;
19185
19350
  autogenerate?: boolean | undefined;
19186
19351
  } | undefined;
19352
+ spec?: {
19353
+ download?: boolean | undefined;
19354
+ } | undefined;
19187
19355
  mdx?: {
19188
19356
  server?: string | string[] | undefined;
19189
19357
  auth?: {
@@ -19532,6 +19700,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
19532
19700
  prefill?: boolean | undefined;
19533
19701
  autogenerate?: boolean | undefined;
19534
19702
  } | undefined;
19703
+ spec?: {
19704
+ download?: boolean | undefined;
19705
+ } | undefined;
19535
19706
  mdx?: {
19536
19707
  server?: string | string[] | undefined;
19537
19708
  auth?: {
@@ -19853,6 +20024,13 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
19853
20024
  prefill?: boolean | undefined;
19854
20025
  autogenerate?: boolean | undefined;
19855
20026
  }>>;
20027
+ spec: z.ZodOptional<z.ZodObject<{
20028
+ download: z.ZodOptional<z.ZodBoolean>;
20029
+ }, "strip", z.ZodTypeAny, {
20030
+ download?: boolean | undefined;
20031
+ }, {
20032
+ download?: boolean | undefined;
20033
+ }>>;
19856
20034
  mdx: z.ZodOptional<z.ZodObject<{
19857
20035
  auth: z.ZodOptional<z.ZodObject<{
19858
20036
  method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
@@ -19900,6 +20078,9 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
19900
20078
  prefill?: boolean | undefined;
19901
20079
  autogenerate?: boolean | undefined;
19902
20080
  } | undefined;
20081
+ spec?: {
20082
+ download?: boolean | undefined;
20083
+ } | undefined;
19903
20084
  mdx?: {
19904
20085
  server?: string | string[] | undefined;
19905
20086
  auth?: {
@@ -19929,6 +20110,9 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
19929
20110
  prefill?: boolean | undefined;
19930
20111
  autogenerate?: boolean | undefined;
19931
20112
  } | undefined;
20113
+ spec?: {
20114
+ download?: boolean | undefined;
20115
+ } | undefined;
19932
20116
  mdx?: {
19933
20117
  server?: string | string[] | undefined;
19934
20118
  auth?: {
@@ -21380,6 +21564,9 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
21380
21564
  prefill?: boolean | undefined;
21381
21565
  autogenerate?: boolean | undefined;
21382
21566
  } | undefined;
21567
+ spec?: {
21568
+ download?: boolean | undefined;
21569
+ } | undefined;
21383
21570
  mdx?: {
21384
21571
  server?: string | string[] | undefined;
21385
21572
  auth?: {
@@ -21728,6 +21915,9 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
21728
21915
  prefill?: boolean | undefined;
21729
21916
  autogenerate?: boolean | undefined;
21730
21917
  } | undefined;
21918
+ spec?: {
21919
+ download?: boolean | undefined;
21920
+ } | undefined;
21731
21921
  mdx?: {
21732
21922
  server?: string | string[] | undefined;
21733
21923
  auth?: {
@@ -53,6 +53,13 @@ export declare const apiSchema: z.ZodObject<{
53
53
  prefill?: boolean | undefined;
54
54
  autogenerate?: boolean | undefined;
55
55
  }>>;
56
+ spec: z.ZodOptional<z.ZodObject<{
57
+ download: z.ZodOptional<z.ZodBoolean>;
58
+ }, "strip", z.ZodTypeAny, {
59
+ download?: boolean | undefined;
60
+ }, {
61
+ download?: boolean | undefined;
62
+ }>>;
56
63
  mdx: z.ZodOptional<z.ZodObject<{
57
64
  auth: z.ZodOptional<z.ZodObject<{
58
65
  method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
@@ -100,6 +107,9 @@ export declare const apiSchema: z.ZodObject<{
100
107
  prefill?: boolean | undefined;
101
108
  autogenerate?: boolean | undefined;
102
109
  } | undefined;
110
+ spec?: {
111
+ download?: boolean | undefined;
112
+ } | undefined;
103
113
  mdx?: {
104
114
  server?: string | string[] | undefined;
105
115
  auth?: {
@@ -129,6 +139,9 @@ export declare const apiSchema: z.ZodObject<{
129
139
  prefill?: boolean | undefined;
130
140
  autogenerate?: boolean | undefined;
131
141
  } | undefined;
142
+ spec?: {
143
+ download?: boolean | undefined;
144
+ } | undefined;
132
145
  mdx?: {
133
146
  server?: string | string[] | undefined;
134
147
  auth?: {
@@ -48,6 +48,15 @@ export const apiSchema = z
48
48
  })
49
49
  .optional()
50
50
  .describe('Configurations for the autogenerated API examples'),
51
+ spec: z
52
+ .object({
53
+ download: z
54
+ .boolean()
55
+ .optional()
56
+ .describe('Whether to show a download button for the OpenAPI spec on API reference pages. Defaults to `false`.'),
57
+ })
58
+ .optional()
59
+ .describe('Configurations for the OpenAPI spec'),
51
60
  mdx: z
52
61
  .object({
53
62
  auth: z
@@ -94,6 +94,13 @@ export declare const almondConfigSchema: z.ZodObject<{
94
94
  prefill?: boolean | undefined;
95
95
  autogenerate?: boolean | undefined;
96
96
  }>>;
97
+ spec: z.ZodOptional<z.ZodObject<{
98
+ download: z.ZodOptional<z.ZodBoolean>;
99
+ }, "strip", z.ZodTypeAny, {
100
+ download?: boolean | undefined;
101
+ }, {
102
+ download?: boolean | undefined;
103
+ }>>;
97
104
  mdx: z.ZodOptional<z.ZodObject<{
98
105
  auth: z.ZodOptional<z.ZodObject<{
99
106
  method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
@@ -141,6 +148,9 @@ export declare const almondConfigSchema: z.ZodObject<{
141
148
  prefill?: boolean | undefined;
142
149
  autogenerate?: boolean | undefined;
143
150
  } | undefined;
151
+ spec?: {
152
+ download?: boolean | undefined;
153
+ } | undefined;
144
154
  mdx?: {
145
155
  server?: string | string[] | undefined;
146
156
  auth?: {
@@ -170,6 +180,9 @@ export declare const almondConfigSchema: z.ZodObject<{
170
180
  prefill?: boolean | undefined;
171
181
  autogenerate?: boolean | undefined;
172
182
  } | undefined;
183
+ spec?: {
184
+ download?: boolean | undefined;
185
+ } | undefined;
173
186
  mdx?: {
174
187
  server?: string | string[] | undefined;
175
188
  auth?: {
@@ -1621,6 +1634,9 @@ export declare const almondConfigSchema: z.ZodObject<{
1621
1634
  prefill?: boolean | undefined;
1622
1635
  autogenerate?: boolean | undefined;
1623
1636
  } | undefined;
1637
+ spec?: {
1638
+ download?: boolean | undefined;
1639
+ } | undefined;
1624
1640
  mdx?: {
1625
1641
  server?: string | string[] | undefined;
1626
1642
  auth?: {
@@ -1969,6 +1985,9 @@ export declare const almondConfigSchema: z.ZodObject<{
1969
1985
  prefill?: boolean | undefined;
1970
1986
  autogenerate?: boolean | undefined;
1971
1987
  } | undefined;
1988
+ spec?: {
1989
+ download?: boolean | undefined;
1990
+ } | undefined;
1972
1991
  mdx?: {
1973
1992
  server?: string | string[] | undefined;
1974
1993
  auth?: {
@@ -94,6 +94,13 @@ export declare const aspenConfigSchema: z.ZodObject<{
94
94
  prefill?: boolean | undefined;
95
95
  autogenerate?: boolean | undefined;
96
96
  }>>;
97
+ spec: z.ZodOptional<z.ZodObject<{
98
+ download: z.ZodOptional<z.ZodBoolean>;
99
+ }, "strip", z.ZodTypeAny, {
100
+ download?: boolean | undefined;
101
+ }, {
102
+ download?: boolean | undefined;
103
+ }>>;
97
104
  mdx: z.ZodOptional<z.ZodObject<{
98
105
  auth: z.ZodOptional<z.ZodObject<{
99
106
  method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
@@ -141,6 +148,9 @@ export declare const aspenConfigSchema: z.ZodObject<{
141
148
  prefill?: boolean | undefined;
142
149
  autogenerate?: boolean | undefined;
143
150
  } | undefined;
151
+ spec?: {
152
+ download?: boolean | undefined;
153
+ } | undefined;
144
154
  mdx?: {
145
155
  server?: string | string[] | undefined;
146
156
  auth?: {
@@ -170,6 +180,9 @@ export declare const aspenConfigSchema: z.ZodObject<{
170
180
  prefill?: boolean | undefined;
171
181
  autogenerate?: boolean | undefined;
172
182
  } | undefined;
183
+ spec?: {
184
+ download?: boolean | undefined;
185
+ } | undefined;
173
186
  mdx?: {
174
187
  server?: string | string[] | undefined;
175
188
  auth?: {
@@ -1621,6 +1634,9 @@ export declare const aspenConfigSchema: z.ZodObject<{
1621
1634
  prefill?: boolean | undefined;
1622
1635
  autogenerate?: boolean | undefined;
1623
1636
  } | undefined;
1637
+ spec?: {
1638
+ download?: boolean | undefined;
1639
+ } | undefined;
1624
1640
  mdx?: {
1625
1641
  server?: string | string[] | undefined;
1626
1642
  auth?: {
@@ -1969,6 +1985,9 @@ export declare const aspenConfigSchema: z.ZodObject<{
1969
1985
  prefill?: boolean | undefined;
1970
1986
  autogenerate?: boolean | undefined;
1971
1987
  } | undefined;
1988
+ spec?: {
1989
+ download?: boolean | undefined;
1990
+ } | undefined;
1972
1991
  mdx?: {
1973
1992
  server?: string | string[] | undefined;
1974
1993
  auth?: {