@redocly/config 0.8.0 → 0.8.2

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.
@@ -2184,17 +2184,6 @@ export declare const apiConfigSchema: {
2184
2184
  readonly type: "string";
2185
2185
  readonly enum: readonly ["none", "section", "item"];
2186
2186
  };
2187
- readonly navigation: {
2188
- readonly type: "object";
2189
- readonly properties: {
2190
- readonly contentPrefix: {
2191
- readonly type: "string";
2192
- };
2193
- readonly menuPrefix: {
2194
- readonly type: "string";
2195
- };
2196
- };
2197
- };
2198
2187
  readonly hidePaginationButtons: {
2199
2188
  readonly type: "boolean";
2200
2189
  };
@@ -2328,10 +2317,6 @@ export declare const apiConfigSchema: {
2328
2317
  readonly otherItemsGroupName: {
2329
2318
  readonly type: "string";
2330
2319
  };
2331
- readonly initialLoadState: {
2332
- readonly type: "string";
2333
- readonly enum: readonly ["all-expanded", "default"];
2334
- };
2335
2320
  };
2336
2321
  readonly additionalProperties: false;
2337
2322
  };
@@ -2360,10 +2345,10 @@ export declare const apiConfigSchema: {
2360
2345
  };
2361
2346
  };
2362
2347
  };
2363
- readonly jsonSamplesExpandLevel: {
2348
+ readonly jsonSamplesDepth: {
2364
2349
  readonly type: "number";
2365
2350
  };
2366
- readonly sampleMaxInlineArgs: {
2351
+ readonly samplesMaxInlineArgs: {
2367
2352
  readonly type: "number";
2368
2353
  };
2369
2354
  readonly licenseKey: {
@@ -2625,6 +2610,26 @@ export declare const rbacConfigSchema: {
2625
2610
  };
2626
2611
  };
2627
2612
  };
2613
+ export declare const graviteeAdapterAuthStaticSchema: {
2614
+ readonly type: "object";
2615
+ readonly properties: {
2616
+ readonly static: {
2617
+ readonly type: "string";
2618
+ };
2619
+ };
2620
+ readonly additionalProperties: false;
2621
+ readonly required: readonly ["static"];
2622
+ };
2623
+ export declare const graviteeAdapterAuthIdpSchema: {
2624
+ readonly type: "object";
2625
+ readonly properties: {
2626
+ readonly idp: {
2627
+ readonly type: "string";
2628
+ };
2629
+ };
2630
+ readonly additionalProperties: false;
2631
+ readonly required: readonly ["idp"];
2632
+ };
2628
2633
  export declare const graviteeAdapterConfigSchema: {
2629
2634
  readonly type: "object";
2630
2635
  readonly properties: {
@@ -2647,12 +2652,25 @@ export declare const graviteeAdapterConfigSchema: {
2647
2652
  readonly default: "non-production";
2648
2653
  };
2649
2654
  readonly auth: {
2650
- readonly type: "object";
2651
- readonly properties: {
2652
- readonly static: {
2653
- readonly type: "string";
2655
+ readonly oneOf: readonly [{
2656
+ readonly type: "object";
2657
+ readonly properties: {
2658
+ readonly static: {
2659
+ readonly type: "string";
2660
+ };
2654
2661
  };
2655
- };
2662
+ readonly additionalProperties: false;
2663
+ readonly required: readonly ["static"];
2664
+ }, {
2665
+ readonly type: "object";
2666
+ readonly properties: {
2667
+ readonly idp: {
2668
+ readonly type: "string";
2669
+ };
2670
+ };
2671
+ readonly additionalProperties: false;
2672
+ readonly required: readonly ["idp"];
2673
+ }];
2656
2674
  };
2657
2675
  };
2658
2676
  readonly additionalProperties: false;
@@ -3009,12 +3027,25 @@ export declare const devOnboardingAdapterConfigSchema: {
3009
3027
  readonly default: "non-production";
3010
3028
  };
3011
3029
  readonly auth: {
3012
- readonly type: "object";
3013
- readonly properties: {
3014
- readonly static: {
3015
- readonly type: "string";
3030
+ readonly oneOf: readonly [{
3031
+ readonly type: "object";
3032
+ readonly properties: {
3033
+ readonly static: {
3034
+ readonly type: "string";
3035
+ };
3016
3036
  };
3017
- };
3037
+ readonly additionalProperties: false;
3038
+ readonly required: readonly ["static"];
3039
+ }, {
3040
+ readonly type: "object";
3041
+ readonly properties: {
3042
+ readonly idp: {
3043
+ readonly type: "string";
3044
+ };
3045
+ };
3046
+ readonly additionalProperties: false;
3047
+ readonly required: readonly ["idp"];
3048
+ }];
3018
3049
  };
3019
3050
  };
3020
3051
  readonly additionalProperties: false;
@@ -4927,17 +4958,6 @@ export declare const redoclyConfigSchema: {
4927
4958
  readonly type: "string";
4928
4959
  readonly enum: readonly ["none", "section", "item"];
4929
4960
  };
4930
- readonly navigation: {
4931
- readonly type: "object";
4932
- readonly properties: {
4933
- readonly contentPrefix: {
4934
- readonly type: "string";
4935
- };
4936
- readonly menuPrefix: {
4937
- readonly type: "string";
4938
- };
4939
- };
4940
- };
4941
4961
  readonly hidePaginationButtons: {
4942
4962
  readonly type: "boolean";
4943
4963
  };
@@ -5071,10 +5091,6 @@ export declare const redoclyConfigSchema: {
5071
5091
  readonly otherItemsGroupName: {
5072
5092
  readonly type: "string";
5073
5093
  };
5074
- readonly initialLoadState: {
5075
- readonly type: "string";
5076
- readonly enum: readonly ["all-expanded", "default"];
5077
- };
5078
5094
  };
5079
5095
  readonly additionalProperties: false;
5080
5096
  };
@@ -5103,10 +5119,10 @@ export declare const redoclyConfigSchema: {
5103
5119
  };
5104
5120
  };
5105
5121
  };
