@mintlify/validation 0.1.612 → 0.1.614

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.
@@ -167,6 +167,9 @@ export declare function validateMintConfig(value: unknown): z.SafeParseError<{
167
167
  raiseIssue?: boolean | undefined;
168
168
  } | undefined;
169
169
  analytics?: {
170
+ adobe?: {
171
+ launchUrl: string;
172
+ } | undefined;
170
173
  amplitude?: {
171
174
  apiKey: string;
172
175
  } | undefined;
@@ -413,6 +416,9 @@ export declare function validateMintConfig(value: unknown): z.SafeParseError<{
413
416
  raiseIssue?: boolean | undefined;
414
417
  } | undefined;
415
418
  analytics?: {
419
+ adobe?: {
420
+ launchUrl: string;
421
+ } | undefined;
416
422
  amplitude?: {
417
423
  apiKey: string;
418
424
  } | undefined;
@@ -636,6 +642,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
636
642
  socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
637
643
  } | undefined;
638
644
  integrations?: {
645
+ adobe?: {
646
+ launchUrl: string;
647
+ } | undefined;
639
648
  amplitude?: {
640
649
  apiKey: string;
641
650
  } | undefined;
@@ -984,6 +993,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
984
993
  socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
985
994
  } | undefined;
986
995
  integrations?: {
996
+ adobe?: {
997
+ launchUrl: string;
998
+ } | undefined;
987
999
  amplitude?: {
988
1000
  apiKey: string;
989
1001
  } | undefined;
@@ -1332,6 +1344,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
1332
1344
  socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
1333
1345
  } | undefined;
1334
1346
  integrations?: {
1347
+ adobe?: {
1348
+ launchUrl: string;
1349
+ } | undefined;
1335
1350
  amplitude?: {
1336
1351
  apiKey: string;
1337
1352
  } | undefined;
@@ -1680,6 +1695,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
1680
1695
  socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
1681
1696
  } | undefined;
1682
1697
  integrations?: {
1698
+ adobe?: {
1699
+ launchUrl: string;
1700
+ } | undefined;
1683
1701
  amplitude?: {
1684
1702
  apiKey: string;
1685
1703
  } | undefined;
@@ -2028,6 +2046,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
2028
2046
  socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
2029
2047
  } | undefined;
2030
2048
  integrations?: {
2049
+ adobe?: {
2050
+ launchUrl: string;
2051
+ } | undefined;
2031
2052
  amplitude?: {
2032
2053
  apiKey: string;
2033
2054
  } | undefined;
@@ -2376,6 +2397,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
2376
2397
  socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
2377
2398
  } | undefined;
2378
2399
  integrations?: {
2400
+ adobe?: {
2401
+ launchUrl: string;
2402
+ } | undefined;
2379
2403
  amplitude?: {
2380
2404
  apiKey: string;
2381
2405
  } | undefined;
@@ -2724,6 +2748,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
2724
2748
  socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
2725
2749
  } | undefined;
2726
2750
  integrations?: {
2751
+ adobe?: {
2752
+ launchUrl: string;
2753
+ } | undefined;
2727
2754
  amplitude?: {
2728
2755
  apiKey: string;
2729
2756
  } | undefined;
@@ -3072,6 +3099,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
3072
3099
  socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
3073
3100
  } | undefined;
3074
3101
  integrations?: {
3102
+ adobe?: {
3103
+ launchUrl: string;
3104
+ } | undefined;
3075
3105
  amplitude?: {
3076
3106
  apiKey: string;
3077
3107
  } | undefined;
@@ -3420,6 +3450,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
3420
3450
  socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
3421
3451
  } | undefined;
3422
3452
  integrations?: {
3453
+ adobe?: {
3454
+ launchUrl: string;
3455
+ } | undefined;
3423
3456
  amplitude?: {
3424
3457
  apiKey: string;
3425
3458
  } | undefined;
@@ -3771,6 +3804,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
3771
3804
  socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
3772
3805
  } | undefined;
3773
3806
  integrations?: {
3807
+ adobe?: {
3808
+ launchUrl: string;
3809
+ } | undefined;
3774
3810
  amplitude?: {
3775
3811
  apiKey: string;
3776
3812
  } | undefined;
@@ -4119,6 +4155,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
4119
4155
  socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
4120
4156
  } | undefined;
4121
4157
  integrations?: {
4158
+ adobe?: {
4159
+ launchUrl: string;
4160
+ } | undefined;
4122
4161
  amplitude?: {
4123
4162
  apiKey: string;
4124
4163
  } | undefined;
@@ -4467,6 +4506,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
4467
4506
  socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
4468
4507
  } | undefined;
4469
4508
  integrations?: {
4509
+ adobe?: {
4510
+ launchUrl: string;
4511
+ } | undefined;
4470
4512
  amplitude?: {
4471
4513
  apiKey: string;
4472
4514
  } | undefined;
@@ -4815,6 +4857,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
4815
4857
  socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
4816
4858
  } | undefined;
4817
4859
  integrations?: {
4860
+ adobe?: {
4861
+ launchUrl: string;
4862
+ } | undefined;
4818
4863
  amplitude?: {
4819
4864
  apiKey: string;
4820
4865
  } | undefined;
@@ -5163,6 +5208,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
5163
5208
  socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
5164
5209
  } | undefined;
5165
5210
  integrations?: {
5211
+ adobe?: {
5212
+ launchUrl: string;
5213
+ } | undefined;
5166
5214
  amplitude?: {
5167
5215
  apiKey: string;
5168
5216
  } | undefined;
@@ -5511,6 +5559,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
5511
5559
  socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
5512
5560
  } | undefined;
5513
5561
  integrations?: {
5562
+ adobe?: {
5563
+ launchUrl: string;
5564
+ } | undefined;
5514
5565
  amplitude?: {
5515
5566
  apiKey: string;
5516
5567
  } | undefined;
@@ -5859,6 +5910,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
5859
5910
  socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
5860
5911
  } | undefined;
5861
5912
  integrations?: {
5913
+ adobe?: {
5914
+ launchUrl: string;
5915
+ } | undefined;
5862
5916
  amplitude?: {
5863
5917
  apiKey: string;
5864
5918
  } | undefined;
@@ -6207,6 +6261,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
6207
6261
  socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
6208
6262
  } | undefined;
6209
6263
  integrations?: {
6264
+ adobe?: {
6265
+ launchUrl: string;
6266
+ } | undefined;
6210
6267
  amplitude?: {
6211
6268
  apiKey: string;
6212
6269
  } | undefined;
@@ -6555,6 +6612,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
6555
6612
  socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
6556
6613
  } | undefined;
6557
6614
  integrations?: {
6615
+ adobe?: {
6616
+ launchUrl: string;
6617
+ } | undefined;
6558
6618
  amplitude?: {
6559
6619
  apiKey: string;
6560
6620
  } | undefined;
@@ -235,6 +235,10 @@ export function schemaGraphToOpenApi({ schemaGraphData, targetPath, targetMethod
235
235
  operationObj.servers = convertValue(operation.servers);
236
236
  if (operation.externalDocs)
237
237
  operationObj.externalDocs = convertValue(operation.externalDocs);
238
+ if (operation['x-codeSamples'])
239
+ operationObj['x-codeSamples'] = convertValue(operation['x-codeSamples']);
240
+ if (operation['x-code-samples'])
241
+ operationObj['x-code-samples'] = convertValue(operation['x-code-samples']);
238
242
  pathItem[method] = operationObj;
239
243
  }
240
244
  // Only add the path if it has content (at least one operation)