@redocly/cli 2.35.0 → 2.36.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.
- package/THIRD_PARTY_NOTICES +8 -9
- package/lib/chunks/{2ACFK2AA.js → 35B2IXV3.js} +1 -1
- package/lib/chunks/{JL6XAXTH.js → 4QGHXAYN.js} +2 -2
- package/lib/chunks/{HYYETV7F.js → 7PWB3SB5.js} +1 -1
- package/lib/chunks/{FLGNQ4P2.js → FMJFZCNQ.js} +430 -298
- package/lib/chunks/{YMIVTRT4.js → K6PX5SU7.js} +7 -5
- package/lib/chunks/{O5NRRTPS.js → R5E5LXAJ.js} +1 -1
- package/lib/chunks/{JT6WVBVX.js → SBGJND3Q.js} +4 -4
- package/lib/chunks/{ZH7E3R54.js → SHVJYD75.js} +1 -1
- package/lib/chunks/{ZKG4D7JN.js → UVIPIXTL.js} +71 -71
- package/lib/chunks/{TGF4B4QI.js → XTSKVMID.js} +676 -394
- package/lib/index.js +83 -19
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ const require = __createRequire(import.meta.url);
|
|
|
4
4
|
// package.json
|
|
5
5
|
var package_default = {
|
|
6
6
|
name: "@redocly/cli",
|
|
7
|
-
version: "2.
|
|
7
|
+
version: "2.36.0",
|
|
8
8
|
description: "",
|
|
9
9
|
license: "MIT",
|
|
10
10
|
bin: {
|
|
@@ -49,8 +49,8 @@ var package_default = {
|
|
|
49
49
|
"@opentelemetry/sdk-trace-node": "2.8.0",
|
|
50
50
|
"@opentelemetry/semantic-conventions": "1.41.1",
|
|
51
51
|
"@redocly/cli-otel": "0.3.1",
|
|
52
|
-
"@redocly/openapi-core": "2.
|
|
53
|
-
"@redocly/respect-core": "2.
|
|
52
|
+
"@redocly/openapi-core": "2.36.0",
|
|
53
|
+
"@redocly/respect-core": "2.36.0",
|
|
54
54
|
"@types/cookie": "0.6.0",
|
|
55
55
|
"@types/har-format": "^1.2.16",
|
|
56
56
|
"@types/react": "^17.0.0 || ^18.2.21 || ^19.2.16",
|
|
@@ -73,7 +73,7 @@ var package_default = {
|
|
|
73
73
|
"styled-components": "6.4.2",
|
|
74
74
|
typescript: "6.0.2",
|
|
75
75
|
ulid: "^3.0.1",
|
|
76
|
-
undici: "6.
|
|
76
|
+
undici: "^6.27.0",
|
|
77
77
|
yargs: "17.0.1"
|
|
78
78
|
}
|
|
79
79
|
};
|
|
@@ -81,10 +81,12 @@ var package_default = {
|
|
|
81
81
|
// src/utils/package.ts
|
|
82
82
|
var { version, name, engines } = package_default;
|
|
83
83
|
var redocVersion = package_default.devDependencies.redoc;
|
|
84
|
+
var redocStandaloneSri = "sha384-xiEssMQFSpSfLbzRZCGfxxIM5QDb2DTrU6vyoZdp2sV1L6pmOMy6MpTtUoLbpC96";
|
|
84
85
|
|
|
85
86
|
export {
|
|
86
87
|
version,
|
|
87
88
|
name,
|
|
88
89
|
engines,
|
|
89
|
-
redocVersion
|
|
90
|
+
redocVersion,
|
|
91
|
+
redocStandaloneSri
|
|
90
92
|
};
|
|
@@ -2,11 +2,11 @@ import { createRequire as __createRequire } from 'node:module';
|
|
|
2
2
|
const require = __createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
RedoclyOAuthClient
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./FMJFZCNQ.js";
|
|
6
6
|
import "./Y6DTFCLS.js";
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
7
|
+
import "./SHVJYD75.js";
|
|
8
|
+
import "./K6PX5SU7.js";
|
|
9
|
+
import "./UVIPIXTL.js";
|
|
10
10
|
import "./5ILQMFXK.js";
|
|
11
11
|
export {
|
|
12
12
|
RedoclyOAuthClient
|
|
@@ -13106,7 +13106,7 @@ var require_core5 = __commonJS({
|
|
|
13106
13106
|
constructor(opts = {}) {
|
|
13107
13107
|
this.schemas = {};
|
|
13108
13108
|
this.refs = {};
|
|
13109
|
-
this.formats =
|
|
13109
|
+
this.formats = /* @__PURE__ */ Object.create(null);
|
|
13110
13110
|
this._compilations = /* @__PURE__ */ new Set();
|
|
13111
13111
|
this._loading = {};
|
|
13112
13112
|
this._cache = /* @__PURE__ */ new Map();
|
|
@@ -24400,25 +24400,25 @@ var OpenRpcTypes = {
|
|
|
24400
24400
|
var he = { hide: { type: "boolean", default: false }, component: { type: "string", enum: ["radio", "checkbox"], default: "checkbox" }, label: { type: "string" }, items: { type: "array", items: { type: "string" } } };
|
|
24401
24401
|
var E = { type: "object", properties: he, additionalProperties: false };
|
|
24402
24402
|
var Ue = { type: "object", properties: { hide: { type: "boolean", default: false }, label: { type: "string" }, placeholder: { type: "string" } }, additionalProperties: false };
|
|
24403
|
-
var
|
|
24403
|
+
var c = { type: "object", properties: { hide: { type: "boolean", default: false }, type: { type: "string", enum: ["rating", "sentiment", "comment", "reasons", "mood", "scale"], default: "sentiment" }, settings: { type: "object", properties: { label: { type: "string" }, submitText: { type: "string" }, buttonText: { type: "string" }, component: { type: "string", enum: ["radio", "checkbox"], default: "checkbox" }, items: { type: "array", items: { type: "string" }, minItems: 1 }, leftScaleLabel: { type: "string" }, rightScaleLabel: { type: "string" }, reasons: { type: "object", properties: { ...he, like: E, dislike: E, satisfied: E, neutral: E, dissatisfied: E }, additionalProperties: false }, comment: { type: "object", properties: { hide: { type: "boolean", default: false }, label: { type: "string" }, likeLabel: { type: "string" }, dislikeLabel: { type: "string" }, satisfiedLabel: { type: "string" }, neutralLabel: { type: "string" }, dissatisfiedLabel: { type: "string" } }, additionalProperties: false }, optionalEmail: Ue }, additionalProperties: false } }, additionalProperties: false };
|
|
24404
24404
|
var Fe = { type: "object", properties: { languages: { type: "array", items: { type: "object", properties: { lang: { type: "string", examples: ["curl", "JavaScript", "Node.js", "Python", "Java8+Apache", "Java", "C#", "C#+Newtonsoft", "PHP", "Go", "Ruby", "R", "Payload"] }, label: { type: "string" }, options: { type: "object", properties: { indent: { type: "string" }, withImports: { type: "boolean" }, withComments: { type: "boolean" }, binary: { type: "boolean" }, credentials: { type: "string", enum: ["omit", "same-origin", "include"] } }, additionalProperties: false } }, required: ["lang"], additionalProperties: false } }, skipOptionalParameters: { type: "boolean" }, withOAuth2Call: { type: "boolean" } }, additionalProperties: false };
|
|
24405
24405
|
var R = { type: "array", items: { type: "object", properties: { title: { type: "string" }, url: { type: "string" } }, required: ["url"], additionalProperties: false } };
|
|
24406
|
-
var S = { type: "object", properties: { licenseKey: { type: "string" }, hideLoading: { type: "boolean" }, disableRouter: { type: "boolean" }, hideSidebar: { type: "boolean" }, feedback:
|
|
24406
|
+
var S = { type: "object", properties: { licenseKey: { type: "string" }, hideLoading: { type: "boolean" }, disableRouter: { type: "boolean" }, hideSidebar: { type: "boolean" }, feedback: c, hideReplay: { type: "boolean" }, oAuth2RedirectURI: { type: "string", nullable: true }, corsProxyUrl: { type: "string" }, sortRequiredPropsFirst: { type: "boolean" }, sanitize: { type: "boolean" }, hideDownloadButtons: { type: "boolean" }, downloadUrls: R, onlyRequiredInSamples: { type: "boolean" }, generatedSamplesMaxDepth: { oneOf: [{ type: "number" }, { type: "string" }] }, showExtensions: { oneOf: [{ type: "boolean" }, { type: "string" }, { type: "array", items: { type: "string" } }] }, hideSchemaTitles: { type: "boolean" }, jsonSamplesExpandLevel: { oneOf: [{ type: "number" }, { type: "string" }] }, schemasExpansionLevel: { oneOf: [{ type: "number" }, { type: "string" }] }, mockServer: { type: "object", properties: { url: { type: "string" }, position: { type: "string", enum: ["first", "last", "replace", "off"] }, description: { type: "string" } } }, maxDisplayedEnumValues: { type: "number" }, schemaDefinitionsTagName: { type: "string" }, layout: { type: "string", enum: ["stacked", "three-panel"] }, hideInfoMetadata: { type: "boolean" }, events: { type: "object" }, skipBundle: { type: "boolean" }, routingBasePath: { type: "string" }, codeSamples: Fe, ignoreNamedSchemas: { oneOf: [{ type: "array", items: { type: "string" } }, { type: "string" }] }, hidePropertiesPrefix: { type: "boolean" }, excludeFromSearch: { type: "boolean" }, showSchemaCatalogLinks: { type: "boolean" } }, additionalProperties: false };
|
|
24407
24407
|
var C = { type: "object", properties: { includeByName: { type: "array", items: { type: "string" } }, excludeByName: { type: "array", items: { type: "string" } } }, additionalProperties: false };
|
|
24408
24408
|
var ze = { type: "object", properties: { name: { type: "string" }, items: C, queries: C, mutations: C, subscriptions: C, types: C, directives: C }, required: ["name"], additionalProperties: false };
|
|
24409
24409
|
var Ge = { type: "object", properties: { requireExactGroups: { type: "boolean" }, groups: { type: "array", items: ze }, otherItemsGroupName: { type: "string" } }, required: ["requireExactGroups", "groups", "otherItemsGroupName"], additionalProperties: false };
|
|
24410
|
-
var
|
|
24411
|
-
var
|
|
24412
|
-
var He = { type: "object", properties: { title: { type: "string" }, version: { type: "string" }, description: { type: "string" }, termsOfService: { type: "string", format: "uri" }, contact:
|
|
24413
|
-
var P = { type: "object", properties: { menu: { type: "object", properties: { ...Ge.properties }, additionalProperties: false }, sidebar: { type: "object", properties: { hide: { type: "boolean" } } }, downloadUrls: R, apiLogo: { type: "object", properties: { imageUrl: { type: "string" }, href: { type: "string" }, altText: { type: "string" }, backgroundColor: { type: "string" } } }, jsonSamplesDepth: { type: "number" }, samplesMaxInlineArgs: { type: "number" }, licenseKey: { type: "string" }, fieldExpandLevel: { type: "number" }, baseUrlPath: { type: "string" }, metadata: { type: "object", properties: { apiId: { type: "string" } }, additionalProperties: true }, feedback:
|
|
24414
|
-
var Se = { type: "object", properties: { downloadUrls: R, apiLogo: { type: "object", properties: { imageUrl: { type: "string" }, href: { type: "string" }, altText: { type: "string" }, backgroundColor: { type: "string" } } }, jsonSamplesDepth: { type: "number" }, samplesMaxInlineArgs: { type: "number" }, fieldExpandLevel: { type: "number" }, baseUrlPath: { type: "string" }, metadata: { type: "object", properties: { apiId: { type: "string" } }, additionalProperties: true }, feedback:
|
|
24410
|
+
var Ke = { type: "object", properties: { name: { type: "string" }, url: { type: "string", format: "uri" }, email: { type: "string", format: "email" } }, additionalProperties: false };
|
|
24411
|
+
var Ye = { type: "object", properties: { name: { type: "string" }, url: { type: "string", format: "uri" }, identifier: { type: "string" } }, additionalProperties: false };
|
|
24412
|
+
var He = { type: "object", properties: { title: { type: "string" }, version: { type: "string" }, description: { type: "string" }, termsOfService: { type: "string", format: "uri" }, contact: Ke, license: Ye }, additionalProperties: false };
|
|
24413
|
+
var P = { type: "object", properties: { menu: { type: "object", properties: { ...Ge.properties }, additionalProperties: false }, sidebar: { type: "object", properties: { hide: { type: "boolean" } } }, downloadUrls: R, apiLogo: { type: "object", properties: { imageUrl: { type: "string" }, href: { type: "string" }, altText: { type: "string" }, backgroundColor: { type: "string" } } }, jsonSamplesDepth: { type: "number" }, samplesMaxInlineArgs: { type: "number" }, licenseKey: { type: "string" }, fieldExpandLevel: { type: "number" }, baseUrlPath: { type: "string" }, metadata: { type: "object", properties: { apiId: { type: "string" } }, additionalProperties: true }, feedback: c, layout: { type: "string", enum: ["stacked", "three-panel"] }, showBuiltInScalars: { type: "boolean" }, showBuiltInDirectives: { type: "boolean" }, info: He }, additionalProperties: false };
|
|
24414
|
+
var Se = { type: "object", properties: { downloadUrls: R, apiLogo: { type: "object", properties: { imageUrl: { type: "string" }, href: { type: "string" }, altText: { type: "string" }, backgroundColor: { type: "string" } } }, jsonSamplesDepth: { type: "number" }, samplesMaxInlineArgs: { type: "number" }, fieldExpandLevel: { type: "number" }, baseUrlPath: { type: "string" }, metadata: { type: "object", properties: { apiId: { type: "string" } }, additionalProperties: true }, feedback: c, layout: { type: "string", enum: ["stacked", "three-panel"] } }, additionalProperties: false };
|
|
24415
24415
|
var We = { type: "object", properties: { label: { type: "string" }, lang: { enum: ["curl", "C#", "Go", "Java", "Java8+Apache", "JavaScript", "Node.js", "PHP", "Python", "R", "Ruby"] } }, required: ["lang"] };
|
|
24416
24416
|
var Ve = { type: "object", properties: { enum: { type: "string" }, enumSingleValue: { type: "string" }, enumArray: { type: "string" }, default: { type: "string" }, deprecated: { type: "string" }, example: { type: "string" }, examples: { type: "string" }, nullable: { type: "string" }, recursive: { type: "string" }, arrayOf: { type: "string" }, webhook: { type: "string" }, authorizations: { type: "string" }, tryItAuthBasicUsername: { type: "string" }, tryItAuthBasicPassword: { type: "string" } } };
|
|
24417
24417
|
var Ce = { type: "object", properties: { label: { type: "string" }, link: { type: "string" }, target: { type: "string" } }, required: ["label", "link"] };
|
|
24418
24418
|
var $e = { type: "object", properties: { beforeInfo: { type: "array", items: Ce }, end: { type: "array", items: Ce } } };
|
|
24419
24419
|
var u = { type: "object", properties: { main: { type: "string" }, light: { type: "string" }, dark: { type: "string" }, contrastText: { type: "string" } } };
|
|
24420
24420
|
var A = { type: "object", properties: { backgroundColor: { type: "string" }, borderColor: { type: "string" }, color: { type: "string" }, tabTextColor: { type: "string" } } };
|
|
24421
|
-
var Je = { type: "object", properties:
|
|
24421
|
+
var Je = { type: "object", properties: N(u.properties, ["light", "dark"]) };
|
|
24422
24422
|
var Xe = { type: "object", properties: { basic: { type: "string" }, delete: { type: "string" }, get: { type: "string" }, head: { type: "string" }, link: { type: "string" }, options: { type: "string" }, patch: { type: "string" }, post: { type: "string" }, put: { type: "string" } } };
|
|
24423
24423
|
var Qe = { type: "object", properties: { error: A, info: A, redirect: A, success: A } };
|
|
24424
24424
|
var Ze = { type: "object", properties: j(u.properties, ["dark"]) };
|
|
@@ -24426,31 +24426,31 @@ var et = { type: "object", properties: { primary: { type: "string" }, secondary:
|
|
|
24426
24426
|
var tt = { type: "object", properties: { accent: u, border: Je, error: u, http: Xe, primary: u, responses: Qe, secondary: Ze, success: u, text: et, tonalOffset: { type: "number" }, warning: u } };
|
|
24427
24427
|
var L = { type: "object", properties: { fontSize: { type: "string" }, padding: { type: "string" }, minWidth: { type: "string" } } };
|
|
24428
24428
|
var rt = { type: "object", properties: { small: L, medium: L, large: L, xlarge: L } };
|
|
24429
|
-
var
|
|
24430
|
-
var ot = { type: "object", properties: { ...j(
|
|
24431
|
-
var Pe = { type: "object", properties:
|
|
24429
|
+
var l = { type: "object", properties: { fontFamily: { type: "string" }, fontSize: { type: "string" }, fontWeight: { type: "string" }, lineHeight: { type: "string" } } };
|
|
24430
|
+
var ot = { type: "object", properties: { ...j(l.properties, ["fontSize", "lineHeight"]), borderRadius: { type: "string" }, hoverStyle: { type: "string" }, boxShadow: { type: "string" }, hoverBoxShadow: { type: "string" }, sizes: rt } };
|
|
24431
|
+
var Pe = { type: "object", properties: N(l.properties, ["fontSize", "lineHeight"]) };
|
|
24432
24432
|
var it = { type: "object", properties: { medium: Pe, small: Pe } };
|
|
24433
|
-
var st = { type: "object", properties: { ...j(
|
|
24433
|
+
var st = { type: "object", properties: { ...j(l.properties, ["fontSize", "lineHeight"]), borderRadius: { type: "string" }, color: { type: "string" }, sizes: it } };
|
|
24434
24434
|
var at = { type: "object", properties: { top: { type: "string" }, width: { type: "string" }, height: { type: "string" } } };
|
|
24435
24435
|
var nt = { type: "object", properties: { borderRadius: { type: "string" }, backgroundColor: { type: "string" } } };
|
|
24436
24436
|
var je = { type: "object", properties: { fullWidth: { type: "boolean" } } };
|
|
24437
24437
|
var pt = { type: "object", properties: { buttons: ot, httpBadges: st, layoutControls: at, panels: nt, tryItButton: je, tryItSendButton: je } };
|
|
24438
|
-
var
|
|
24439
|
-
var ct = { type: "object", properties: { maxWidth:
|
|
24440
|
-
var lt = { type: "object", properties: { maxWidth:
|
|
24438
|
+
var D = { type: "object", properties: { small: { type: "string" }, medium: { type: "string" }, large: { type: "string" } } };
|
|
24439
|
+
var ct = { type: "object", properties: { maxWidth: D } };
|
|
24440
|
+
var lt = { type: "object", properties: { maxWidth: D, middlePanelMaxWidth: D } };
|
|
24441
24441
|
var yt = { type: "object", properties: { showDarkRightPanel: { type: "boolean" }, stacked: ct, "three-panel": lt } };
|
|
24442
24442
|
var xe = { type: "object", properties: { backgroundColor: { type: "string" }, border: { type: "string" } } };
|
|
24443
24443
|
var dt = { type: "object", properties: { breakFieldNames: { type: "boolean" }, caretColor: { type: "string" }, caretSize: { type: "string" }, constraints: xe, defaultDetailsWidth: { type: "string" }, examples: xe, labelsTextSize: { type: "string" }, linesColor: { type: "string" }, nestedBackground: { type: "string" }, nestingSpacing: { type: "string" }, requireLabelColor: { type: "string" }, typeNameColor: { type: "string" }, typeTitleColor: { type: "string" } } };
|
|
24444
24444
|
var Te = { type: "object", properties: { subItemsColor: { type: "string" }, textTransform: { type: "string" }, fontWeight: { type: "string" } } };
|
|
24445
|
-
var gt = { type: "object", properties:
|
|
24445
|
+
var gt = { type: "object", properties: N(Te.properties, ["textTransform"]) };
|
|
24446
24446
|
var mt = { type: "object", properties: { unit: { type: "number" }, paddingHorizontal: { type: "string" }, paddingVertical: { type: "string" }, offsetTop: { type: "string" }, offsetLeft: { type: "string" }, offsetNesting: { type: "string" } } };
|
|
24447
|
-
var ut = { type: "object", properties: { ...j(
|
|
24448
|
-
var O = { type: "object", properties: { ...
|
|
24449
|
-
var bt = { type: "object", properties: { ...
|
|
24450
|
-
var ft = { type: "object", properties: j(
|
|
24447
|
+
var ut = { type: "object", properties: { ...j(l.properties, ["fontWeight", "lineHeight"]), activeBgColor: { type: "string" }, activeTextColor: { type: "string" }, backgroundColor: { type: "string" }, borderRadius: { type: "string" }, breakPath: { type: "boolean" }, caretColor: { type: "string" }, caretSize: { type: "string" }, groupItems: Te, level1items: gt, rightLineColor: { type: "string" }, separatorLabelColor: { type: "string" }, showAtBreakpoint: { type: "string" }, spacing: mt, textColor: { type: "string" }, width: { type: "string" } } };
|
|
24448
|
+
var O = { type: "object", properties: { ...l.properties, color: { type: "string" }, transform: { type: "string" } } };
|
|
24449
|
+
var bt = { type: "object", properties: { ...l.properties, backgroundColor: { type: "string" }, color: { type: "string" }, wordBreak: { type: "string", enum: ["break-all", "break-word", "keep-all", "normal", "revert", "unset", "inherit", "initial"] }, wrap: { type: "boolean" } } };
|
|
24450
|
+
var ft = { type: "object", properties: j(l.properties, ["fontSize"]) };
|
|
24451
24451
|
var ht = { type: "object", properties: { color: { type: "string" }, hover: { type: "string" }, textDecoration: { type: "string" }, hoverTextDecoration: { type: "string" }, visited: { type: "string" } } };
|
|
24452
|
-
var St = { type: "object", properties: { code: bt, fieldName:
|
|
24453
|
-
var Ct = { type: "object", properties: { color: { type: "string" }, ...j(
|
|
24452
|
+
var St = { type: "object", properties: { code: bt, fieldName: l, ...N(l.properties, ["fontSize", "fontFamily"]), fontWeightBold: { type: "string" }, fontWeightLight: { type: "string" }, fontWeightRegular: { type: "string" }, heading1: O, heading2: O, heading3: O, headings: ft, lineHeight: { type: "string" }, links: ht, optimizeSpeed: { type: "boolean" }, rightPanelHeading: O, smoothing: { type: "string", enum: ["auto", "none", "antialiased", "subpixel-antialiased", "grayscale"] } } };
|
|
24453
|
+
var Ct = { type: "object", properties: { color: { type: "string" }, ...j(l.properties, ["fontWeight"]) } };
|
|
24454
24454
|
var Pt = { type: "object", properties: { backgroundColor: { type: "string" }, borderRadius: { type: "string" }, tokens: Ct } };
|
|
24455
24455
|
var jt = { type: "object", properties: { gutter: { type: "string" }, maxHeight: { type: "string" }, maxWidth: { type: "string" } } };
|
|
24456
24456
|
var xt = { type: "object", properties: { backgroundColor: { type: "string" }, color: { type: "string" } } };
|
|
@@ -24459,44 +24459,44 @@ var vt = { type: "object", properties: { DownloadButton: ve, NextSectionButton:
|
|
|
24459
24459
|
var Tt = { type: "object", properties: { backgroundColor: { type: "string" }, panelBackgroundColor: { type: "string" }, panelControlsBackgroundColor: { type: "string" }, showAtBreakpoint: { type: "string" }, textColor: { type: "string" }, width: { type: "string" } } };
|
|
24460
24460
|
var kt = { type: "object", properties: { borderRadius: { type: "string" } } };
|
|
24461
24461
|
var Et = { type: "object", properties: { sectionHorizontal: { type: "number" }, sectionVertical: { type: "number" }, unit: { type: "number" } } };
|
|
24462
|
-
var Rt = { type: "object", properties: { breakpoints:
|
|
24462
|
+
var Rt = { type: "object", properties: { breakpoints: D, codeBlock: Pt, colors: tt, components: pt, layout: yt, logo: jt, fab: xt, overrides: vt, rightPanel: Tt, schema: dt, shape: kt, sidebar: ut, spacing: Et, typography: St, links: { properties: { color: { type: "string" } } }, codeSample: { properties: { backgroundColor: { type: "string" } } } } };
|
|
24463
24463
|
var It = { type: "object", properties: { skipOptionalParameters: { type: "boolean" }, languages: { type: "array", items: We } }, required: ["languages"] };
|
|
24464
24464
|
var ie = { type: "object", properties: { theme: Rt, ctrlFHijack: { type: "boolean" }, defaultSampleLanguage: { type: "string" }, disableDeepLinks: { type: "boolean" }, disableSearch: { type: "boolean" }, disableSidebar: { type: "boolean" }, downloadDefinitionUrl: { type: "string" }, expandDefaultServerVariables: { type: "boolean" }, enumSkipQuotes: { type: "boolean" }, expandDefaultRequest: { type: "boolean" }, expandDefaultResponse: { type: "boolean" }, expandResponses: { type: "string" }, expandSingleSchemaField: { type: "boolean" }, generateCodeSamples: It, generatedPayloadSamplesMaxDepth: { type: "number" }, hideDownloadButton: { type: "boolean" }, hideHostname: { type: "boolean" }, hideInfoSection: { type: "boolean" }, hideLogo: { type: "boolean" }, hideRequestPayloadSample: { type: "boolean" }, hideRightPanel: { type: "boolean" }, hideSchemaPattern: { type: "boolean" }, hideSingleRequestSampleTab: { type: "boolean" }, hideSecuritySection: { type: "boolean" }, hideTryItPanel: { type: "boolean" }, hideFab: { type: "boolean" }, hideOneOfDescription: { type: "boolean" }, htmlTemplate: { type: "string" }, jsonSampleExpandLevel: { oneOf: [{ type: "number", minimum: 1 }, { type: "string" }] }, labels: Ve, menuToggle: { type: "boolean" }, nativeScrollbars: { type: "boolean" }, noAutoAuth: { type: "boolean" }, onDeepLinkClick: { type: "object" }, pagination: { enum: ["none", "section", "item"] }, pathInMiddlePanel: { type: "boolean" }, payloadSampleIdx: { type: "number", minimum: 0 }, requiredPropsFirst: { type: "boolean" }, routingStrategy: { type: "string" }, samplesTabsMaxCount: { type: "number" }, schemaExpansionLevel: { oneOf: [{ type: "number", minimum: 0 }, { type: "string" }] }, minCharacterLengthToInitSearch: { type: "number", minimum: 1 }, maxResponseHeadersToShowInTryIt: { type: "number", minimum: 0 }, scrollYOffset: { oneOf: [{ type: "number" }, { type: "string" }] }, searchAutoExpand: { type: "boolean" }, searchFieldLevelBoost: { type: "number", minimum: 0 }, searchMaxDepth: { type: "number", minimum: 1 }, searchMode: { type: "string", enum: ["default", "path-only"] }, searchOperationTitleBoost: { type: "number" }, searchTagTitleBoost: { type: "number" }, sendXUserAgentInTryIt: { type: "boolean" }, showChangeLayoutButton: { type: "boolean" }, showConsole: { type: "boolean" }, showNextButton: { type: "boolean" }, showRightPanelToggle: { type: "boolean" }, showSecuritySchemeType: { type: "boolean" }, showWebhookVerb: { type: "boolean" }, showObjectSchemaExamples: { type: "boolean" }, disableTryItRequestUrlEncoding: { type: "boolean" }, sidebarLinks: $e, sideNavStyle: { type: "string", enum: ["summary-only", "path-first", "id-only", "path-only"] }, simpleOneOfTypeLabel: { type: "boolean" }, sortEnumValuesAlphabetically: { type: "boolean" }, sortOperationsAlphabetically: { type: "boolean" }, sortPropsAlphabetically: { type: "boolean" }, sortTagsAlphabetically: { type: "boolean" }, suppressWarnings: { type: "boolean" }, unstable_externalDescription: { type: "boolean" }, unstable_ignoreMimeParameters: { type: "boolean" }, untrustedDefinition: { type: "boolean" }, showAccessMode: { type: "boolean" }, preserveOriginalExtensionsName: { type: "boolean" }, markdownHeadingsAnchorLevel: { type: "number" } }, additionalProperties: false };
|
|
24465
|
-
function
|
|
24465
|
+
function N(d, m) {
|
|
24466
24466
|
return Object.fromEntries(m.filter((o) => o in d).map((o) => [o, d[o]]));
|
|
24467
24467
|
}
|
|
24468
24468
|
function j(d, m) {
|
|
24469
24469
|
return Object.fromEntries(Object.entries(d).filter(([o]) => !m.includes(o)));
|
|
24470
24470
|
}
|
|
24471
|
-
var
|
|
24472
|
-
var At = { rules:
|
|
24473
|
-
var
|
|
24474
|
-
var Lt = { preprocessors:
|
|
24475
|
-
var
|
|
24476
|
-
var Ot = { decorators:
|
|
24477
|
-
var
|
|
24478
|
-
var b = { ...At, ...Ot, ...Lt, extends:
|
|
24479
|
-
var
|
|
24480
|
-
var i =
|
|
24471
|
+
var a = { nodeTypeName: void 0, type: "object", additionalProperties: { oneOf: [{ type: "string" }, { type: "object" }] }, description: "The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.", documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules" };
|
|
24472
|
+
var At = { rules: a, oas2Rules: a, oas3_0Rules: a, oas3_1Rules: a, oas3_2Rules: a, async2Rules: a, async3Rules: a, arazzo1Rules: a, arazzo1_1Rules: a, overlay1Rules: a, openrpc1Rules: a };
|
|
24473
|
+
var n = { nodeTypeName: void 0, type: "object", additionalProperties: true };
|
|
24474
|
+
var Lt = { preprocessors: n, oas2Preprocessors: n, oas3_0Preprocessors: n, oas3_1Preprocessors: n, oas3_2Preprocessors: n, async2Preprocessors: n, async3Preprocessors: n, arazzo1Preprocessors: n, arazzo1_1Preprocessors: n, overlay1Preprocessors: n, openrpc1Preprocessors: n };
|
|
24475
|
+
var p = { nodeTypeName: void 0, type: "object", additionalProperties: true };
|
|
24476
|
+
var Ot = { decorators: p, oas2Decorators: p, oas3_0Decorators: p, oas3_1Decorators: p, oas3_2Decorators: p, async2Decorators: p, async3Decorators: p, arazzo1Decorators: p, arazzo1_1Decorators: p, overlay1Decorators: p, openrpc1Decorators: p };
|
|
24477
|
+
var Dt = { nodeTypeName: void 0, type: "array", items: { type: "string" }, description: "Use extends to inherit rules and their configurations from other rulesets.", documentationLink: "https://redocly.com/docs/cli/configuration/reference/extends" };
|
|
24478
|
+
var b = { ...At, ...Ot, ...Lt, extends: Dt };
|
|
24479
|
+
var _ = (d) => d;
|
|
24480
|
+
var i = _({ RedirectSource: "RedirectSource", Redirects: "Redirects", ScorecardClassic: "ScorecardClassic", ScorecardClassicLevelList: "ScorecardClassicLevelList", ScorecardClassicLevel: "ScorecardClassicLevel", ScorecardClassicTargetList: "ScorecardClassicTargetList", ScorecardClassicTarget: "ScorecardClassicTarget", ScorecardClassicTargetWhere: "ScorecardClassicTargetWhere", ScorecardClassicTargetWhereMetadata: "ScorecardClassicTargetWhereMetadata", ScorecardClassicTeamMetadataProperty: "ScorecardClassicTeamMetadataProperty" });
|
|
24481
24481
|
var r = { type: "object", properties: { hide: { type: "boolean" } }, additionalProperties: false };
|
|
24482
24482
|
var ke = { type: "object", properties: { src: { type: "string" }, async: { type: "boolean" }, crossorigin: { type: "string" }, defer: { type: "boolean" }, fetchpriority: { type: "string" }, integrity: { type: "string" }, module: { type: "boolean" }, nomodule: { type: "boolean" }, nonce: { type: "string" }, referrerpolicy: { type: "string" }, type: { type: "string" } }, required: ["src"], additionalProperties: true };
|
|
24483
24483
|
var se = { type: "object", properties: { page: { type: "string" }, directory: { type: "string" }, disconnect: { type: "boolean", default: false }, group: { type: "string" }, label: { type: "string" }, href: { type: "string" }, external: { type: "boolean" }, labelTranslationKey: { type: "string" }, groupTranslationKey: { type: "string" }, icon: { oneOf: [{ type: "string" }, { type: "object", properties: { srcSet: { type: "string" } }, required: ["srcSet"] }] }, separator: { type: "string" }, separatorLine: { type: "boolean" }, linePosition: { type: "string", enum: ["top", "bottom"], default: "top" }, version: { type: "string" }, menuStyle: { type: "string", enum: ["drilldown"] }, expanded: { type: "string", const: "always" }, selectFirstItemOnExpand: { type: "boolean" }, flatten: { type: "boolean" }, linkedSidebars: { type: "array", items: { type: "string" } }, items: { type: "array", items: { type: "object", additionalProperties: true } }, rbac: { type: "object", additionalProperties: { type: "string" } }, additionalProps: { type: "object", additionalProperties: true } } };
|
|
24484
24484
|
var ae = { type: "array", items: { ...se, properties: { ...se.properties, items: { type: "array", items: se } } } };
|
|
24485
|
-
var
|
|
24486
|
-
var
|
|
24487
|
-
var
|
|
24488
|
-
var
|
|
24485
|
+
var Nt = { type: "object", properties: { name: { type: "string" }, icon: { type: "string" }, folder: { type: "string" } }, additionalProperties: false, required: ["name", "folder"] };
|
|
24486
|
+
var _t = { type: "object", properties: { hide: { type: "boolean", default: false }, suggestions: { default: [], type: "array", items: { type: "string" } }, prompt: { type: "string" } }, additionalProperties: false };
|
|
24487
|
+
var qt = { type: "array", items: { type: "object", required: ["name", "field", "type"], properties: { name: { type: "string" }, field: { type: "string" }, type: { type: "string", enum: ["multi-select", "select", "tags"] } }, additionalProperties: false } };
|
|
24488
|
+
var wt = { type: "object", properties: { facets: qt, ...r.properties }, additionalProperties: false };
|
|
24489
24489
|
var Mt = { type: "object", properties: { page: { type: "string" }, label: { type: "string" }, labelTranslationKey: { type: "string" } }, required: ["page"] };
|
|
24490
|
-
var
|
|
24491
|
-
var
|
|
24492
|
-
var M = { type: "object", additionalProperties:
|
|
24490
|
+
var q = { type: "object", properties: { image: { type: "string" }, srcSet: { type: "string" }, altText: { type: "string" }, link: { type: "string" }, favicon: { type: "string" } }, additionalProperties: false };
|
|
24491
|
+
var w = { type: "object", properties: { items: ae, ...r.properties }, additionalProperties: false };
|
|
24492
|
+
var M = { type: "object", additionalProperties: Nt };
|
|
24493
24493
|
var B = { type: "object", properties: { items: ae, copyrightText: { type: "string" }, logo: r, ...r.properties }, additionalProperties: false };
|
|
24494
24494
|
var U = { type: "object", properties: { separatorLine: { type: "boolean" }, linePosition: { type: "string", enum: ["top", "bottom"], default: "bottom" }, ...r.properties }, additionalProperties: false };
|
|
24495
24495
|
var F = { type: "object", properties: { head: { type: "array", items: ke }, body: { type: "array", items: ke } }, additionalProperties: false };
|
|
24496
24496
|
var z = { type: "array", items: { type: "object", properties: { href: { type: "string" }, as: { type: "string" }, crossorigin: { type: "string" }, fetchpriority: { type: "string" }, hreflang: { type: "string" }, imagesizes: { type: "string" }, imagesrcset: { type: "string" }, integrity: { type: "string" }, media: { type: "string" }, prefetch: { type: "string" }, referrerpolicy: { type: "string" }, rel: { type: "string" }, sizes: { type: "string" }, title: { type: "string" }, type: { type: "string" } }, required: ["href"], additionalProperties: true } };
|
|
24497
|
-
var G = { type: "object", properties: { engine: { type: "string", enum: ["flexsearch", "typesense"], default: "flexsearch" }, ai:
|
|
24498
|
-
var
|
|
24499
|
-
var
|
|
24497
|
+
var G = { type: "object", properties: { engine: { type: "string", enum: ["flexsearch", "typesense"], default: "flexsearch" }, ai: _t, filters: wt, placement: { type: "string", default: "navbar" }, shortcuts: { type: "array", items: { type: "string" }, default: ["\u2318+K,ctrl+K"] }, suggestedPages: { type: "array", items: Mt }, ...r.properties }, additionalProperties: false };
|
|
24498
|
+
var K = { type: "object", properties: { hide: { type: "boolean" }, suggestions: { default: [], type: "array", items: { type: "string" } }, prompt: { type: "string" }, trigger: { type: "object", properties: { hide: { type: "boolean", default: false }, inputType: { type: "string", enum: ["button", "icon"], default: "button" }, inputIcon: { type: "string", enum: ["chat", "sparkles", "redocly"], default: "sparkles" } }, additionalProperties: false } }, additionalProperties: false };
|
|
24499
|
+
var Y = { type: "object", properties: { ignoreDetection: { type: "boolean" }, modes: { type: "array", items: { type: "string" }, default: ["light", "dark"] }, ...r.properties }, additionalProperties: false };
|
|
24500
24500
|
var x = { type: "string", enum: ["slate", "pink", "coral", "amber", "jade", "cyan", "ocean", "indigo", "iris"] };
|
|
24501
24501
|
var Bt = { type: "object", properties: { ...r.properties, items: { type: "array", items: { type: "string", enum: ["copy", "view", "chatgpt", "claude", "docs-mcp-cursor", "docs-mcp-vscode"] }, default: ["copy", "view", "chatgpt", "claude", "docs-mcp-cursor", "docs-mcp-vscode"] } }, additionalProperties: false };
|
|
24502
24502
|
var H = { type: "object", properties: { nextButton: { type: "object", properties: { text: { type: "string" }, ...r.properties }, additionalProperties: false, default: {} }, previousButton: { type: "object", properties: { text: { type: "string" }, ...r.properties }, additionalProperties: false, default: {} }, actions: Bt }, additionalProperties: false };
|
|
@@ -24508,12 +24508,12 @@ var Ut = { type: "object", properties: { includeInDevelopment: { type: "boolean"
|
|
|
24508
24508
|
var Ft = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, apiKey: { type: "string" }, head: { type: "boolean" }, respectDNT: { type: "boolean" }, exclude: { type: "array", items: { type: "string" } }, outboundClickEventName: { type: "string" }, pageViewEventName: { type: "string" }, amplitudeConfig: { type: "object", additionalProperties: true } }, additionalProperties: false, required: ["apiKey"] };
|
|
24509
24509
|
var zt = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, orgId: { type: "string" } }, additionalProperties: false, required: ["orgId"] };
|
|
24510
24510
|
var Gt = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, appId: { type: "string" } }, additionalProperties: false, required: ["appId"] };
|
|
24511
|
-
var
|
|
24512
|
-
var
|
|
24511
|
+
var Kt = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, writeKey: { type: "string", minLength: 10 }, trackPage: { type: "boolean" }, dataPlaneUrl: { type: "string" }, controlPlaneUrl: { type: "string" }, sdkUrl: { type: "string" }, loadOptions: { type: "object", additionalProperties: true } }, additionalProperties: false, required: ["writeKey"] };
|
|
24512
|
+
var Yt = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, writeKey: { type: "string", minLength: 10 }, trackPage: { type: "boolean" }, includeTitleInPageCall: { type: "boolean" }, host: { type: "string" } }, additionalProperties: false, required: ["writeKey"] };
|
|
24513
24513
|
var Ht = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, trackingId: { type: "string" }, gtmAuth: { type: "string" }, gtmPreview: { type: "string" }, defaultDataLayer: {}, dataLayerName: { type: "string" }, enableWebVitalsTracking: { type: "boolean" }, selfHostedOrigin: { type: "string" }, pageViewEventName: { type: "string" } }, additionalProperties: false, required: ["trackingId"] };
|
|
24514
24514
|
var ne = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, trackingId: { type: "string" }, conversionId: { type: "string" }, floodlightId: { type: "string" }, optimizeId: { type: "string" }, exclude: { type: "array", items: { type: "string" } } }, additionalProperties: false, required: ["trackingId"] };
|
|
24515
24515
|
var Wt = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, trackingId: { type: "string" }, conversionId: { type: "string" }, floodlightId: { type: "string" }, head: { type: "boolean" }, respectDNT: { type: "boolean" }, exclude: { type: "array", items: { type: "string" } }, optimizeId: { type: "string" }, anonymizeIp: { type: "boolean" }, cookieExpires: { type: "number" }, trackers: { type: "object", additionalProperties: ne } }, additionalProperties: false, required: ["trackingId"] };
|
|
24516
|
-
var $ = { type: "object", properties: { adobe: Ut, amplitude: Ft, fullstory: zt, heap: Gt, rudderstack:
|
|
24516
|
+
var $ = { type: "object", properties: { adobe: Ut, amplitude: Ft, fullstory: zt, heap: Gt, rudderstack: Kt, segment: Yt, gtm: Ht, ga: Wt } };
|
|
24517
24517
|
var J = { type: "object", properties: { items: { type: "array", items: { type: "object", properties: { label: { type: "string" }, external: { type: "boolean" }, link: { type: "string" }, separatorLine: { type: "boolean" } }, additionalProperties: true }, default: [] }, hideLoginButton: { type: "boolean" }, ...r.properties }, additionalProperties: false };
|
|
24518
24518
|
var X = { type: "object", properties: { hide: { type: "boolean" }, showForUnversioned: { type: "boolean" } } };
|
|
24519
24519
|
var Q = { type: "object", properties: { hide: { type: "boolean" }, prefixItems: { type: "array", items: { type: "object", properties: { label: { type: "string" }, labelTranslationKey: { type: "string" }, page: { type: "string" }, icon: { type: "string" } }, additionalProperties: false, default: {} } } }, additionalProperties: false };
|
|
@@ -24544,7 +24544,7 @@ var Ie = { type: "object", properties: { event: { type: "string", enum: ["runtim
|
|
|
24544
24544
|
var pr = { oneOf: [Ie, { type: "array", items: Ie }] };
|
|
24545
24545
|
var cr = { type: "object", properties: { name: { type: "string" }, key: { type: "string" }, description: { type: "string" }, entities: { oneOf: [Re, { type: "object", properties: { operator: ce, conditions: Re }, required: ["operator", "conditions"], additionalProperties: false }] }, levels: { type: "array", items: nr, minItems: 1 }, trigger: pr }, required: ["name", "key", "entities", "levels"], additionalProperties: false };
|
|
24546
24546
|
var ee = { type: "array", items: cr };
|
|
24547
|
-
var s = { type: "object", properties: { imports: { type: "array", items: { type: "string" } }, logo:
|
|
24547
|
+
var s = { type: "object", properties: { imports: { type: "array", items: { type: "string" } }, logo: q, navbar: w, products: M, footer: B, sidebar: U, scripts: F, links: z, feedback: c, search: G, aiAssistant: K, colorMode: Y, palette: x, navigation: H, codeSnippet: W, markdown: V, openapi: v, asyncapi: Se, graphql: P, analytics: $, userMenu: J, versionPicker: X, breadcrumbs: Q, catalog: T, entitiesCatalog: Z, catalogClassic: T, scorecard: k, scorecardClassic: k, scorecards: ee }, additionalProperties: true };
|
|
24548
24548
|
var le = "https://redocly.com/sso/teams";
|
|
24549
24549
|
var ye = ((o) => (o.OIDC = "OIDC", o.SAML2 = "SAML2", o))(ye || {});
|
|
24550
24550
|
var de = ((o) => (o.SERVICE_ACCOUNT = "SERVICE_ACCOUNT", o.OAUTH2 = "OAUTH2", o))(de || {});
|
|
@@ -24567,8 +24567,8 @@ var Sr = { type: "object", properties: { type: { type: "string", const: "OIDC" }
|
|
|
24567
24567
|
var Cr = { type: "object", properties: { type: { type: "string", const: "SAML2" }, title: { type: "string" }, issuerId: { type: "string" }, entityId: { type: "string" }, ssoUrl: { type: "string" }, x509PublicCert: { type: "string" }, teamsAttributeName: { type: "string", default: le }, teamsAttributeMap: { type: "object", additionalProperties: { type: "string" } }, defaultTeams: { type: "array", items: { type: "string" } } }, additionalProperties: false, required: ["type", "issuerId", "ssoUrl", "x509PublicCert"] };
|
|
24568
24568
|
var Pr = { oneOf: [Sr, Cr], discriminator: { propertyName: "type" } };
|
|
24569
24569
|
var jr = { type: "object", additionalProperties: Pr };
|
|
24570
|
-
var
|
|
24571
|
-
var
|
|
24570
|
+
var qe = { oneOf: [{ type: "array", items: { type: "string", enum: ["REDOCLY", "CORPORATE", "GUEST"] }, uniqueItems: true }, { type: "string", enum: ["REDOCLY", "CORPORATE", "GUEST"] }] };
|
|
24571
|
+
var we = { type: "boolean" };
|
|
24572
24572
|
var Me = { type: "string", pattern: "^https?://.*" };
|
|
24573
24573
|
var Be = { type: "string", pattern: "^https?://.*" };
|
|
24574
24574
|
var xr = { type: "object", properties: { to: { type: "string" }, type: { type: "number", default: 301 } }, additionalProperties: false, nodeTypeName: i.RedirectSource, description: "Source is an absolute path that must start with a forward slash.", documentationLink: "https://redocly.com/docs/realm/config/redirects#sources-map" };
|
|
@@ -24580,31 +24580,31 @@ var Er = { type: "array", items: kr, default: [] };
|
|
|
24580
24580
|
var me = { type: "object", properties: { root: { type: "string" }, output: { type: "string", pattern: "(.ya?ml|.json)$" }, rbac: e, openapi: v, graphql: P, theme: { type: "object", properties: { openapi: v, graphql: P }, additionalProperties: false }, title: { type: "string" }, metadata: { type: "object", additionalProperties: true }, ...b }, required: ["root"] };
|
|
24581
24581
|
var Rr = { type: "object", additionalProperties: true };
|
|
24582
24582
|
var Ir = { type: "object", additionalProperties: { type: "object", additionalProperties: true } };
|
|
24583
|
-
var
|
|
24584
|
-
var
|
|
24583
|
+
var De = { type: "object", properties: { hide: { type: "boolean", default: false }, title: { type: "string" }, description: { type: "string" }, details: { type: "object", properties: { path: { type: "string" }, content: { type: "string" } }, additionalProperties: false }, excludeFiles: { type: "array", items: { type: "string" }, default: [] }, sections: { type: "array", items: { type: "object", properties: { title: { type: "string" }, description: { type: "string" }, includeFiles: { type: "array", items: { type: "string" }, default: [] }, excludeFiles: { type: "array", items: { type: "string" }, default: [] } }, required: ["title"], additionalProperties: false } } }, default: { hide: false, title: void 0, description: void 0, details: void 0, sections: [{ title: "Table of contents", includeFiles: ["**/*"], excludeFiles: [] }] }, additionalProperties: false };
|
|
24584
|
+
var Ne = { type: "object", properties: { title: { type: "string" }, projectTitle: { type: "string" }, description: { type: "string" }, siteUrl: { type: "string" }, image: { type: "string" }, keywords: { oneOf: [{ type: "array", items: { type: "string" } }, { type: "string" }] }, lang: { type: "string" }, jsonLd: { type: "object" }, meta: { type: "array", items: { type: "object", properties: { name: { type: "string" }, content: { type: "string" } }, required: ["name", "content"], additionalProperties: false } }, llmstxt: De }, default: { llmstxt: De.default }, additionalProperties: false };
|
|
24585
24585
|
var Ar = { type: "object", properties: { folders: { type: "array", items: { type: "string" } } }, additionalProperties: false };
|
|
24586
24586
|
var Lr = { type: "object", properties: { catalogs: { type: "object", properties: { all: e, services: e, domains: e, teams: e, users: e, apiDescriptions: e, dataSchemas: e, apiOperations: e }, additionalProperties: e }, entitiesTypes: { type: "object", properties: { service: e, domain: e, team: e, user: e, apiDescription: e, apiOperation: e, dataSchema: e }, additionalProperties: e }, entitiesGroups: { type: "array", items: { type: "object", properties: { entities: { type: "array", items: { type: "string" } }, config: e }, additionalProperties: false } }, entities: { type: "object", properties: { "**": e }, additionalProperties: e } }, additionalProperties: false };
|
|
24587
24587
|
var ue = { type: "object", properties: { teamNamePatterns: { type: "array", items: { type: "string" } }, teamFolders: { type: "array", items: { type: "string" } }, teamFoldersBaseRoles: e, cms: e, reunite: e, features: { type: "object", properties: { aiSearch: e }, additionalProperties: false }, content: { type: "object", properties: { "**": e }, additionalProperties: e }, entitiesCatalog: Lr }, additionalProperties: e };
|
|
24588
24588
|
var Or = { type: "object", properties: { static: { type: "string" } }, additionalProperties: false, required: ["static"] };
|
|
24589
|
-
var
|
|
24590
|
-
var
|
|
24591
|
-
var
|
|
24592
|
-
var
|
|
24593
|
-
var ge = { type: "object", properties: { type: { type: "string", const: "APIGEE_X" }, apiUrl: { type: "string" }, stage: { type: "string", default: "non-production" }, organizationName: { type: "string" }, ignoreApiProducts: { type: "array", items: { type: "string" } }, allowApiProductsOutsideCatalog: { type: "boolean", default: false }, auth: { type: "object", oneOf: [
|
|
24594
|
-
var
|
|
24595
|
-
var Mr = { type: "object", oneOf: [ge,
|
|
24589
|
+
var Dr = { type: "object", properties: { idp: { type: "string" } }, additionalProperties: false, required: ["idp"] };
|
|
24590
|
+
var Nr = { type: "object", properties: { type: { type: "string", const: "GRAVITEE" }, apiBaseUrl: { type: "string" }, env: { type: "string" }, allowApiProductsOutsideCatalog: { type: "boolean", default: false }, stage: { type: "string", default: "non-production" }, auth: { oneOf: [Or, Dr] } }, additionalProperties: false, required: ["type", "apiBaseUrl"] };
|
|
24591
|
+
var _r = { type: "object", properties: { type: { type: "string", const: "OAUTH2" }, tokenEndpoint: { type: "string" }, clientId: { type: "string" }, clientSecret: { type: "string" } }, additionalProperties: false, required: ["type", "tokenEndpoint", "clientId", "clientSecret"] };
|
|
24592
|
+
var qr = { type: "object", properties: { type: { type: "string", const: "SERVICE_ACCOUNT" }, serviceAccountEmail: { type: "string" }, serviceAccountPrivateKey: { type: "string" } }, additionalProperties: false, required: ["type", "serviceAccountEmail", "serviceAccountPrivateKey"] };
|
|
24593
|
+
var ge = { type: "object", properties: { type: { type: "string", const: "APIGEE_X" }, apiUrl: { type: "string" }, stage: { type: "string", default: "non-production" }, organizationName: { type: "string" }, ignoreApiProducts: { type: "array", items: { type: "string" } }, allowApiProductsOutsideCatalog: { type: "boolean", default: false }, auth: { type: "object", oneOf: [_r, qr], discriminator: { propertyName: "type" } } }, additionalProperties: false, required: ["type", "organizationName", "auth"] };
|
|
24594
|
+
var wr = { ...ge, properties: { ...ge.properties, type: { type: "string", const: "APIGEE_EDGE" } } };
|
|
24595
|
+
var Mr = { type: "object", oneOf: [ge, wr, Nr], discriminator: { propertyName: "type" } };
|
|
24596
24596
|
var Br = { type: "object", required: ["adapters"], additionalProperties: false, properties: { adapters: { type: "array", items: Mr } } };
|
|
24597
|
-
var
|
|
24597
|
+
var _e = { type: "object", properties: { defaultLocale: { type: "string" }, locales: { type: "array", items: { type: "object", properties: { code: { type: "string" }, name: { type: "string" } }, required: ["code"] } } }, additionalProperties: false, required: ["defaultLocale"] };
|
|
24598
24598
|
var Ur = { type: "object", properties: { name: { type: "string" }, value: { type: "string" } }, additionalProperties: false, required: ["name", "value"] };
|
|
24599
24599
|
var Fr = { type: "object", properties: { hide: { type: "boolean", default: false }, docs: { type: "object", properties: { hide: { type: "boolean", default: false }, name: { type: "string", default: "Docs MCP server" }, ignore: { type: "array", items: { type: "string" }, default: [] } }, additionalProperties: false } }, additionalProperties: false, default: { hide: false, docs: { hide: false, name: "MCP server", ignore: [] } } };
|
|
24600
|
-
var zr = { type: "object", properties: { requiresLogin:
|
|
24601
|
-
var I = { type: "object", properties: { imports: { type: "array", items: { type: "string" } }, licenseKey: { type: "string" }, redirects: vr, seo:
|
|
24600
|
+
var zr = { type: "object", properties: { requiresLogin: we, logoutReturnUrl: Me, residency: Be, sso: qe, rbac: ue }, additionalProperties: false };
|
|
24601
|
+
var I = { type: "object", properties: { imports: { type: "array", items: { type: "string" } }, licenseKey: { type: "string" }, redirects: vr, seo: Ne, rbac: ue, apiFunctions: Ar, requiresLogin: we, responseHeaders: { type: "object", additionalProperties: { type: "array", items: Ur } }, mockServer: { type: "object", properties: { off: { type: "boolean", default: false }, position: { type: "string", enum: ["first", "last", "replace", "off"], default: "first" }, strictExamples: { type: "boolean", default: false }, errorIfForcedExampleNotFound: { type: "boolean", default: false }, description: { type: "string" } } }, apis: { type: "object", additionalProperties: me }, ...b, ssoDirect: jr, sso: qe, residency: Be, logoutReturnUrl: Me, access: zr, developerOnboarding: Br, removeAttribution: { type: "boolean" }, i18n: _e, l10n: _e, metadata: Rr, metadataGlobs: Ir, ignore: { type: "array", items: { type: "string" } }, theme: s, reunite: Oe, logo: q, navbar: w, products: M, footer: B, sidebar: U, scripts: F, links: z, feedback: c, search: G, aiAssistant: K, colorMode: Y, palette: x, navigation: H, codeSnippet: W, markdown: V, openapi: v, graphql: P, analytics: $, userMenu: J, versionPicker: X, breadcrumbs: Q, catalog: T, entitiesCatalog: Z, catalogClassic: T, scorecard: k, scorecardClassic: k, scorecards: ee, mcp: Fr, corsProxy: { type: "object", properties: { allowedTargets: { type: "array", items: { type: "string" } } }, additionalProperties: false }, banner: Er }, default: { redirects: {}, seo: Ne.default }, additionalProperties: true };
|
|
24602
24602
|
var Gr = { ...te(I, "default"), additionalProperties: false };
|
|
24603
|
-
var
|
|
24603
|
+
var Kr = { $id: "root-redocly-config", ...I, properties: { plugins: { type: "array", items: { type: "string" } }, ...I.properties, env: { type: "object", additionalProperties: Gr } }, default: {}, additionalProperties: false };
|
|
24604
24604
|
var be = { type: "object", properties: { logo: s.properties.logo, navbar: s.properties.navbar, footer: s.properties.footer, sidebar: s.properties.sidebar, search: s.properties.search, codeSnippet: s.properties.codeSnippet, breadcrumbs: s.properties.breadcrumbs, openapi: s.properties.openapi, feedback: s.properties.feedback, palette: x, mockServer: I.properties.mockServer, analytics: { type: "object", properties: { ga: ne } } }, additionalProperties: true, default: {} };
|
|
24605
|
-
var
|
|
24605
|
+
var Yr = { $id: "product-config-override", type: "object", properties: { ...be.properties, apis: { type: "object", additionalProperties: me }, theme: be }, additionalProperties: false };
|
|
24606
24606
|
var fe = ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"];
|
|
24607
|
-
var t =
|
|
24607
|
+
var t = _({ UserEntity: "UserEntity", UserEntityMetadata: "UserEntityMetadata", ApiDescriptionEntity: "ApiDescriptionEntity", ApiDescriptionEntityMetadata: "ApiDescriptionEntityMetadata", ApiOperationEntity: "ApiOperationEntity", ApiOperationEntityMetadata: "ApiOperationEntityMetadata", DataSchemaEntity: "DataSchemaEntity", DataSchemaEntityMetadata: "DataSchemaEntityMetadata", ServiceEntity: "ServiceEntity", DomainEntity: "DomainEntity", TeamEntity: "TeamEntity", Entity: "Entity", EntityMetadata: "EntityMetadata", EntityLinkList: "EntityLinkList", EntityLink: "EntityLink", EntityRelation: "EntityRelation", EntityRelationList: "EntityRelationList", EntityContact: "EntityContact", EntitySlackContact: "EntitySlackContact", EntitySlackChannel: "EntitySlackChannel" });
|
|
24608
24608
|
var Hr = { type: "object", nodeTypeName: t.UserEntityMetadata, properties: { email: { type: "string", description: "Email of the user" } }, required: ["email"], additionalProperties: true };
|
|
24609
24609
|
var Wr = { type: "object", nodeTypeName: t.ApiDescriptionEntityMetadata, properties: { specType: { type: "string", enum: ["jsonschema", "openapi", "asyncapi", "avro", "zod", "graphql", "protobuf", "arazzo"], description: "Type of the API description" }, descriptionFile: { type: "string", description: "Path to the file containing the API description" } }, required: ["specType", "descriptionFile"], additionalProperties: true };
|
|
24610
24610
|
var Vr = { type: "object", nodeTypeName: t.ApiOperationEntityMetadata, properties: { method: { type: "string", enum: ["GET", "POST", "PUT", "DELETE", "PATCH", "MUTATION", "QUERY", "SUBSCRIBE", "PUBLISH"], description: "HTTP method of the API operation" }, path: { type: "string", description: "Path of the API operation" }, payload: { type: "array", items: { type: "string", description: "Related dataSchema name" } }, responses: { type: "array", items: { type: "string", description: "Related dataSchema name" } } }, required: ["method", "path"], additionalProperties: true };
|
|
@@ -25481,9 +25481,9 @@ var CoreConfigTypes = {
|
|
|
25481
25481
|
Preprocessors,
|
|
25482
25482
|
Assertions
|
|
25483
25483
|
};
|
|
25484
|
-
var { theme: _2, ...propertiesWithoutTheme } =
|
|
25484
|
+
var { theme: _2, ...propertiesWithoutTheme } = Kr.properties;
|
|
25485
25485
|
var redoclyConfigSchemaWithoutTheme = {
|
|
25486
|
-
...
|
|
25486
|
+
...Kr,
|
|
25487
25487
|
properties: propertiesWithoutTheme
|
|
25488
25488
|
};
|
|
25489
25489
|
var ConfigTypes = createConfigTypes(redoclyConfigSchemaWithoutTheme);
|
|
@@ -25684,7 +25684,7 @@ var StatsAsync3 = (statsAccumulator) => {
|
|
|
25684
25684
|
import * as fs2 from "node:fs";
|
|
25685
25685
|
import * as path4 from "node:path";
|
|
25686
25686
|
|
|
25687
|
-
//
|
|
25687
|
+
// ../../node_modules/js-yaml/dist/js-yaml.mjs
|
|
25688
25688
|
var __create = Object.create;
|
|
25689
25689
|
var __defProp = Object.defineProperty;
|
|
25690
25690
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -37727,9 +37727,9 @@ function outputForGithubActions(problems, cwd) {
|
|
|
37727
37727
|
}
|
|
37728
37728
|
|
|
37729
37729
|
// ../core/lib/lint.js
|
|
37730
|
-
var { theme: _3, ...propertiesWithoutTheme2 } =
|
|
37730
|
+
var { theme: _3, ...propertiesWithoutTheme2 } = Kr.properties;
|
|
37731
37731
|
var redoclyConfigSchemaWithoutTheme2 = {
|
|
37732
|
-
...
|
|
37732
|
+
...Kr,
|
|
37733
37733
|
properties: propertiesWithoutTheme2
|
|
37734
37734
|
};
|
|
37735
37735
|
async function lint(opts) {
|