@redocly/config 0.20.2 → 0.20.3

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.
@@ -62,6 +62,28 @@ export declare const reuniteConfigSchema: {
62
62
  };
63
63
  };
64
64
  };
65
+ readonly severity: {
66
+ readonly type: "object";
67
+ readonly additionalProperties: false;
68
+ readonly properties: {
69
+ readonly schemaCheck: {
70
+ readonly type: "string";
71
+ readonly enum: readonly ["error", "warn", "off"];
72
+ };
73
+ readonly statusCodeCheck: {
74
+ readonly type: "string";
75
+ readonly enum: readonly ["error", "warn", "off"];
76
+ };
77
+ readonly contentTypeCheck: {
78
+ readonly type: "string";
79
+ readonly enum: readonly ["error", "warn", "off"];
80
+ };
81
+ readonly successCriteriaCheck: {
82
+ readonly type: "string";
83
+ readonly enum: readonly ["error", "warn", "off"];
84
+ };
85
+ };
86
+ };
65
87
  };
66
88
  readonly required: readonly ["path", "trigger", "agent"];
67
89
  readonly additionalProperties: false;
@@ -15,6 +15,20 @@ const jobServersSchema = {
15
15
  },
16
16
  },
17
17
  };
18
+ const severitySchema = {
19
+ type: 'string',
20
+ enum: ['error', 'warn', 'off'],
21
+ };
22
+ const jobSeveritySchema = {
23
+ type: 'object',
24
+ additionalProperties: false,
25
+ properties: {
26
+ schemaCheck: severitySchema,
27
+ statusCodeCheck: severitySchema,
28
+ contentTypeCheck: severitySchema,
29
+ successCriteriaCheck: severitySchema,
30
+ },
31
+ };
18
32
  const jobTriggerSchema = {
19
33
  type: 'object',
20
34
  additionalProperties: false,
@@ -57,6 +71,7 @@ exports.reuniteConfigSchema = {
57
71
  trigger: jobTriggerSchema,
58
72
  inputs: jobInputsSchema,
59
73
  servers: jobServersSchema,
74
+ severity: jobSeveritySchema,
60
75
  },
61
76
  required: ['path', 'trigger', 'agent'],
62
77
  additionalProperties: false,
@@ -14804,6 +14804,28 @@ export declare const redoclyConfigSchema: {
14804
14804
  };
14805
14805
  };
14806
14806
  };
14807
+ readonly severity: {
14808
+ readonly type: "object";
14809
+ readonly additionalProperties: false;
14810
+ readonly properties: {
14811
+ readonly schemaCheck: {
14812
+ readonly type: "string";
14813
+ readonly enum: readonly ["error", "warn", "off"];
14814
+ };
14815
+ readonly statusCodeCheck: {
14816
+ readonly type: "string";
14817
+ readonly enum: readonly ["error", "warn", "off"];
14818
+ };
14819
+ readonly contentTypeCheck: {
14820
+ readonly type: "string";
14821
+ readonly enum: readonly ["error", "warn", "off"];
14822
+ };
14823
+ readonly successCriteriaCheck: {
14824
+ readonly type: "string";
14825
+ readonly enum: readonly ["error", "warn", "off"];
14826
+ };
14827
+ };
14828
+ };
14807
14829
  };
14808
14830
  readonly required: readonly ["path", "trigger", "agent"];
14809
14831
  readonly additionalProperties: false;
@@ -26457,6 +26479,28 @@ export declare const rootRedoclyConfigSchema: {
26457
26479
  additionalProperties: false;
26458
26480
  type: "object";
26459
26481
  };
26482
+ severity: {
26483
+ properties: {
26484
+ schemaCheck: {
26485
+ enum: ("off" | "error" | "warn")[];
26486
+ type: "string";
26487
+ };
26488
+ statusCodeCheck: {
26489
+ enum: ("off" | "error" | "warn")[];
26490
+ type: "string";
26491
+ };
26492
+ contentTypeCheck: {
26493
+ enum: ("off" | "error" | "warn")[];
26494
+ type: "string";
26495
+ };
26496
+ successCriteriaCheck: {
26497
+ enum: ("off" | "error" | "warn")[];
26498
+ type: "string";
26499
+ };
26500
+ };
26501
+ additionalProperties: false;
26502
+ type: "object";
26503
+ };
26460
26504
  };
26461
26505
  additionalProperties: false;
26462
26506
  type: "object";
@@ -38705,6 +38749,28 @@ export declare const rootRedoclyConfigSchema: {
38705
38749
  };
38706
38750
  };
38707
38751
  };
