@redocly/config 0.24.0 → 0.25.0

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.
@@ -30,7 +30,11 @@ export const themeConfigSchema = {
30
30
  userMenu: userMenuConfigSchema,
31
31
  versionPicker: versionPickerConfigSchema,
32
32
  breadcrumbs: breadcrumbsConfigSchema,
33
+ /**
34
+ * @deprecated Should use `catalogClassic` instead
35
+ */
33
36
  catalog: catalogsConfigSchema,
37
+ catalogClassic: catalogsConfigSchema,
34
38
  scorecard: scorecardConfigSchema,
35
39
  },
36
40
  additionalProperties: true,
@@ -2901,7 +2901,7 @@ export declare const openapiConfigSchema: {
2901
2901
  readonly properties: {
2902
2902
  readonly lang: {
2903
2903
  readonly type: "string";
2904
- readonly enum: readonly ["curl", "JavaScript", "Node.js", "Python", "Java8+Apache", "Java", "C#", "C#+Newtonsoft", "PHP", "Go", "Ruby", "R", "Payload"];
2904
+ readonly examples: readonly ["curl", "JavaScript", "Node.js", "Python", "Java8+Apache", "Java", "C#", "C#+Newtonsoft", "PHP", "Go", "Ruby", "R", "Payload"];
2905
2905
  };
2906
2906
  readonly label: {
2907
2907
  readonly type: "string";
@@ -2372,7 +2372,7 @@ export declare const productThemeOverrideSchema: {
2372
2372
  readonly properties: {
2373
2373
  readonly lang: {
2374
2374
  readonly type: "string";
2375
- readonly enum: readonly ["curl", "JavaScript", "Node.js", "Python", "Java8+Apache", "Java", "C#", "C#+Newtonsoft", "PHP", "Go", "Ruby", "R", "Payload"];
2375
+ readonly examples: readonly ["curl", "JavaScript", "Node.js", "Python", "Java8+Apache", "Java", "C#", "C#+Newtonsoft", "PHP", "Go", "Ruby", "R", "Payload"];
2376
2376
  };
2377
2377
  readonly label: {
2378
2378
  readonly type: "string";
@@ -4473,7 +4473,7 @@ export declare const productConfigOverrideSchema: {
4473
4473
  readonly properties: {
4474
4474
  readonly lang: {
4475
4475
  readonly type: "string";
4476
- readonly enum: readonly ["curl", "JavaScript", "Node.js", "Python", "Java8+Apache", "Java", "C#", "C#+Newtonsoft", "PHP", "Go", "Ruby", "R", "Payload"];
4476
+ readonly examples: readonly ["curl", "JavaScript", "Node.js", "Python", "Java8+Apache", "Java", "C#", "C#+Newtonsoft", "PHP", "Go", "Ruby", "R", "Payload"];
4477
4477
  };
4478
4478
  readonly label: {
4479
4479
  readonly type: "string";
@@ -6702,7 +6702,7 @@ export declare const productConfigOverrideSchema: {
6702
6702
  readonly properties: {
6703
6703
  readonly lang: {
6704
6704
  readonly type: "string";
6705
- readonly enum: readonly ["curl", "JavaScript", "Node.js", "Python", "Java8+Apache", "Java", "C#", "C#+Newtonsoft", "PHP", "Go", "Ruby", "R", "Payload"];
6705
+ readonly examples: readonly ["curl", "JavaScript", "Node.js", "Python", "Java8+Apache", "Java", "C#", "C#+Newtonsoft", "PHP", "Go", "Ruby", "R", "Payload"];
6706
6706
  };
6707
6707
  readonly label: {
6708
6708
  readonly type: "string";
@@ -9591,7 +9591,7 @@ export declare const productConfigOverrideSchema: {
9591
9591
  readonly properties: {
9592
9592
  readonly lang: {
9593
9593
  readonly type: "string";
9594
- readonly enum: readonly ["curl", "JavaScript", "Node.js", "Python", "Java8+Apache", "Java", "C#", "C#+Newtonsoft", "PHP", "Go", "Ruby", "R", "Payload"];
9594
+ readonly examples: readonly ["curl", "JavaScript", "Node.js", "Python", "Java8+Apache", "Java", "C#", "C#+Newtonsoft", "PHP", "Go", "Ruby", "R", "Payload"];
9595
9595
  };
9596
9596
  readonly label: {
9597
9597
  readonly type: "string";
@@ -12297,7 +12297,7 @@ export declare const productConfigOverrideSchema: {
12297
12297
  readonly properties: {
12298
12298
  readonly lang: {
12299
12299
  readonly type: "string";
12300
- readonly enum: readonly ["curl", "JavaScript", "Node.js", "Python", "Java8+Apache", "Java", "C#", "C#+Newtonsoft", "PHP", "Go", "Ruby", "R", "Payload"];
12300
+ readonly examples: readonly ["curl", "JavaScript", "Node.js", "Python", "Java8+Apache", "Java", "C#", "C#+Newtonsoft", "PHP", "Go", "Ruby", "R", "Payload"];
12301
12301
  };
12302
12302
  readonly label: {
12303
12303
  readonly type: "string";
@@ -370,7 +370,7 @@ export declare const redocConfigSchema: {
370
370
  readonly properties: {
371
371
  readonly lang: {
372
372
  readonly type: "string";
373
- readonly enum: readonly ["curl", "JavaScript", "Node.js", "Python", "Java8+Apache", "Java", "C#", "C#+Newtonsoft", "PHP", "Go", "Ruby", "R", "Payload"];
373
+ readonly examples: readonly ["curl", "JavaScript", "Node.js", "Python", "Java8+Apache", "Java", "C#", "C#+Newtonsoft", "PHP", "Go", "Ruby", "R", "Payload"];
374
374
  };
375
375
  readonly label: {
376
376
  readonly type: "string";
@@ -9,7 +9,7 @@ const codeSamplesConfigSchema = {
9
9
  properties: {
10
10
  lang: {
11
11
  type: 'string',
12
- enum: [
12
+ examples: [
13
13
  'curl',
14
14
  'JavaScript',
15
15
  'Node.js',