docusaurus-theme-openapi-docs 0.0.0-1254 → 0.0.0-1267
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/lib/markdown/schema.js +1 -1
- package/lib/markdown/schema.test.d.ts +1 -0
- package/lib/markdown/schema.test.js +51 -0
- package/lib/theme/ApiExplorer/CodeSnippets/index.js +46 -25
- package/package.json +3 -3
- package/src/markdown/schema.test.ts +61 -0
- package/src/markdown/schema.ts +1 -1
- package/src/theme/ApiExplorer/CodeSnippets/index.tsx +50 -26
- package/tsconfig.tsbuildinfo +1 -1
package/lib/markdown/schema.js
CHANGED
|
@@ -87,7 +87,7 @@ function prettyName(schema, circular) {
|
|
|
87
87
|
}
|
|
88
88
|
function getSchemaName(schema, circular) {
|
|
89
89
|
if (schema.items) {
|
|
90
|
-
return
|
|
90
|
+
return getSchemaName(schema.items, circular) + "[]";
|
|
91
91
|
}
|
|
92
92
|
return prettyName(schema, circular) ?? "";
|
|
93
93
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* ============================================================================
|
|
3
|
+
* Copyright (c) Palo Alto Networks
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the MIT license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
* ========================================================================== */
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
jest.mock("@docusaurus/Translate", () => ({
|
|
10
|
+
translate: ({ message }) => message,
|
|
11
|
+
}), { virtual: true });
|
|
12
|
+
const schema_1 = require("./schema");
|
|
13
|
+
describe("getSchemaName", () => {
|
|
14
|
+
it("returns the type for a primitive schema", () => {
|
|
15
|
+
expect((0, schema_1.getSchemaName)({ type: "string" })).toBe("string");
|
|
16
|
+
});
|
|
17
|
+
it("appends [] for an array of primitives", () => {
|
|
18
|
+
const schema = {
|
|
19
|
+
type: "array",
|
|
20
|
+
items: { type: "string" },
|
|
21
|
+
};
|
|
22
|
+
expect((0, schema_1.getSchemaName)(schema)).toBe("string[]");
|
|
23
|
+
});
|
|
24
|
+
it("appends [][] for an array of arrays of primitives", () => {
|
|
25
|
+
const schema = {
|
|
26
|
+
type: "array",
|
|
27
|
+
items: { type: "array", items: { type: "string" } },
|
|
28
|
+
};
|
|
29
|
+
expect((0, schema_1.getSchemaName)(schema)).toBe("string[][]");
|
|
30
|
+
});
|
|
31
|
+
it("appends [][] for an array of arrays of objects (issue #1114)", () => {
|
|
32
|
+
const schema = {
|
|
33
|
+
type: "array",
|
|
34
|
+
items: {
|
|
35
|
+
type: "array",
|
|
36
|
+
items: { type: "object", properties: { foo: { type: "string" } } },
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
expect((0, schema_1.getSchemaName)(schema)).toBe("object[][]");
|
|
40
|
+
});
|
|
41
|
+
it("handles three levels of array nesting", () => {
|
|
42
|
+
const schema = {
|
|
43
|
+
type: "array",
|
|
44
|
+
items: {
|
|
45
|
+
type: "array",
|
|
46
|
+
items: { type: "array", items: { type: "integer" } },
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
expect((0, schema_1.getSchemaName)(schema)).toBe("integer[][][]");
|
|
50
|
+
});
|
|
51
|
+
});
|
|
@@ -69,6 +69,7 @@ var __importDefault =
|
|
|
69
69
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
70
70
|
exports.languageSet = void 0;
|
|
71
71
|
const react_1 = __importStar(require("react"));
|
|
72
|
+
const theme_common_1 = require("@docusaurus/theme-common");
|
|
72
73
|
const useDocusaurusContext_1 = __importDefault(
|
|
73
74
|
require("@docusaurus/useDocusaurusContext")
|
|
74
75
|
);
|
|
@@ -94,6 +95,17 @@ function CodeTab({ children, hidden, className }) {
|
|
|
94
95
|
children
|
|
95
96
|
);
|
|
96
97
|
}
|
|
98
|
+
/** Align with Docusaurus `<Tabs groupId="code-samples">` persisted tab value. */
|
|
99
|
+
function resolveOuterLanguageFromPersistedTab(persistedTab, langs) {
|
|
100
|
+
if (langs.length === 1) {
|
|
101
|
+
return langs[0];
|
|
102
|
+
}
|
|
103
|
+
const matched = langs.find((lang) => lang.language === persistedTab);
|
|
104
|
+
if (matched) {
|
|
105
|
+
return matched;
|
|
106
|
+
}
|
|
107
|
+
return langs[0];
|
|
108
|
+
}
|
|
97
109
|
function CodeSnippets({
|
|
98
110
|
postman,
|
|
99
111
|
codeSamples,
|
|
@@ -170,35 +182,44 @@ function CodeSnippets({
|
|
|
170
182
|
// Can override languageSet, change order of langs, override options and variants
|
|
171
183
|
const userDefinedLanguageSet =
|
|
172
184
|
siteConfig?.themeConfig?.languageTabs ?? exports.languageSet;
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
185
|
+
const mergedLangs = (0, react_1.useMemo)(() => {
|
|
186
|
+
const filteredLanguageSet = exports.languageSet.filter((ls) => {
|
|
187
|
+
return userDefinedLanguageSet?.some((lang) => {
|
|
188
|
+
return lang.language === ls.language;
|
|
189
|
+
});
|
|
177
190
|
});
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
)
|
|
185
|
-
|
|
191
|
+
return (0, languages_1.mergeCodeSampleLanguage)(
|
|
192
|
+
(0, languages_1.mergeArraysbyLanguage)(
|
|
193
|
+
userDefinedLanguageSet,
|
|
194
|
+
filteredLanguageSet
|
|
195
|
+
),
|
|
196
|
+
codeSamples
|
|
197
|
+
);
|
|
198
|
+
}, [userDefinedLanguageSet, codeSamples]);
|
|
199
|
+
const [persistedOuterTab] = (0, theme_common_1.useStorageSlot)(
|
|
200
|
+
"docusaurus.tab.code-samples"
|
|
186
201
|
);
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
lang.language === localStorage.getItem("docusaurus.tab.code-samples")
|
|
202
|
+
const initialOuterLanguage = (0, react_1.useMemo)(
|
|
203
|
+
() => resolveOuterLanguageFromPersistedTab(persistedOuterTab, mergedLangs),
|
|
204
|
+
[persistedOuterTab, mergedLangs]
|
|
191
205
|
);
|
|
192
206
|
const [selectedVariant, setSelectedVariant] = (0, react_1.useState)();
|
|
193
207
|
const [selectedSample, setSelectedSample] = (0, react_1.useState)();
|
|
194
|
-
const [language, setLanguage] = (0, react_1.useState)(() =>
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
208
|
+
const [language, setLanguage] = (0, react_1.useState)(() =>
|
|
209
|
+
resolveOuterLanguageFromPersistedTab(persistedOuterTab, mergedLangs)
|
|
210
|
+
);
|
|
211
|
+
(0, react_1.useEffect)(() => {
|
|
212
|
+
const next = resolveOuterLanguageFromPersistedTab(
|
|
213
|
+
persistedOuterTab,
|
|
214
|
+
mergedLangs
|
|
215
|
+
);
|
|
216
|
+
setLanguage((prev) => {
|
|
217
|
+
if (prev?.language !== next.language) {
|
|
218
|
+
return next;
|
|
219
|
+
}
|
|
220
|
+
return mergedLangs.find((l) => l.language === next.language) ?? next;
|
|
221
|
+
});
|
|
222
|
+
}, [persistedOuterTab, mergedLangs]);
|
|
202
223
|
const [codeText, setCodeText] = (0, react_1.useState)("");
|
|
203
224
|
const [codeSampleCodeText, setCodeSampleCodeText] = (0, react_1.useState)(
|
|
204
225
|
() => (0, languages_1.getCodeSampleSourceFromLanguage)(language)
|
|
@@ -315,7 +336,7 @@ function CodeSnippets({
|
|
|
315
336
|
setSelectedSample: setSelectedSample,
|
|
316
337
|
},
|
|
317
338
|
languageSet: mergedLangs,
|
|
318
|
-
defaultValue:
|
|
339
|
+
defaultValue: initialOuterLanguage.language,
|
|
319
340
|
lazy: true,
|
|
320
341
|
},
|
|
321
342
|
mergedLangs.map((lang) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "docusaurus-theme-openapi-docs",
|
|
3
3
|
"description": "OpenAPI theme for Docusaurus.",
|
|
4
|
-
"version": "0.0.0-
|
|
4
|
+
"version": "0.0.0-1267",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"openapi",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@types/postman-collection": "^3.5.11",
|
|
39
39
|
"@types/react-modal": "^3.16.3",
|
|
40
40
|
"concurrently": "^9.2.0",
|
|
41
|
-
"docusaurus-plugin-openapi-docs": "0.0.0-
|
|
41
|
+
"docusaurus-plugin-openapi-docs": "0.0.0-1267",
|
|
42
42
|
"docusaurus-plugin-sass": "^0.2.6",
|
|
43
43
|
"eslint-plugin-prettier": "^5.5.1"
|
|
44
44
|
},
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"engines": {
|
|
83
83
|
"node": ">=14"
|
|
84
84
|
},
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "fae66624a389286ba5ccf067ff73ac435307cbb9"
|
|
86
86
|
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/* ============================================================================
|
|
2
|
+
* Copyright (c) Palo Alto Networks
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
* ========================================================================== */
|
|
7
|
+
|
|
8
|
+
jest.mock(
|
|
9
|
+
"@docusaurus/Translate",
|
|
10
|
+
() => ({
|
|
11
|
+
translate: ({ message }: { message: string }) => message,
|
|
12
|
+
}),
|
|
13
|
+
{ virtual: true }
|
|
14
|
+
);
|
|
15
|
+
|
|
16
|
+
import { getSchemaName } from "./schema";
|
|
17
|
+
import { SchemaObject } from "../types";
|
|
18
|
+
|
|
19
|
+
describe("getSchemaName", () => {
|
|
20
|
+
it("returns the type for a primitive schema", () => {
|
|
21
|
+
expect(getSchemaName({ type: "string" } as SchemaObject)).toBe("string");
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
it("appends [] for an array of primitives", () => {
|
|
25
|
+
const schema: SchemaObject = {
|
|
26
|
+
type: "array",
|
|
27
|
+
items: { type: "string" },
|
|
28
|
+
} as SchemaObject;
|
|
29
|
+
expect(getSchemaName(schema)).toBe("string[]");
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
it("appends [][] for an array of arrays of primitives", () => {
|
|
33
|
+
const schema: SchemaObject = {
|
|
34
|
+
type: "array",
|
|
35
|
+
items: { type: "array", items: { type: "string" } },
|
|
36
|
+
} as SchemaObject;
|
|
37
|
+
expect(getSchemaName(schema)).toBe("string[][]");
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
it("appends [][] for an array of arrays of objects (issue #1114)", () => {
|
|
41
|
+
const schema: SchemaObject = {
|
|
42
|
+
type: "array",
|
|
43
|
+
items: {
|
|
44
|
+
type: "array",
|
|
45
|
+
items: { type: "object", properties: { foo: { type: "string" } } },
|
|
46
|
+
},
|
|
47
|
+
} as SchemaObject;
|
|
48
|
+
expect(getSchemaName(schema)).toBe("object[][]");
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
it("handles three levels of array nesting", () => {
|
|
52
|
+
const schema: SchemaObject = {
|
|
53
|
+
type: "array",
|
|
54
|
+
items: {
|
|
55
|
+
type: "array",
|
|
56
|
+
items: { type: "array", items: { type: "integer" } },
|
|
57
|
+
},
|
|
58
|
+
} as SchemaObject;
|
|
59
|
+
expect(getSchemaName(schema)).toBe("integer[][][]");
|
|
60
|
+
});
|
|
61
|
+
});
|
package/src/markdown/schema.ts
CHANGED
|
@@ -105,7 +105,7 @@ export function getSchemaName(
|
|
|
105
105
|
circular?: boolean
|
|
106
106
|
): string {
|
|
107
107
|
if (schema.items) {
|
|
108
|
-
return
|
|
108
|
+
return getSchemaName(schema.items as SchemaObject, circular) + "[]";
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
return prettyName(schema, circular) ?? "";
|
|
@@ -5,20 +5,20 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
* ========================================================================== */
|
|
7
7
|
|
|
8
|
-
import React, {
|
|
8
|
+
import React, { useEffect, useMemo, useState } from "react";
|
|
9
9
|
|
|
10
|
+
import { useStorageSlot } from "@docusaurus/theme-common";
|
|
10
11
|
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
|
|
11
12
|
import ApiCodeBlock from "@theme/ApiExplorer/ApiCodeBlock";
|
|
12
13
|
import buildPostmanRequest from "@theme/ApiExplorer/buildPostmanRequest";
|
|
13
14
|
import CodeTabs from "@theme/ApiExplorer/CodeTabs";
|
|
14
15
|
import { useResolvedEncoding } from "@theme/ApiExplorer/EncodingSelection/useResolvedEncoding";
|
|
15
16
|
import { useTypedSelector } from "@theme/ApiItem/hooks";
|
|
17
|
+
import type { ThemeConfig } from "docusaurus-theme-openapi-docs/src/types";
|
|
16
18
|
import cloneDeep from "lodash/cloneDeep";
|
|
17
19
|
import codegen from "postman-code-generators";
|
|
18
20
|
import * as sdk from "postman-collection";
|
|
19
21
|
|
|
20
|
-
import type { ThemeConfig } from "docusaurus-theme-openapi-docs/src/types";
|
|
21
|
-
|
|
22
22
|
import { CodeSample, Language } from "./code-snippets-types";
|
|
23
23
|
import {
|
|
24
24
|
getCodeSampleSourceFromLanguage,
|
|
@@ -44,6 +44,21 @@ function CodeTab({ children, hidden, className }: any): React.JSX.Element {
|
|
|
44
44
|
);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
+
/** Align with Docusaurus `<Tabs groupId="code-samples">` persisted tab value. */
|
|
48
|
+
function resolveOuterLanguageFromPersistedTab(
|
|
49
|
+
persistedTab: string | null,
|
|
50
|
+
langs: Language[]
|
|
51
|
+
): Language {
|
|
52
|
+
if (langs.length === 1) {
|
|
53
|
+
return langs[0];
|
|
54
|
+
}
|
|
55
|
+
const matched = langs.find((lang) => lang.language === persistedTab);
|
|
56
|
+
if (matched) {
|
|
57
|
+
return matched;
|
|
58
|
+
}
|
|
59
|
+
return langs[0];
|
|
60
|
+
}
|
|
61
|
+
|
|
47
62
|
function CodeSnippets({
|
|
48
63
|
postman,
|
|
49
64
|
codeSamples,
|
|
@@ -126,34 +141,43 @@ function CodeSnippets({
|
|
|
126
141
|
(siteConfig?.themeConfig?.languageTabs as Language[] | undefined) ??
|
|
127
142
|
languageSet;
|
|
128
143
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
144
|
+
const mergedLangs = useMemo(() => {
|
|
145
|
+
const filteredLanguageSet = languageSet.filter((ls) => {
|
|
146
|
+
return userDefinedLanguageSet?.some((lang) => {
|
|
147
|
+
return lang.language === ls.language;
|
|
148
|
+
});
|
|
133
149
|
});
|
|
134
|
-
|
|
150
|
+
return mergeCodeSampleLanguage(
|
|
151
|
+
mergeArraysbyLanguage(userDefinedLanguageSet, filteredLanguageSet),
|
|
152
|
+
codeSamples
|
|
153
|
+
);
|
|
154
|
+
}, [userDefinedLanguageSet, codeSamples]);
|
|
135
155
|
|
|
136
|
-
|
|
137
|
-
const mergedLangs = mergeCodeSampleLanguage(
|
|
138
|
-
mergeArraysbyLanguage(userDefinedLanguageSet, filteredLanguageSet),
|
|
139
|
-
codeSamples
|
|
140
|
-
);
|
|
156
|
+
const [persistedOuterTab] = useStorageSlot("docusaurus.tab.code-samples");
|
|
141
157
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
lang.language === localStorage.getItem("docusaurus.tab.code-samples")
|
|
158
|
+
const initialOuterLanguage = useMemo(
|
|
159
|
+
() => resolveOuterLanguageFromPersistedTab(persistedOuterTab, mergedLangs),
|
|
160
|
+
[persistedOuterTab, mergedLangs]
|
|
146
161
|
);
|
|
162
|
+
|
|
147
163
|
const [selectedVariant, setSelectedVariant] = useState<string | undefined>();
|
|
148
164
|
const [selectedSample, setSelectedSample] = useState<string | undefined>();
|
|
149
|
-
const [language, setLanguage] = useState(() =>
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
165
|
+
const [language, setLanguage] = useState(() =>
|
|
166
|
+
resolveOuterLanguageFromPersistedTab(persistedOuterTab, mergedLangs)
|
|
167
|
+
);
|
|
168
|
+
|
|
169
|
+
useEffect(() => {
|
|
170
|
+
const next = resolveOuterLanguageFromPersistedTab(
|
|
171
|
+
persistedOuterTab,
|
|
172
|
+
mergedLangs
|
|
173
|
+
);
|
|
174
|
+
setLanguage((prev) => {
|
|
175
|
+
if (prev?.language !== next.language) {
|
|
176
|
+
return next;
|
|
177
|
+
}
|
|
178
|
+
return mergedLangs.find((l) => l.language === next.language) ?? next;
|
|
179
|
+
});
|
|
180
|
+
}, [persistedOuterTab, mergedLangs]);
|
|
157
181
|
const [codeText, setCodeText] = useState<string>("");
|
|
158
182
|
const [codeSampleCodeText, setCodeSampleCodeText] = useState<string>(() =>
|
|
159
183
|
getCodeSampleSourceFromLanguage(language)
|
|
@@ -273,7 +297,7 @@ function CodeSnippets({
|
|
|
273
297
|
setSelectedSample: setSelectedSample,
|
|
274
298
|
}}
|
|
275
299
|
languageSet={mergedLangs}
|
|
276
|
-
defaultValue={
|
|
300
|
+
defaultValue={initialOuterLanguage.language}
|
|
277
301
|
lazy
|
|
278
302
|
>
|
|
279
303
|
{mergedLangs.map((lang) => {
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["./src/index.ts","./src/plugin-content-docs.d.ts","./src/postman-code-generators.d.ts","./src/react-magic-dropzone.d.ts","./src/theme-classic.d.ts","./src/theme-openapi.d.ts","./src/types.d.ts","./src/markdown/createDescription.ts","./src/markdown/schema.ts","./src/markdown/utils.test.ts","./src/markdown/utils.ts","./src/theme/translationIds.ts","./src/theme/ApiExplorer/buildPostmanRequest.ts","./src/theme/ApiExplorer/index.tsx","./src/theme/ApiExplorer/persistenceMiddleware.ts","./src/theme/ApiExplorer/storage-utils.ts","./src/theme/ApiExplorer/Accept/index.tsx","./src/theme/ApiExplorer/Accept/slice.ts","./src/theme/ApiExplorer/ApiCodeBlock/index.tsx","./src/theme/ApiExplorer/ApiCodeBlock/Container/index.tsx","./src/theme/ApiExplorer/ApiCodeBlock/Content/Element.tsx","./src/theme/ApiExplorer/ApiCodeBlock/Content/String.tsx","./src/theme/ApiExplorer/ApiCodeBlock/CopyButton/index.tsx","./src/theme/ApiExplorer/ApiCodeBlock/ExitButton/index.tsx","./src/theme/ApiExplorer/ApiCodeBlock/ExpandButton/index.tsx","./src/theme/ApiExplorer/ApiCodeBlock/Line/index.tsx","./src/theme/ApiExplorer/ApiCodeBlock/WordWrapButton/index.tsx","./src/theme/ApiExplorer/Authorization/auth-types.ts","./src/theme/ApiExplorer/Authorization/index.tsx","./src/theme/ApiExplorer/Authorization/slice.ts","./src/theme/ApiExplorer/Body/index.tsx","./src/theme/ApiExplorer/Body/json2xml.d.ts","./src/theme/ApiExplorer/Body/resolveSchemaWithSelections.ts","./src/theme/ApiExplorer/Body/slice.ts","./src/theme/ApiExplorer/Body/FileArrayFormBodyItem/index.tsx","./src/theme/ApiExplorer/Body/FormBodyItem/index.tsx","./src/theme/ApiExplorer/CodeSnippets/code-snippets-types.ts","./src/theme/ApiExplorer/CodeSnippets/index.tsx","./src/theme/ApiExplorer/CodeSnippets/languages.test.ts","./src/theme/ApiExplorer/CodeSnippets/languages.ts","./src/theme/ApiExplorer/CodeTabs/index.tsx","./src/theme/ApiExplorer/ContentType/index.tsx","./src/theme/ApiExplorer/ContentType/slice.ts","./src/theme/ApiExplorer/EncodingSelection/slice.ts","./src/theme/ApiExplorer/EncodingSelection/useResolvedEncoding.ts","./src/theme/ApiExplorer/Export/index.tsx","./src/theme/ApiExplorer/FloatingButton/index.tsx","./src/theme/ApiExplorer/FormFileUpload/index.tsx","./src/theme/ApiExplorer/FormItem/index.tsx","./src/theme/ApiExplorer/FormLabel/index.tsx","./src/theme/ApiExplorer/FormMultiSelect/index.tsx","./src/theme/ApiExplorer/FormSelect/index.tsx","./src/theme/ApiExplorer/FormTextInput/index.tsx","./src/theme/ApiExplorer/LiveEditor/index.tsx","./src/theme/ApiExplorer/MethodEndpoint/index.tsx","./src/theme/ApiExplorer/ParamOptions/index.tsx","./src/theme/ApiExplorer/ParamOptions/slice.ts","./src/theme/ApiExplorer/ParamOptions/ParamFormItems/ParamArrayFormItem.tsx","./src/theme/ApiExplorer/ParamOptions/ParamFormItems/ParamBooleanFormItem.tsx","./src/theme/ApiExplorer/ParamOptions/ParamFormItems/ParamMultiSelectFormItem.tsx","./src/theme/ApiExplorer/ParamOptions/ParamFormItems/ParamSelectFormItem.tsx","./src/theme/ApiExplorer/ParamOptions/ParamFormItems/ParamTextFormItem.tsx","./src/theme/ApiExplorer/Request/index.tsx","./src/theme/ApiExplorer/Request/makeRequest.ts","./src/theme/ApiExplorer/Response/index.tsx","./src/theme/ApiExplorer/Response/slice.ts","./src/theme/ApiExplorer/SchemaSelection/index.ts","./src/theme/ApiExplorer/SchemaSelection/slice.ts","./src/theme/ApiExplorer/SecuritySchemes/index.tsx","./src/theme/ApiExplorer/Server/index.tsx","./src/theme/ApiExplorer/Server/slice.ts","./src/theme/ApiItem/hooks.ts","./src/theme/ApiItem/index.tsx","./src/theme/ApiItem/store.ts","./src/theme/ApiItem/Layout/index.tsx","./src/theme/ApiLogo/index.tsx","./src/theme/ApiTabs/index.tsx","./src/theme/ArrayBrackets/index.tsx","./src/theme/CodeSamples/index.tsx","./src/theme/DiscriminatorTabs/index.tsx","./src/theme/Example/index.tsx","./src/theme/Markdown/index.d.ts","./src/theme/MimeTabs/index.tsx","./src/theme/OperationTabs/index.tsx","./src/theme/ParamsDetails/index.tsx","./src/theme/ParamsItem/index.tsx","./src/theme/RequestSchema/index.tsx","./src/theme/ResponseExamples/index.tsx","./src/theme/ResponseHeaders/index.tsx","./src/theme/ResponseSchema/index.tsx","./src/theme/Schema/index.tsx","./src/theme/SchemaExpansion/context.tsx","./src/theme/SchemaExpansion/index.tsx","./src/theme/SchemaItem/index.tsx","./src/theme/SchemaTabs/index.tsx","./src/theme/SkeletonLoader/index.tsx","./src/theme/StatusCodes/index.tsx"],"version":"5.9.3"}
|
|
1
|
+
{"root":["./src/index.ts","./src/plugin-content-docs.d.ts","./src/postman-code-generators.d.ts","./src/react-magic-dropzone.d.ts","./src/theme-classic.d.ts","./src/theme-openapi.d.ts","./src/types.d.ts","./src/markdown/createDescription.ts","./src/markdown/schema.test.ts","./src/markdown/schema.ts","./src/markdown/utils.test.ts","./src/markdown/utils.ts","./src/theme/translationIds.ts","./src/theme/ApiExplorer/buildPostmanRequest.ts","./src/theme/ApiExplorer/index.tsx","./src/theme/ApiExplorer/persistenceMiddleware.ts","./src/theme/ApiExplorer/storage-utils.ts","./src/theme/ApiExplorer/Accept/index.tsx","./src/theme/ApiExplorer/Accept/slice.ts","./src/theme/ApiExplorer/ApiCodeBlock/index.tsx","./src/theme/ApiExplorer/ApiCodeBlock/Container/index.tsx","./src/theme/ApiExplorer/ApiCodeBlock/Content/Element.tsx","./src/theme/ApiExplorer/ApiCodeBlock/Content/String.tsx","./src/theme/ApiExplorer/ApiCodeBlock/CopyButton/index.tsx","./src/theme/ApiExplorer/ApiCodeBlock/ExitButton/index.tsx","./src/theme/ApiExplorer/ApiCodeBlock/ExpandButton/index.tsx","./src/theme/ApiExplorer/ApiCodeBlock/Line/index.tsx","./src/theme/ApiExplorer/ApiCodeBlock/WordWrapButton/index.tsx","./src/theme/ApiExplorer/Authorization/auth-types.ts","./src/theme/ApiExplorer/Authorization/index.tsx","./src/theme/ApiExplorer/Authorization/slice.ts","./src/theme/ApiExplorer/Body/index.tsx","./src/theme/ApiExplorer/Body/json2xml.d.ts","./src/theme/ApiExplorer/Body/resolveSchemaWithSelections.ts","./src/theme/ApiExplorer/Body/slice.ts","./src/theme/ApiExplorer/Body/FileArrayFormBodyItem/index.tsx","./src/theme/ApiExplorer/Body/FormBodyItem/index.tsx","./src/theme/ApiExplorer/CodeSnippets/code-snippets-types.ts","./src/theme/ApiExplorer/CodeSnippets/index.tsx","./src/theme/ApiExplorer/CodeSnippets/languages.test.ts","./src/theme/ApiExplorer/CodeSnippets/languages.ts","./src/theme/ApiExplorer/CodeTabs/index.tsx","./src/theme/ApiExplorer/ContentType/index.tsx","./src/theme/ApiExplorer/ContentType/slice.ts","./src/theme/ApiExplorer/EncodingSelection/slice.ts","./src/theme/ApiExplorer/EncodingSelection/useResolvedEncoding.ts","./src/theme/ApiExplorer/Export/index.tsx","./src/theme/ApiExplorer/FloatingButton/index.tsx","./src/theme/ApiExplorer/FormFileUpload/index.tsx","./src/theme/ApiExplorer/FormItem/index.tsx","./src/theme/ApiExplorer/FormLabel/index.tsx","./src/theme/ApiExplorer/FormMultiSelect/index.tsx","./src/theme/ApiExplorer/FormSelect/index.tsx","./src/theme/ApiExplorer/FormTextInput/index.tsx","./src/theme/ApiExplorer/LiveEditor/index.tsx","./src/theme/ApiExplorer/MethodEndpoint/index.tsx","./src/theme/ApiExplorer/ParamOptions/index.tsx","./src/theme/ApiExplorer/ParamOptions/slice.ts","./src/theme/ApiExplorer/ParamOptions/ParamFormItems/ParamArrayFormItem.tsx","./src/theme/ApiExplorer/ParamOptions/ParamFormItems/ParamBooleanFormItem.tsx","./src/theme/ApiExplorer/ParamOptions/ParamFormItems/ParamMultiSelectFormItem.tsx","./src/theme/ApiExplorer/ParamOptions/ParamFormItems/ParamSelectFormItem.tsx","./src/theme/ApiExplorer/ParamOptions/ParamFormItems/ParamTextFormItem.tsx","./src/theme/ApiExplorer/Request/index.tsx","./src/theme/ApiExplorer/Request/makeRequest.ts","./src/theme/ApiExplorer/Response/index.tsx","./src/theme/ApiExplorer/Response/slice.ts","./src/theme/ApiExplorer/SchemaSelection/index.ts","./src/theme/ApiExplorer/SchemaSelection/slice.ts","./src/theme/ApiExplorer/SecuritySchemes/index.tsx","./src/theme/ApiExplorer/Server/index.tsx","./src/theme/ApiExplorer/Server/slice.ts","./src/theme/ApiItem/hooks.ts","./src/theme/ApiItem/index.tsx","./src/theme/ApiItem/store.ts","./src/theme/ApiItem/Layout/index.tsx","./src/theme/ApiLogo/index.tsx","./src/theme/ApiTabs/index.tsx","./src/theme/ArrayBrackets/index.tsx","./src/theme/CodeSamples/index.tsx","./src/theme/DiscriminatorTabs/index.tsx","./src/theme/Example/index.tsx","./src/theme/Markdown/index.d.ts","./src/theme/MimeTabs/index.tsx","./src/theme/OperationTabs/index.tsx","./src/theme/ParamsDetails/index.tsx","./src/theme/ParamsItem/index.tsx","./src/theme/RequestSchema/index.tsx","./src/theme/ResponseExamples/index.tsx","./src/theme/ResponseHeaders/index.tsx","./src/theme/ResponseSchema/index.tsx","./src/theme/Schema/index.tsx","./src/theme/SchemaExpansion/context.tsx","./src/theme/SchemaExpansion/index.tsx","./src/theme/SchemaItem/index.tsx","./src/theme/SchemaTabs/index.tsx","./src/theme/SkeletonLoader/index.tsx","./src/theme/StatusCodes/index.tsx"],"version":"5.9.3"}
|