38752
+ readonly severity: {
38753
+ readonly type: "object";
38754
+ readonly additionalProperties: false;
38755
+ readonly properties: {
38756
+ readonly schemaCheck: {
38757
+ readonly type: "string";
38758
+ readonly enum: readonly ["error", "warn", "off"];
38759
+ };
38760
+ readonly statusCodeCheck: {
38761
+ readonly type: "string";
38762
+ readonly enum: readonly ["error", "warn", "off"];
38763
+ };
38764
+ readonly contentTypeCheck: {
38765
+ readonly type: "string";
38766
+ readonly enum: readonly ["error", "warn", "off"];
38767
+ };
38768
+ readonly successCriteriaCheck: {
38769
+ readonly type: "string";
38770
+ readonly enum: readonly ["error", "warn", "off"];
38771
+ };
38772
+ };
38773
+ };
38708
38774
  };
38709
38775
  readonly required: readonly ["path", "trigger", "agent"];
38710
38776
  readonly additionalProperties: false;
@@ -62,6 +62,28 @@ export declare const reuniteConfigSchema: {
62
62
  };
63
63
  };
64
64
  };
65
+ readonly severity: {
66
+ readonly type: "object";
67
+ readonly additionalProperties: false;
68
+ readonly properties: {
69
+ readonly schemaCheck: {
70
+ readonly type: "string";
71
+ readonly enum: readonly ["error", "warn", "off"];
72
+ };
73
+ readonly statusCodeCheck: {
74
+ readonly type: "string";
75
+ readonly enum: readonly ["error", "warn", "off"];
76
+ };
77
+ readonly contentTypeCheck: {
78
+ readonly type: "string";
79
+ readonly enum: readonly ["error", "warn", "off"];
80
+ };
81
+ readonly successCriteriaCheck: {
82
+ readonly type: "string";
83
+ readonly enum: readonly ["error", "warn", "off"];
84
+ };
85
+ };
86
+ };
65
87
  };
66
88
  readonly required: readonly ["path", "trigger", "agent"];
67
89
  readonly additionalProperties: false;
@@ -12,6 +12,20 @@ const jobServersSchema = {
12
12
  },
13
13
  },
14
14
  };
15
+ const severitySchema = {
16
+ type: 'string',
17
+ enum: ['error', 'warn', 'off'],
18
+ };
19
+ const jobSeveritySchema = {
20
+ type: 'object',
21
+ additionalProperties: false,
22
+ properties: {
23
+ schemaCheck: severitySchema,
24
+ statusCodeCheck: severitySchema,
25
+ contentTypeCheck: severitySchema,
26
+ successCriteriaCheck: severitySchema,
27
+ },
28
+ };
15
29
  const jobTriggerSchema = {
16
30
  type: 'object',
17
31
  additionalProperties: false,
@@ -54,6 +68,7 @@ export const reuniteConfigSchema = {
54
68
  trigger: jobTriggerSchema,
55
69
  inputs: jobInputsSchema,
56
70
  servers: jobServersSchema,
71
+ severity: jobSeveritySchema,
57
72
  },
58
73
  required: ['path', 'trigger', 'agent'],
59
74
  additionalProperties: false,
@@ -14804,6 +14804,28 @@ export declare const redoclyConfigSchema: {
14804
14804
  };
14805
14805
  };
14806
14806
  };
14807
+ readonly severity: {
14808
+ readonly type: "object";
14809
+ readonly additionalProperties: false;
14810
+ readonly properties: {
14811
+ readonly schemaCheck: {
14812
+ readonly type: "string";
14813
+ readonly enum: readonly ["error", "warn", "off"];
14814
+ };
14815
+ readonly statusCodeCheck: {
14816
+ readonly type: "string";
14817
+ readonly enum: readonly ["error", "warn", "off"];
14818
+ };
14819
+ readonly contentTypeCheck: {
14820
+ readonly type: "string";
14821
+ readonly enum: readonly ["error", "warn", "off"];
14822
+ };
14823
+ readonly successCriteriaCheck: {
14824
+ readonly type: "string";
14825
+ readonly enum: readonly ["error", "warn", "off"];
14826
+ };
14827
+ };
14828
+ };
14807
14829
  };
14808
14830
  readonly required: readonly ["path", "trigger", "agent"];
14809
14831
  readonly additionalProperties: false;
@@ -19275,16 +19297,6 @@ export declare const rootRedoclyConfigSchema: {
19275
19297
  };