5106
- readonly jsonSamplesExpandLevel: {
5122
+ readonly jsonSamplesDepth: {
5107
5123
  readonly type: "number";
5108
5124
  };
5109
- readonly sampleMaxInlineArgs: {
5125
+ readonly samplesMaxInlineArgs: {
5110
5126
  readonly type: "number";
5111
5127
  };
5112
5128
  readonly licenseKey: {
@@ -5609,12 +5625,25 @@ export declare const redoclyConfigSchema: {
5609
5625
  readonly default: "non-production";
5610
5626
  };
5611
5627
  readonly auth: {
5612
- readonly type: "object";
5613
- readonly properties: {
5614
- readonly static: {
5615
- readonly type: "string";
5628
+ readonly oneOf: readonly [{
5629
+ readonly type: "object";
5630
+ readonly properties: {
5631
+ readonly static: {
5632
+ readonly type: "string";
5633
+ };
5616
5634
  };
5617
- };
5635
+ readonly additionalProperties: false;
5636
+ readonly required: readonly ["static"];
5637
+ }, {
5638
+ readonly type: "object";
5639
+ readonly properties: {
5640
+ readonly idp: {
5641
+ readonly type: "string";
5642
+ };
5643
+ };
5644
+ readonly additionalProperties: false;
5645
+ readonly required: readonly ["idp"];
5646
+ }];
5618
5647
  };
5619
5648
  };
5620
5649
  readonly additionalProperties: false;
@@ -8277,17 +8306,6 @@ export declare const redoclyConfigSchema: {
8277
8306
  readonly type: "string";
8278
8307
  readonly enum: readonly ["none", "section", "item"];
8279
8308
  };
8280
- readonly navigation: {
8281
- readonly type: "object";
8282
- readonly properties: {
8283
- readonly contentPrefix: {
8284
- readonly type: "string";
8285
- };
8286
- readonly menuPrefix: {
8287
- readonly type: "string";
8288
- };
8289
- };
8290
- };
8291
8309
  readonly hidePaginationButtons: {
8292
8310
  readonly type: "boolean";
8293
8311
  };
@@ -8421,10 +8439,6 @@ export declare const redoclyConfigSchema: {
8421
8439
  readonly otherItemsGroupName: {
8422
8440
  readonly type: "string";
8423
8441
  };
8424
- readonly initialLoadState: {
8425
- readonly type: "string";
8426
- readonly enum: readonly ["all-expanded", "default"];
8427
- };
8428
8442
  };
8429
8443
  readonly additionalProperties: false;
8430
8444
  };
@@ -8453,10 +8467,10 @@ export declare const redoclyConfigSchema: {
8453
8467
  };
8454
8468
  };
8455
8469
  };