19276
19298
  settings: {
19277
19299
  properties: {
19278
- label: {
19279
- type: "string";
19280
- };
19281
- items: {
19282
- items: {
19283
- type: "string";
19284
- };
19285
- type: "array";
19286
- minItems: 1;
19287
- };
19288
19300
  comment: {
19289
19301
  properties: {
19290
19302
  label: {
@@ -19444,6 +19456,16 @@ export declare const rootRedoclyConfigSchema: {
19444
19456
  additionalProperties: false;
19445
19457
  type: "object";
19446
19458
  };
19459
+ label: {
19460
+ type: "string";
19461
+ };
19462
+ items: {
19463
+ items: {
19464
+ type: "string";
19465
+ };
19466
+ type: "array";
19467
+ minItems: 1;
19468
+ };
19447
19469
  submitText: {
19448
19470
  type: "string";
19449
19471
  };
@@ -19512,11 +19534,11 @@ export declare const rootRedoclyConfigSchema: {
19512
19534
  facets: {
19513
19535
  items: {
19514
19536
  properties: {
19515
- type: {
19516
- enum: ("multi-select" | "select" | "tags")[];
19537
+ name: {
19517
19538
  type: "string";
19518
19539
  };
19519
- name: {
19540
+ type: {
19541
+ enum: ("multi-select" | "select" | "tags")[];
19520
19542
  type: "string";
19521
19543
  };
19522
19544
  field: {
@@ -19525,7 +19547,7 @@ export declare const rootRedoclyConfigSchema: {
19525
19547
  };
19526
19548
  additionalProperties: false;
19527
19549
  type: "object";
19528
- required: ("type" | "name" | "field")[];
19550
+ required: ("name" | "type" | "field")[];
19529
19551
  };
19530
19552
  type: "array";
19531
19553
  };
@@ -19929,9 +19951,6 @@ export declare const rootRedoclyConfigSchema: {
19929
19951
  };
19930
19952
  layout: {
19931
19953
  properties: {
19932
- showDarkRightPanel: {
19933
- type: "boolean";
19934
- };
19935
19954
  stacked: {
19936
19955
  properties: {
19937
19956
  maxWidth: {
@@ -19984,6 +20003,9 @@ export declare const rootRedoclyConfigSchema: {
19984
20003
  };
19985
20004
  type: "object";
19986
20005
  };
20006
+ showDarkRightPanel: {
20007
+ type: "boolean";
20008
+ };
19987
20009
  };
19988
20010
  type: "object";
19989
20011
  };
@@ -20439,7 +20461,7 @@ export declare const rootRedoclyConfigSchema: {
20439
20461
  items: {
20440
20462
  properties: {
20441
20463
  lang: {
20442
- enum: ("curl" | "C#" | "Go" | "Java" | "Java8+Apache" | "JavaScript" | "Node.js" | "PHP" | "Python" | "R" | "Ruby")[];
20464
+ enum: ("curl" | "JavaScript" | "Node.js" | "Python" | "Java8+Apache" | "Java" | "C#" | "PHP" | "Go" | "Ruby" | "R")[];
20443
20465
  };
20444
20466
  label: {
20445
20467
  type: "string";
@@ -20746,10 +20768,10 @@ export declare const rootRedoclyConfigSchema: {
20746
20768
  };
20747
20769
  mockServer: {
20748
20770
  properties: {
20749
- description: {
20771
+ url: {
20750
20772
  type: "string";
20751
20773
  };
20752
- url: {
20774
+ description: {
20753
20775
  type: "string";
20754
20776
  };
20755
20777
  position: {
@@ -20770,16 +20792,6 @@ export declare const rootRedoclyConfigSchema: {
20770
20792
  };
20771
20793
  settings: {
20772
20794
  properties: {
20773
- label: {
20774
- type: "string";
20775
- };
20776
- items: {
20777
- items: {
20778
- type: "string";
20779
- };
20780
- type: "array";
20781
- minItems: 1;
20782
- };
20783
20795
  comment: {
20784
20796
  properties: {
20785
20797
  label: {
@@ -20939,6 +20951,16 @@ export declare const rootRedoclyConfigSchema: {
20939
20951
  additionalProperties: false;
20940
20952
  type: "object";
20941
20953
  };
20954
+ label: {
20955
+ type: "string";
20956
+ };
20957
+ items: {
20958
+ items: {
20959
+ type: "string";
20960
+ };
20961
+ type: "array";
20962
+ minItems: 1;
20963
+ };
20942
20964
  submitText: {
20943
20965
  type: "string";
20944
20966
  };
@@ -21009,10 +21031,10 @@ export declare const rootRedoclyConfigSchema: {
21009
21031
  downloadUrls: {
21010
21032
  items: {
21011
21033
  properties: {
21012
- title: {
21034
+ url: {
21013
21035
  type: "string";
21014
21036
  };
21015
- url: {
21037
+ title: {
21016
21038
  type: "string";
21017
21039
  };
21018
21040
  };
@@ -21085,7 +21107,7 @@ export declare const rootRedoclyConfigSchema: {
21085
21107
  items: {
21086
21108
  properties: {
21087
21109
  lang: {
21088
- enum: ("curl" | "C#" | "Go" | "Java" | "Java8+Apache" | "JavaScript" | "Node.js" | "PHP" | "Python" | "R" | "Ruby" | "C#+Newtonsoft" | "Payload")[];
21110
+ enum: ("curl" | "JavaScript" | "Node.js" | "Python" | "Java8+Apache" | "Java" | "C#" | "C#+Newtonsoft" | "PHP" | "Go" | "Ruby" | "R" | "Payload")[];
21089
21111
  type: "string";
21090
21112
  };
21091
21113
  label: {
@@ -21158,16 +21180,6 @@ export declare const rootRedoclyConfigSchema: {
21158
21180
  };
21159
21181
  settings: {
21160
21182
  properties: {
21161
- label: {
21162
- type: "string";
21163
- };
21164
- items: {
21165
- items: {
21166
- type: "string";
21167
- };
21168
- type: "array";
21169
- minItems: 1;
21170
- };
21171
21183
  comment: {
21172
21184
  properties: {
21173
21185
  label: {
@@ -21327,6 +21339,16 @@ export declare const rootRedoclyConfigSchema: {
21327
21339
  additionalProperties: false;
21328
21340
  type: "object";
21329
21341
  };
21342
+ label: {
21343
+ type: "string";
21344
+ };
21345
+ items: {
21346
+ items: {
21347
+ type: "string";
21348
+ };
21349
+ type: "array";
21350
+ minItems: 1;
21351
+ };
21330
21352
  submitText: {
21331
21353
  type: "string";
21332
21354
  };
@@ -21377,14 +21399,14 @@ export declare const rootRedoclyConfigSchema: {
21377
21399
  groups: {
21378
21400
  items: {
21379
21401
  properties: {
21402
+ name: {
21403
+ type: "string";
21404
+ };
21380
21405
  items: {
21381
21406
  properties: any;
21382
21407
  additionalProperties: false;
21383
21408
  type: "object";
21384
21409
  };
21385
- name: {
21386
- type: "string";
21387
- };
21388
21410
  queries: {
21389
21411
  properties: any;
21390
21412
  additionalProperties: false;
@@ -21978,10 +22000,10 @@ export declare const rootRedoclyConfigSchema: {
21978
22000
  levels: {
21979
22001
  items: {
21980
22002
  properties: {
21981
- color: {
22003
+ name: {
21982
22004
  type: "string";
21983
22005
  };
21984
- name: {
22006
+ color: {
21985
22007
  type: "string";
21986
22008
  };
21987
22009
  rules: {
@@ -22409,16 +22431,16 @@ export declare const rootRedoclyConfigSchema: {
22409
22431
  additionalProperties: {
22410
22432
  items: {
22411
22433
  properties: {
22412
- value: {
22434
+ name: {
22413
22435
  type: "string";
22414
22436
  };
22415
- name: {
22437
+ value: {
22416
22438
  type: "string";
22417
22439
  };
22418
22440
  };
22419
22441
  additionalProperties: false;
22420
22442
  type: "object";
22421
- required: ("value" | "name")[];
22443
+ required: ("name" | "value")[];
22422
22444
  };
22423
22445
  type: "array";
22424
22446
  };
@@ -22426,12 +22448,12 @@ export declare const rootRedoclyConfigSchema: {
22426
22448
  };
22427
22449
  mockServer: {
22428
22450
  properties: {
22429
- description: {
22430
- type: "string";
22431
- };
22432
22451
  off: {
22433
22452
  type: "boolean";
22434
22453
  };
22454
+ description: {
22455
+ type: "string";
22456
+ };
22435
22457
  position: {
22436
22458
  enum: ("first" | "last" | "replace" | "off")[];
22437
22459
  type: "string";
@@ -22654,9 +22676,6 @@ export declare const rootRedoclyConfigSchema: {
22654
22676
  };
22655
22677
  layout: {
22656
22678
  properties: {
22657
- showDarkRightPanel: {
22658
- type: "boolean";
22659
- };
22660
22679
  stacked: {
22661
22680
  properties: {
22662
22681
  maxWidth: {
@@ -22709,6 +22728,9 @@ export declare const rootRedoclyConfigSchema: {
22709
22728
  };
22710
22729
  type: "object";
22711
22730
  };
22731
+ showDarkRightPanel: {
22732
+ type: "boolean";
22733
+ };
22712
22734
  };
22713
22735
  type: "object";
22714
22736
  };
@@ -23164,7 +23186,7 @@ export declare const rootRedoclyConfigSchema: {
23164
23186
  items: {
23165
23187
  properties: {
23166
23188
  lang: {
23167
- enum: ("curl" | "C#" | "Go" | "Java" | "Java8+Apache" | "JavaScript" | "Node.js" | "PHP" | "Python" | "R" | "Ruby")[];
23189
+ enum: ("curl" | "JavaScript" | "Node.js" | "Python" | "Java8+Apache" | "Java" | "C#" | "PHP" | "Go" | "Ruby" | "R")[];
23168
23190
  };
23169
23191
  label: {
23170
23192
  type: "string";
@@ -23471,10 +23493,10 @@ export declare const rootRedoclyConfigSchema: {
23471
23493
  };
23472
23494
  mockServer: {
23473
23495
  properties: {
23474
- description: {
23496
+ url: {
23475
23497
  type: "string";
23476
23498
  };
23477
- url: {
23499
+ description: {
23478
23500
  type: "string";
23479
23501
  };
23480
23502
  position: {
@@ -23495,16 +23517,6 @@ export declare const rootRedoclyConfigSchema: {
23495
23517
  };
23496
23518
  settings: {
23497
23519
  properties: {
23498
- label: {
23499
- type: "string";
23500
- };
23501
- items: {
23502
- items: {
23503
- type: "string";
23504
- };
23505
- type: "array";
23506
- minItems: 1;
23507
- };
23508
23520
  comment: {
23509
23521
  properties: {
23510
23522
  label: {
@@ -23664,6 +23676,16 @@ export declare const rootRedoclyConfigSchema: {
23664
23676
  additionalProperties: false;
23665
23677
  type: "object";
23666
23678
  };
23679
+ label: {
23680
+ type: "string";
23681
+ };
23682
+ items: {
23683
+ items: {
23684
+ type: "string";
23685
+ };
23686
+ type: "array";
23687
+ minItems: 1;
23688
+ };
23667
23689
  submitText: {
23668
23690
  type: "string";
23669
23691
  };
@@ -23734,10 +23756,10 @@ export declare const rootRedoclyConfigSchema: {
23734
23756
  downloadUrls: {
23735
23757
  items: {
23736
23758
  properties: {
23737
- title: {
23759
+ url: {
23738
23760
  type: "string";
23739
23761
  };
23740
- url: {
23762
+ title: {
23741
23763
  type: "string";
23742
23764
  };
23743
23765
  };
@@ -23810,7 +23832,7 @@ export declare const rootRedoclyConfigSchema: {
23810
23832
  items: {
23811
23833
  properties: {
23812
23834
  lang: {
23813
- enum: ("curl" | "C#" | "Go" | "Java" | "Java8+Apache" | "JavaScript" | "Node.js" | "PHP" | "Python" | "R" | "Ruby" | "C#+Newtonsoft" | "Payload")[];
23835
+ enum: ("curl" | "JavaScript" | "Node.js" | "Python" | "Java8+Apache" | "Java" | "C#" | "C#+Newtonsoft" | "PHP" | "Go" | "Ruby" | "R" | "Payload")[];
23814
23836
  type: "string";
23815
23837
  };
23816
23838
  label: {
@@ -23883,16 +23905,6 @@ export declare const rootRedoclyConfigSchema: {
23883
23905
  };
23884
23906
  settings: {
23885
23907
  properties: {
23886
- label: {
23887
- type: "string";
23888
- };
23889
- items: {
23890
- items: {
23891
- type: "string";
23892
- };
23893
- type: "array";
23894
- minItems: 1;
23895
- };
23896
23908
  comment: {
23897
23909
  properties: {
23898
23910
  label: {
@@ -24052,6 +24064,16 @@ export declare const rootRedoclyConfigSchema: {
24052
24064
  additionalProperties: false;
24053
24065
  type: "object";
24054
24066
  };
24067
+ label: {
24068
+ type: "string";
24069
+ };
24070
+ items: {
24071
+ items: {
24072
+ type: "string";
24073
+ };
24074
+ type: "array";
24075
+ minItems: 1;
24076
+ };
24055
24077
  submitText: {
24056
24078
  type: "string";
24057
24079
  };
@@ -24102,14 +24124,14 @@ export declare const rootRedoclyConfigSchema: {
24102
24124
  groups: {
24103
24125
  items: {
24104
24126
  properties: {
24127
+ name: {
24128
+ type: "string";
24129
+ };
24105
24130
  items: {
24106
24131
  properties: any;
24107
24132
  additionalProperties: false;
24108
24133
  type: "object";
24109
24134
  };
24110
- name: {
24111
- type: "string";
24112
- };
24113
24135
  queries: {
24114
24136
  properties: any;
24115
24137
  additionalProperties: false;
@@ -24416,9 +24438,6 @@ export declare const rootRedoclyConfigSchema: {
24416
24438
  };
24417
24439
  layout: {
24418
24440
  properties: {
24419
- showDarkRightPanel: {
24420
- type: "boolean";
24421
- };
24422
24441
  stacked: {
24423
24442
  properties: {
24424
24443
  maxWidth: {
@@ -24471,6 +24490,9 @@ export declare const rootRedoclyConfigSchema: {
24471
24490
  };
24472
24491
  type: "object";
24473
24492
  };
24493
+ showDarkRightPanel: {
24494
+ type: "boolean";
24495
+ };
24474
24496
  };
24475
24497
  type: "object";
24476
24498
  };
@@ -24926,7 +24948,7 @@ export declare const rootRedoclyConfigSchema: {
24926
24948
  items: {
24927
24949
  properties: {
24928
24950
  lang: {
24929
- enum: ("curl" | "C#" | "Go" | "Java" | "Java8+Apache" | "JavaScript" | "Node.js" | "PHP" | "Python" | "R" | "Ruby")[];
24951
+ enum: ("curl" | "JavaScript" | "Node.js" | "Python" | "Java8+Apache" | "Java" | "C#" | "PHP" | "Go" | "Ruby" | "R")[];
24930
24952
  };
24931
24953
  label: {
24932
24954
  type: "string";
@@ -25233,10 +25255,10 @@ export declare const rootRedoclyConfigSchema: {
25233
25255
  };
25234
25256
  mockServer: {
25235
25257
  properties: {
25236
- description: {
25258
+ url: {
25237
25259
  type: "string";
25238
25260
  };
25239
- url: {
25261
+ description: {
25240
25262
  type: "string";
25241
25263
  };
25242
25264
  position: {
@@ -25257,16 +25279,6 @@ export declare const rootRedoclyConfigSchema: {
25257
25279
  };
25258
25280
  settings: {
25259
25281
  properties: {
25260
- label: {
25261
- type: "string";
25262
- };
25263
- items: {
25264
- items: {
25265
- type: "string";
25266
- };
25267
- type: "array";
25268
- minItems: 1;
25269
- };
25270
25282
  comment: {
25271
25283
  properties: {
25272
25284
  label: {
@@ -25426,6 +25438,16 @@ export declare const rootRedoclyConfigSchema: {
25426
25438
  additionalProperties: false;
25427
25439
  type: "object";
25428
25440
  };
25441
+ label: {
25442
+ type: "string";
25443
+ };
25444
+ items: {
25445
+ items: {
25446
+ type: "string";
25447
+ };
25448
+ type: "array";
25449
+ minItems: 1;
25450
+ };
25429
25451
  submitText: {
25430
25452
  type: "string";
25431
25453
  };
@@ -25496,10 +25518,10 @@ export declare const rootRedoclyConfigSchema: {
25496
25518
  downloadUrls: {
25497
25519
  items: {
25498
25520
  properties: {
25499
- title: {
25521
+ url: {
25500
25522
  type: "string";
25501
25523
  };
25502
- url: {
25524
+ title: {
25503
25525
  type: "string";
25504
25526
  };
25505
25527
  };
@@ -25572,7 +25594,7 @@ export declare const rootRedoclyConfigSchema: {
25572
25594
  items: {
25573
25595
  properties: {
25574
25596
  lang: {
25575
- enum: ("curl" | "C#" | "Go" | "Java" | "Java8+Apache" | "JavaScript" | "Node.js" | "PHP" | "Python" | "R" | "Ruby" | "C#+Newtonsoft" | "Payload")[];
25597
+ enum: ("curl" | "JavaScript" | "Node.js" | "Python" | "Java8+Apache" | "Java" | "C#" | "C#+Newtonsoft" | "PHP" | "Go" | "Ruby" | "R" | "Payload")[];
25576
25598
  type: "string";
25577
25599
  };
25578
25600
  label: {
@@ -25645,16 +25667,6 @@ export declare const rootRedoclyConfigSchema: {
25645
25667
  };
25646
25668
  settings: {
25647
25669
  properties: {
25648
- label: {
25649
- type: "string";
25650
- };
25651
- items: {
25652
- items: {
25653
- type: "string";
25654
- };
25655
- type: "array";
25656
- minItems: 1;
25657
- };
25658
25670
  comment: {
25659
25671
  properties: {
25660
25672
  label: {
@@ -25814,6 +25826,16 @@ export declare const rootRedoclyConfigSchema: {
25814
25826
  additionalProperties: false;
25815
25827
  type: "object";
25816
25828
  };
25829
+ label: {
25830
+ type: "string";
25831
+ };
25832
+ items: {
25833
+ items: {
25834
+ type: "string";
25835
+ };
25836
+ type: "array";
25837
+ minItems: 1;
25838
+ };
25817
25839
  submitText: {
25818
25840
  type: "string";
25819
25841
  };
@@ -25864,14 +25886,14 @@ export declare const rootRedoclyConfigSchema: {
25864
25886
  groups: {
25865
25887
  items: {
25866
25888
  properties: {
25889
+ name: {
25890
+ type: "string";
25891
+ };
25867
25892
  items: {
25868
25893
  properties: any;
25869
25894
  additionalProperties: false;
25870
25895
  type: "object";
25871
25896
  };
25872
- name: {
25873
- type: "string";
25874
- };
25875
25897
  queries: {
25876
25898
  properties: any;
25877
25899
  additionalProperties: false;
@@ -26342,10 +26364,10 @@ export declare const rootRedoclyConfigSchema: {
26342
26364
  locales: {
26343
26365
  items: {
26344
26366
  properties: {
26345
- code: {
26367
+ name: {
26346
26368
  type: "string";
26347
26369
  };
26348
- name: {
26370
+ code: {
26349
26371
  type: "string";
26350
26372
  };
26351
26373
  };
@@ -26367,10 +26389,10 @@ export declare const rootRedoclyConfigSchema: {
26367
26389
  locales: {
26368
26390
  items: {
26369
26391
  properties: {
26370
- code: {
26392
+ name: {
26371
26393
  type: "string";
26372
26394
  };
26373
- name: {
26395
+ code: {
26374
26396
  type: "string";
26375
26397
  };
26376
26398
  };
@@ -26457,6 +26479,28 @@ export declare const rootRedoclyConfigSchema: {
26457
26479
  additionalProperties: false;
26458
26480
  type: "object";
26459
26481
  };
26482
+ severity: {
26483
+ properties: {
26484
+ schemaCheck: {
26485
+ enum: ("off" | "error" | "warn")[];
26486
+ type: "string";
26487
+ };
26488
+ statusCodeCheck: {
26489
+ enum: ("off" | "error" | "warn")[];
26490
+ type: "string";
26491
+ };
26492
+ contentTypeCheck: {
26493
+ enum: ("off" | "error" | "warn")[];
26494
+ type: "string";
26495
+ };
26496
+ successCriteriaCheck: {
26497
+ enum: ("off" | "error" | "warn")[];
26498
+ type: "string";
26499
+ };
26500
+ };
26501
+ additionalProperties: false;
26502
+ type: "object";
26503
+ };
26460
26504
  };
26461
26505
  additionalProperties: false;
26462
26506
  type: "object";
@@ -26720,16 +26764,6 @@ export declare const rootRedoclyConfigSchema: {
26720
26764
  };
26721
26765
  settings: {
26722
26766
  properties: {
26723
- label: {
26724
- type: "string";
26725
- };
26726
- items: {
26727
- items: {
26728
- type: "string";
26729
- };
26730
- type: "array";
26731
- minItems: 1;
26732
- };
26733
26767
  comment: {
26734
26768
  properties: {
26735
26769
  label: {
@@ -26889,6 +26923,16 @@ export declare const rootRedoclyConfigSchema: {
26889
26923
  additionalProperties: false;
26890
26924
  type: "object";
26891
26925
  };
26926
+ label: {
26927
+ type: "string";
26928
+ };
26929
+ items: {
26930
+ items: {
26931
+ type: "string";
26932
+ };
26933
+ type: "array";
26934
+ minItems: 1;
26935
+ };
26892
26936
  submitText: {
26893
26937
  type: "string";
26894
26938
  };
@@ -26957,11 +27001,11 @@ export declare const rootRedoclyConfigSchema: {
26957
27001
  facets: {
26958
27002
  items: {
26959
27003
  properties: {
26960
- type: {
26961
- enum: ("multi-select" | "select" | "tags")[];
27004
+ name: {
26962
27005
  type: "string";
26963
27006
  };
26964
- name: {
27007
+ type: {
27008
+ enum: ("multi-select" | "select" | "tags")[];
26965
27009
  type: "string";
26966
27010
  };
26967
27011
  field: {
@@ -26970,7 +27014,7 @@ export declare const rootRedoclyConfigSchema: {
26970
27014
  };
26971
27015
  additionalProperties: false;
26972
27016
  type: "object";
26973
- required: ("type" | "name" | "field")[];
27017
+ required: ("name" | "type" | "field")[];
26974
27018
  };
26975
27019
  type: "array";
26976
27020
  };
@@ -27374,9 +27418,6 @@ export declare const rootRedoclyConfigSchema: {
27374
27418
  };
27375
27419
  layout: {
27376
27420
  properties: {
27377
- showDarkRightPanel: {
27378
- type: "boolean";
27379
- };
27380
27421
  stacked: {
27381
27422
  properties: {
27382
27423
  maxWidth: {
@@ -27429,6 +27470,9 @@ export declare const rootRedoclyConfigSchema: {
27429
27470
  };
27430
27471
  type: "object";
27431
27472
  };
27473
+ showDarkRightPanel: {
27474
+ type: "boolean";
27475
+ };
27432
27476
  };
27433
27477
  type: "object";
27434
27478
  };
@@ -27884,7 +27928,7 @@ export declare const rootRedoclyConfigSchema: {
27884
27928
  items: {
27885
27929
  properties: {
27886
27930
  lang: {
27887
- enum: ("curl" | "C#" | "Go" | "Java" | "Java8+Apache" | "JavaScript" | "Node.js" | "PHP" | "Python" | "R" | "Ruby")[];
27931
+ enum: ("curl" | "JavaScript" | "Node.js" | "Python" | "Java8+Apache" | "Java" | "C#" | "PHP" | "Go" | "Ruby" | "R")[];
27888
27932
  };
27889
27933
  label: {
27890
27934
  type: "string";
@@ -28191,10 +28235,10 @@ export declare const rootRedoclyConfigSchema: {
28191
28235
  };
28192
28236
  mockServer: {
28193
28237
  properties: {
28194
- description: {
28238
+ url: {
28195
28239
  type: "string";
28196
28240
  };
28197
- url: {
28241
+ description: {
28198
28242
  type: "string";
28199
28243
  };
28200
28244
  position: {
@@ -28215,16 +28259,6 @@ export declare const rootRedoclyConfigSchema: {
28215
28259
  };
28216
28260
  settings: {
28217
28261
  properties: {
28218
- label: {
28219
- type: "string";
28220
- };
28221
- items: {
28222
- items: {
28223
- type: "string";
28224
- };
28225
- type: "array";
28226
- minItems: 1;
28227
- };
28228
28262
  comment: {
28229
28263
  properties: {
28230
28264
  label: {
@@ -28384,6 +28418,16 @@ export declare const rootRedoclyConfigSchema: {
28384
28418
  additionalProperties: false;
28385
28419
  type: "object";
28386
28420
  };
28421
+ label: {
28422
+ type: "string";
28423
+ };
28424
+ items: {
28425
+ items: {
28426
+ type: "string";
28427
+ };
28428
+ type: "array";
28429
+ minItems: 1;
28430
+ };
28387
28431
  submitText: {
28388
28432
  type: "string";
28389
28433
  };
@@ -28454,10 +28498,10 @@ export declare const rootRedoclyConfigSchema: {
28454
28498
  downloadUrls: {
28455
28499
  items: {
28456
28500
  properties: {
28457
- title: {
28501
+ url: {
28458
28502
  type: "string";
28459
28503
  };
28460
- url: {
28504
+ title: {
28461
28505
  type: "string";
28462
28506
  };
28463
28507
  };
@@ -28530,7 +28574,7 @@ export declare const rootRedoclyConfigSchema: {
28530
28574
  items: {
28531
28575
  properties: {
28532
28576
  lang: {
28533
- enum: ("curl" | "C#" | "Go" | "Java" | "Java8+Apache" | "JavaScript" | "Node.js" | "PHP" | "Python" | "R" | "Ruby" | "C#+Newtonsoft" | "Payload")[];
28577
+ enum: ("curl" | "JavaScript" | "Node.js" | "Python" | "Java8+Apache" | "Java" | "C#" | "C#+Newtonsoft" | "PHP" | "Go" | "Ruby" | "R" | "Payload")[];
28534
28578
  type: "string";
28535
28579
  };
28536
28580
  label: {
@@ -28603,16 +28647,6 @@ export declare const rootRedoclyConfigSchema: {
28603
28647
  };
28604
28648
  settings: {
28605
28649
  properties: {
28606
- label: {
28607
- type: "string";
28608
- };
28609
- items: {
28610
- items: {
28611
- type: "string";
28612
- };
28613
- type: "array";
28614
- minItems: 1;
28615
- };
28616
28650
  comment: {
28617
28651
  properties: {
28618
28652
  label: {
@@ -28772,6 +28806,16 @@ export declare const rootRedoclyConfigSchema: {
28772
28806
  additionalProperties: false;
28773
28807
  type: "object";
28774
28808
  };
28809
+ label: {
28810
+ type: "string";
28811
+ };
28812
+ items: {
28813
+ items: {
28814
+ type: "string";
28815
+ };
28816
+ type: "array";
28817
+ minItems: 1;
28818
+ };
28775
28819
  submitText: {
28776
28820
  type: "string";
28777
28821
  };
@@ -28822,14 +28866,14 @@ export declare const rootRedoclyConfigSchema: {
28822
28866
  groups: {
28823
28867
  items: {
28824
28868
  properties: {
28869
+ name: {
28870
+ type: "string";
28871
+ };
28825
28872
  items: {
28826
28873
  properties: any;
28827
28874
  additionalProperties: false;
28828
28875
  type: "object";
28829
28876
  };
28830
- name: {
28831
- type: "string";
28832
- };
28833
28877
  queries: {
28834
28878
  properties: any;
28835
28879
  additionalProperties: false;
@@ -29423,10 +29467,10 @@ export declare const rootRedoclyConfigSchema: {
29423
29467
  levels: {
29424
29468
  items: {
29425
29469
  properties: {
29426
- color: {
29470
+ name: {
29427
29471
  type: "string";
29428
29472
  };
29429
- name: {
29473
+ color: {
29430
29474
  type: "string";
29431
29475
  };
29432
29476
  rules: {
@@ -38705,6 +38749,28 @@ export declare const rootRedoclyConfigSchema: {
38705
38749
  };
38706
38750
  };
38707
38751
  };
38752
+ readonly severity: {
38753
+ readonly type: "object";
38754
+ readonly additionalProperties: false;
38755
+ readonly properties: {
38756
+ readonly schemaCheck: {
38757
+ readonly type: "string";
38758
+ readonly enum: readonly ["error", "warn", "off"];
38759
+ };
38760
+ readonly statusCodeCheck: {
38761
+ readonly type: "string";
38762
+ readonly enum: readonly ["error", "warn", "off"];
38763
+ };
38764
+ readonly contentTypeCheck: {
38765
+ readonly type: "string";
38766
+ readonly enum: readonly ["error", "warn", "off"];
38767
+ };
38768
+ readonly successCriteriaCheck: {
38769
+ readonly type: "string";
38770
+ readonly enum: readonly ["error", "warn", "off"];
38771
+ };
38772
+ };
38773
+ };
38708
38774
  };
38709
38775
  readonly required: readonly ["path", "trigger", "agent"];
38710
38776
  readonly additionalProperties: false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/config",
3
- "version": "0.20.2",
3
+ "version": "0.20.3",
4
4
  "license": "MIT",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib-esm/index.js",