8456
- readonly jsonSamplesExpandLevel: {
8470
+ readonly jsonSamplesDepth: {
8457
8471
  readonly type: "number";
8458
8472
  };
8459
- readonly sampleMaxInlineArgs: {
8473
+ readonly samplesMaxInlineArgs: {
8460
8474
  readonly type: "number";
8461
8475
  };
8462
8476
  readonly licenseKey: {
@@ -9237,6 +9251,9 @@ export declare const redoclyConfigSchema: {
9237
9251
  readonly ignoreLinkChecker: {
9238
9252
  readonly type: "boolean";
9239
9253
  };
9254
+ readonly ignoreMarkdocErrors: {
9255
+ readonly type: "boolean";
9256
+ };
9240
9257
  };
9241
9258
  readonly additionalProperties: false;
9242
9259
  };
@@ -9465,36 +9482,6 @@ export declare const rootRedoclyConfigSchema: {
9465
9482
  additionalProperties: false;
9466
9483
  type: "object";
9467
9484
  };
9468
- navigation: {
9469
- properties: {
9470
- nextButton: {
9471
- properties: {
9472
- text: {
9473
- type: "string";
9474
- };
9475
- hide: {
9476
- type: "boolean";
9477
- };
9478
- };
9479
- additionalProperties: false;
9480
- type: "object";
9481
- };
9482
- previousButton: {
9483
- properties: {
9484
- text: {
9485
- type: "string";
9486
- };
9487
- hide: {
9488
- type: "boolean";
9489
- };
9490
- };
9491
- additionalProperties: false;
9492
- type: "object";
9493
- };
9494
- };
9495
- additionalProperties: false;
9496
- type: "object";
9497
- };
9498
9485
  feedback: {
9499
9486
  properties: {
9500
9487
  type: {
@@ -9896,6 +9883,36 @@ export declare const rootRedoclyConfigSchema: {
9896
9883
  additionalProperties: false;
9897
9884
  type: "object";
9898
9885
  };
9886
+ navigation: {
9887
+ properties: {
9888
+ nextButton: {
9889
+ properties: {
9890
+ text: {
9891
+ type: "string";
9892
+ };
9893
+ hide: {
9894
+ type: "boolean";
9895
+ };
9896
+ };
9897
+ additionalProperties: false;
9898
+ type: "object";
9899
+ };
9900
+ previousButton: {
9901
+ properties: {
9902
+ text: {
9903
+ type: "string";
9904
+ };
9905
+ hide: {
9906
+ type: "boolean";
9907
+ };
9908
+ };
9909
+ additionalProperties: false;
9910
+ type: "object";
9911
+ };
9912
+ };
9913
+ additionalProperties: false;
9914
+ type: "object";
9915
+ };
9899
9916
  codeSnippet: {
9900
9917
  properties: {
9901
9918
  elementFormat: {
@@ -11025,13 +11042,6 @@ export declare const rootRedoclyConfigSchema: {
11025
11042
  enum: ("stacked" | "three-panel")[];
11026
11043
  type: "string";
11027
11044
  };
11028
- jsonSamplesExpandLevel: {
11029
- oneOf: ({
11030
- type: "number";
11031
- } | {
11032
- type: "string";
11033
- })[];
11034
- };
11035
11045
  licenseKey: {
11036
11046
  type: "string";
11037
11047
  };
@@ -11188,6 +11198,13 @@ export declare const rootRedoclyConfigSchema: {
11188
11198
  hideSchemaTitles: {
11189
11199
  type: "boolean";
11190
11200
  };
11201
+ jsonSamplesExpandLevel: {
11202
+ oneOf: ({
11203
+ type: "number";
11204
+ } | {
11205
+ type: "string";
11206
+ })[];
11207
+ };
11191
11208
  schemasExpansionLevel: {
11192
11209
  oneOf: ({
11193
11210
  type: "number";
@@ -11282,17 +11299,6 @@ export declare const rootRedoclyConfigSchema: {
11282
11299
  };
11283
11300
  type: "object";
11284
11301
  };
11285
- navigation: {
11286
- properties: {
11287
- contentPrefix: {
11288
- type: "string";
11289
- };
11290
- menuPrefix: {
11291
- type: "string";
11292
- };
11293
- };
11294
- type: "object";
11295
- };
11296
11302
  hidePaginationButtons: {
11297
11303
  type: "boolean";
11298
11304
  };
@@ -11347,10 +11353,6 @@ export declare const rootRedoclyConfigSchema: {
11347
11353
  otherItemsGroupName: {
11348
11354
  type: "string";
11349
11355
  };
11350
- initialLoadState: {
11351
- enum: ("all-expanded" | "default")[];
11352
- type: "string";
11353
- };
11354
11356
  };
11355
11357
  additionalProperties: false;
11356
11358
  type: "object";
@@ -11372,10 +11374,10 @@ export declare const rootRedoclyConfigSchema: {
11372
11374
  };
11373
11375
  type: "object";
11374
11376
  };
11375
- jsonSamplesExpandLevel: {
11377
+ jsonSamplesDepth: {
11376
11378
  type: "number";
11377
11379
  };
11378
- sampleMaxInlineArgs: {
11380
+ samplesMaxInlineArgs: {
11379
11381
  type: "number";
11380
11382
  };
11381
11383
  licenseKey: {
@@ -13231,13 +13233,6 @@ export declare const rootRedoclyConfigSchema: {
13231
13233
  enum: ("stacked" | "three-panel")[];
13232
13234
  type: "string";
13233
13235
  };
13234
- jsonSamplesExpandLevel: {
13235
- oneOf: ({
13236
- type: "number";
13237
- } | {
13238
- type: "string";
13239
- })[];
13240
- };
13241
13236
  licenseKey: {
13242
13237
  type: "string";
13243
13238
  };
@@ -13394,6 +13389,13 @@ export declare const rootRedoclyConfigSchema: {
13394
13389
  hideSchemaTitles: {
13395
13390
  type: "boolean";
13396
13391
  };
13392
+ jsonSamplesExpandLevel: {
13393
+ oneOf: ({
13394
+ type: "number";
13395
+ } | {
13396
+ type: "string";
13397
+ })[];
13398
+ };
13397
13399
  schemasExpansionLevel: {
13398
13400
  oneOf: ({
13399
13401
  type: "number";
@@ -13488,17 +13490,6 @@ export declare const rootRedoclyConfigSchema: {
13488
13490
  };
13489
13491
  type: "object";
13490
13492
  };
13491
- navigation: {
13492
- properties: {
13493
- contentPrefix: {
13494
- type: "string";
13495
- };
13496
- menuPrefix: {
13497
- type: "string";
13498
- };
13499
- };
13500
- type: "object";
13501
- };
13502
13493
  hidePaginationButtons: {
13503
13494
  type: "boolean";
13504
13495
  };
@@ -13553,10 +13544,6 @@ export declare const rootRedoclyConfigSchema: {
13553
13544
  otherItemsGroupName: {
13554
13545
  type: "string";
13555
13546
  };
13556
- initialLoadState: {
13557
- enum: ("all-expanded" | "default")[];
13558
- type: "string";
13559
- };
13560
13547
  };
13561
13548
  additionalProperties: false;
13562
13549
  type: "object";
@@ -13578,10 +13565,10 @@ export declare const rootRedoclyConfigSchema: {
13578
13565
  };
13579
13566
  type: "object";
13580
13567
  };
13581
- jsonSamplesExpandLevel: {
13568
+ jsonSamplesDepth: {
13582
13569
  type: "number";
13583
13570
  };
13584
- sampleMaxInlineArgs: {
13571
+ samplesMaxInlineArgs: {
13585
13572
  type: "number";
13586
13573
  };
13587
13574
  licenseKey: {
@@ -13900,12 +13887,25 @@ export declare const rootRedoclyConfigSchema: {
13900
13887
  type: "string";
13901
13888
  };
13902
13889
  auth: {
13903
- properties: {
13904
- static: {
13905
- type: "string";
13890
+ oneOf: ({
13891
+ properties: {
13892
+ static: {
13893
+ type: "string";
13894
+ };
13906
13895
  };
13907
- };
13908
- type: "object";
13896
+ additionalProperties: false;
13897
+ type: "object";
13898
+ required: "static"[];
13899
+ } | {
13900
+ properties: {
13901
+ idp: {
13902
+ type: "string";
13903
+ };
13904
+ };
13905
+ additionalProperties: false;
13906
+ type: "object";
13907
+ required: "idp"[];
13908
+ })[];
13909
13909
  };
13910
13910
  env: {
13911
13911
  type: "string";
@@ -14112,6 +14112,9 @@ export declare const rootRedoclyConfigSchema: {
14112
14112
  ignoreLinkChecker: {
14113
14113
  type: "boolean";
14114
14114
  };
14115
+ ignoreMarkdocErrors: {
14116
+ type: "boolean";
14117
+ };
14115
14118
  };
14116
14119
  additionalProperties: false;
14117
14120
  type: "object";
@@ -15995,17 +15998,6 @@ export declare const rootRedoclyConfigSchema: {
15995
15998
  readonly type: "string";
15996
15999
  readonly enum: readonly ["none", "section", "item"];
15997
16000
  };
15998
- readonly navigation: {
15999
- readonly type: "object";
16000
- readonly properties: {
16001
- readonly contentPrefix: {
16002
- readonly type: "string";
16003
- };
16004
- readonly menuPrefix: {
16005
- readonly type: "string";
16006
- };
16007
- };
16008
- };
16009
16001
  readonly hidePaginationButtons: {
16010
16002
  readonly type: "boolean";
16011
16003
  };
@@ -16139,10 +16131,6 @@ export declare const rootRedoclyConfigSchema: {
16139
16131
  readonly otherItemsGroupName: {
16140
16132
  readonly type: "string";
16141
16133
  };
16142
- readonly initialLoadState: {
16143
- readonly type: "string";
16144
- readonly enum: readonly ["all-expanded", "default"];
16145
- };
16146
16134
  };
16147
16135
  readonly additionalProperties: false;
16148
16136
  };
@@ -16171,10 +16159,10 @@ export declare const rootRedoclyConfigSchema: {
16171
16159
  };
16172
16160
  };
16173
16161
  };
16174
- readonly jsonSamplesExpandLevel: {
16162
+ readonly jsonSamplesDepth: {
16175
16163
  readonly type: "number";
16176
16164
  };
16177
- readonly sampleMaxInlineArgs: {
16165
+ readonly samplesMaxInlineArgs: {
16178
16166
  readonly type: "number";
16179
16167
  };
16180
16168
  readonly licenseKey: {
@@ -16677,12 +16665,25 @@ export declare const rootRedoclyConfigSchema: {
16677
16665
  readonly default: "non-production";
16678
16666
  };
16679
16667
  readonly auth: {
16680
- readonly type: "object";
16681
- readonly properties: {
16682
- readonly static: {
16683
- readonly type: "string";
16668
+ readonly oneOf: readonly [{
16669
+ readonly type: "object";
16670
+ readonly properties: {
16671
+ readonly static: {
16672
+ readonly type: "string";
16673
+ };
16684
16674
  };
16685
- };
16675
+ readonly additionalProperties: false;
16676
+ readonly required: readonly ["static"];
16677
+ }, {
16678
+ readonly type: "object";
16679
+ readonly properties: {
16680
+ readonly idp: {
16681
+ readonly type: "string";
16682
+ };
16683
+ };
16684
+ readonly additionalProperties: false;
16685
+ readonly required: readonly ["idp"];
16686
+ }];
16686
16687
  };
16687
16688
  };
16688
16689
  readonly additionalProperties: false;
@@ -19345,17 +19346,6 @@ export declare const rootRedoclyConfigSchema: {
19345
19346
  readonly type: "string";
19346
19347
  readonly enum: readonly ["none", "section", "item"];
19347
19348
  };
19348
- readonly navigation: {
19349
- readonly type: "object";
19350
- readonly properties: {
19351
- readonly contentPrefix: {
19352
- readonly type: "string";
19353
- };
19354
- readonly menuPrefix: {
19355
- readonly type: "string";
19356
- };
19357
- };
19358
- };
19359
19349
  readonly hidePaginationButtons: {
19360
19350
  readonly type: "boolean";
19361
19351
  };
@@ -19489,10 +19479,6 @@ export declare const rootRedoclyConfigSchema: {
19489
19479
  readonly otherItemsGroupName: {
19490
19480
  readonly type: "string";
19491
19481
  };
19492
- readonly initialLoadState: {
19493
- readonly type: "string";
19494
- readonly enum: readonly ["all-expanded", "default"];
19495
- };
19496
19482
  };
19497
19483
  readonly additionalProperties: false;
19498
19484
  };
@@ -19521,10 +19507,10 @@ export declare const rootRedoclyConfigSchema: {
19521
19507
  };
19522
19508
  };
19523
19509
  };
19524
- readonly jsonSamplesExpandLevel: {
19510
+ readonly jsonSamplesDepth: {
19525
19511
  readonly type: "number";
19526
19512
  };
19527
- readonly sampleMaxInlineArgs: {
19513
+ readonly samplesMaxInlineArgs: {
19528
19514
  readonly type: "number";
19529
19515
  };
19530
19516
  readonly licenseKey: {
@@ -20305,6 +20291,9 @@ export declare const rootRedoclyConfigSchema: {
20305
20291
  readonly ignoreLinkChecker: {
20306
20292
  readonly type: "boolean";
20307
20293
  };
20294
+ readonly ignoreMarkdocErrors: {
20295
+ readonly type: "boolean";
20296
+ };
20308
20297
  };
20309
20298
  readonly additionalProperties: false;
20310
20299
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.rootRedoclyConfigSchema = exports.redoclyConfigSchema = exports.i18ConfigSchema = exports.devOnboardingAdapterConfigSchema = exports.apigeeEdgeAdapterConfigSchema = exports.apigeeXAdapterConfigSchema = exports.apigeeAdapterAuthServiceAccountSchema = exports.apigeeAdapterAuthOauth2Schema = exports.graviteeAdapterConfigSchema = exports.rbacConfigSchema = exports.rbacScopeItemsSchema = exports.seoConfigSchema = exports.apiConfigSchema = exports.redirectsConfigSchema = exports.redirectConfigSchema = exports.ssoConfigSchema = exports.ssoOnPremConfigSchema = exports.authProviderConfigSchema = exports.saml2ProviderConfigSchema = exports.oidcProviderConfigSchema = exports.oidcIssuerMetadataSchema = void 0;
3
+ exports.rootRedoclyConfigSchema = exports.redoclyConfigSchema = exports.i18ConfigSchema = exports.devOnboardingAdapterConfigSchema = exports.apigeeEdgeAdapterConfigSchema = exports.apigeeXAdapterConfigSchema = exports.apigeeAdapterAuthServiceAccountSchema = exports.apigeeAdapterAuthOauth2Schema = exports.graviteeAdapterConfigSchema = exports.graviteeAdapterAuthIdpSchema = exports.graviteeAdapterAuthStaticSchema = exports.rbacConfigSchema = exports.rbacScopeItemsSchema = exports.seoConfigSchema = exports.apiConfigSchema = exports.redirectsConfigSchema = exports.redirectConfigSchema = exports.ssoConfigSchema = exports.ssoOnPremConfigSchema = exports.authProviderConfigSchema = exports.saml2ProviderConfigSchema = exports.oidcProviderConfigSchema = exports.oidcIssuerMetadataSchema = void 0;
4
4
  const constants_1 = require("./constants");
5
5
  const default_theme_config_schema_1 = require("./default-theme-config-schema");
6
6
  const remove_property_recursively_1 = require("./remove-property-recursively");
@@ -173,6 +173,18 @@ exports.rbacConfigSchema = {
173
173
  },
174
174
  additionalProperties: exports.rbacScopeItemsSchema,
175
175
  };
176
+ exports.graviteeAdapterAuthStaticSchema = {
177
+ type: 'object',
178
+ properties: { static: { type: 'string' } },
179
+ additionalProperties: false,
180
+ required: ['static'],
181
+ };
182
+ exports.graviteeAdapterAuthIdpSchema = {
183
+ type: 'object',
184
+ properties: { idp: { type: 'string' } },
185
+ additionalProperties: false,
186
+ required: ['idp'],
187
+ };
176
188
  exports.graviteeAdapterConfigSchema = {
177
189
  type: 'object',
178
190
  properties: {
@@ -181,7 +193,9 @@ exports.graviteeAdapterConfigSchema = {
181
193
  env: { type: 'string' },
182
194
  allowApiProductsOutsideCatalog: { type: 'boolean', default: false },
183
195
  stage: { type: 'string', default: 'non-production' },
184
- auth: { type: 'object', properties: { static: { type: 'string' } } },
196
+ auth: {
197
+ oneOf: [exports.graviteeAdapterAuthStaticSchema, exports.graviteeAdapterAuthIdpSchema],
198
+ },
185
199
  },
186
200
  additionalProperties: false,
187
201
  required: ['type', 'apiBaseUrl'],