docusaurus-theme-openapi-docs 0.0.0-1012 → 0.0.0-1014

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.
@@ -0,0 +1,3 @@
1
+ .openapi-code__code-samples-container {
2
+ margin-top: 2rem;
3
+ }
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import { Language } from "prism-react-renderer";
3
+ export interface Props {
4
+ readonly example: string;
5
+ readonly language: Language;
6
+ }
7
+ declare function CodeSamples({ example, language }: Props): React.JSX.Element;
8
+ export default CodeSamples;
@@ -13,15 +13,15 @@ var __importDefault =
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
14
  const react_1 = __importDefault(require("react"));
15
15
  const CodeBlock_1 = __importDefault(require("@theme/CodeBlock"));
16
- function ResponseSamples({ responseExample, language }) {
16
+ function CodeSamples({ example, language }) {
17
17
  return react_1.default.createElement(
18
18
  "div",
19
- { className: "openapi-code__response-samples-container" },
19
+ { className: "openapi-code__code-samples-container" },
20
20
  react_1.default.createElement(
21
21
  CodeBlock_1.default,
22
22
  { language: language ? language : "json" },
23
- responseExample
23
+ example
24
24
  )
25
25
  );
26
26
  }
27
- exports.default = ResponseSamples;
27
+ exports.default = CodeSamples;
@@ -1,7 +1,4 @@
1
1
  import React from "react";
2
- interface Map<T> {
3
- [key: string]: T;
4
- }
5
2
  export interface ExampleObject {
6
3
  summary?: string;
7
4
  description?: string;
@@ -13,7 +10,7 @@ export interface Props {
13
10
  param: {
14
11
  description: string;
15
12
  example: any;
16
- examples: Map<ExampleObject>;
13
+ examples: Record<string, ExampleObject>;
17
14
  name: string;
18
15
  required: boolean;
19
16
  deprecated: boolean;
@@ -17,8 +17,8 @@ exports.ExampleFromSchema =
17
17
  void 0;
18
18
  exports.json2xml = json2xml;
19
19
  const react_1 = __importDefault(require("react"));
20
+ const CodeSamples_1 = __importDefault(require("@theme/CodeSamples"));
20
21
  const Markdown_1 = __importDefault(require("@theme/Markdown"));
21
- const ResponseSamples_1 = __importDefault(require("@theme/ResponseSamples"));
22
22
  const TabItem_1 = __importDefault(require("@theme/TabItem"));
23
23
  const createResponseExample_1 = require("docusaurus-plugin-openapi-docs/lib/openapi/createResponseExample");
24
24
  const xml_formatter_1 = __importDefault(require("xml-formatter"));
@@ -80,8 +80,8 @@ const ResponseExamples = ({ responseExamples, mimeType }) => {
80
80
  { className: "openapi-example__summary" },
81
81
  exampleValue.summary
82
82
  ),
83
- react_1.default.createElement(ResponseSamples_1.default, {
84
- responseExample: responseExample,
83
+ react_1.default.createElement(CodeSamples_1.default, {
84
+ example: responseExample,
85
85
  language: language,
86
86
  })
87
87
  )
@@ -114,8 +114,8 @@ const ResponseExample = ({ responseExample, mimeType }) => {
114
114
  { className: "openapi-example__summary" },
115
115
  responseExample.summary
116
116
  ),
117
- react_1.default.createElement(ResponseSamples_1.default, {
118
- responseExample: exampleContent,
117
+ react_1.default.createElement(CodeSamples_1.default, {
118
+ example: exampleContent,
119
119
  language: language,
120
120
  })
121
121
  )
@@ -164,8 +164,8 @@ const ExampleFromSchema = ({ schema, mimeType }) => {
164
164
  react_1.default.createElement(
165
165
  TabItem_1.default,
166
166
  { label: "Example (auto)", value: "Example (auto)" },
167
- react_1.default.createElement(ResponseSamples_1.default, {
168
- responseExample: xmlExample,
167
+ react_1.default.createElement(CodeSamples_1.default, {
168
+ example: xmlExample,
169
169
  language: "xml",
170
170
  })
171
171
  )
@@ -181,8 +181,8 @@ const ExampleFromSchema = ({ schema, mimeType }) => {
181
181
  react_1.default.createElement(
182
182
  TabItem_1.default,
183
183
  { label: "Example (auto)", value: "Example (auto)" },
184
- react_1.default.createElement(ResponseSamples_1.default, {
185
- responseExample: JSON.stringify(responseExample, null, 2),
184
+ react_1.default.createElement(CodeSamples_1.default, {
185
+ example: JSON.stringify(responseExample, null, 2),
186
186
  language: "json",
187
187
  })
188
188
  )
@@ -38,7 +38,7 @@
38
38
  @use "./SchemaTabs/SchemaTabs";
39
39
  @use "./OperationTabs/OperationTabs";
40
40
  /* Code Samples */
41
- @use "./ResponseSamples/ResponseSamples";
41
+ @use "./CodeSamples/CodeSamples";
42
42
  /* Markdown Styling */
43
43
  @use "./Markdown/Details/Details";
44
44
 
package/lib/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { FrontMatterTag } from "@docusaurus/utils";
1
+ import type { DocFrontMatter as DocusaurusDocFrontMatter } from "@docusaurus/plugin-content-docs";
2
2
  import type { JSONSchema4, JSONSchema6, JSONSchema7 } from "json-schema";
3
3
  export interface ThemeConfig {
4
4
  api?: {
@@ -6,9 +6,6 @@ export interface ThemeConfig {
6
6
  authPersistance?: false | "localStorage" | "sessionStorage";
7
7
  };
8
8
  }
9
- interface Map<T> {
10
- [key: string]: T;
11
- }
12
9
  export type JSONSchema = JSONSchema4 | JSONSchema6 | JSONSchema7;
13
10
  export type SchemaObject = Omit<JSONSchema, "type" | "allOf" | "oneOf" | "anyOf" | "not" | "items" | "properties" | "additionalProperties"> & {
14
11
  type?: "string" | "number" | "integer" | "boolean" | "object" | "array";
@@ -17,7 +14,7 @@ export type SchemaObject = Omit<JSONSchema, "type" | "allOf" | "oneOf" | "anyOf"
17
14
  anyOf?: SchemaObject[];
18
15
  not?: SchemaObject;
19
16
  items?: SchemaObject;
20
- properties?: Map<SchemaObject>;
17
+ properties?: Record<string, SchemaObject>;
21
18
  additionalProperties?: boolean | SchemaObject;
22
19
  nullable?: boolean;
23
20
  discriminator?: DiscriminatorObject;
@@ -30,7 +27,7 @@ export type SchemaObject = Omit<JSONSchema, "type" | "allOf" | "oneOf" | "anyOf"
30
27
  };
31
28
  export interface DiscriminatorObject {
32
29
  propertyName: string;
33
- mapping?: Map<string>;
30
+ mapping?: Record<string, string>;
34
31
  }
35
32
  export interface XMLObject {
36
33
  name?: string;
@@ -43,115 +40,7 @@ export interface ExternalDocumentationObject {
43
40
  description?: string;
44
41
  url: string;
45
42
  }
46
- export type FileChange = {
47
- author?: string;
48
- /** Date can be any
49
- * [parsable date string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse).
50
- */
51
- date?: Date | string;
52
- };
53
- export type DocFrontMatter = {
54
- /**
55
- * The last part of the doc ID (will be refactored in the future to be the
56
- * full ID instead)
57
- * @see {@link DocMetadata.id}
58
- */
59
- id?: string;
60
- /**
61
- * Will override the default title collected from h1 heading.
62
- * @see {@link DocMetadata.title}
63
- */
64
- title?: string;
65
- /**
66
- * Front matter tags, unnormalized.
67
- * @see {@link DocMetadata.tags}
68
- */
69
- tags?: FrontMatterTag[];
70
- /**
71
- * If there isn't a Markdown h1 heading (which, if there is, we don't
72
- * remove), this front matter will cause the front matter title to not be
73
- * displayed in the doc page.
74
- */
75
- hide_title?: boolean;
76
- /** Hide the TOC on the right. */
77
- hide_table_of_contents?: boolean;
78
- /** Used in the head meta. */
79
- keywords?: string[];
80
- /** Used in the head meta. Should use `assets.image` in priority. */
81
- image?: string;
82
- /**
83
- * Will override the default excerpt.
84
- * @see {@link DocMetadata.description}
85
- */
86
- description?: string;
87
- /**
88
- * Custom slug appended after /<baseUrl>/<routeBasePath>/<versionPath>
89
- * @see {@link DocMetadata.slug}
90
- */
91
- slug?: string;
92
- /** Customizes the sidebar label for this doc. Will default to its title. */
93
- sidebar_label?: string;
94
- /**
95
- * Controls the position of a doc inside the generated sidebar slice when
96
- * using autogenerated sidebar items.
97
- *
98
- * @see https://docusaurus.io/docs/sidebar#autogenerated-sidebar-metadata
99
- */
100
- sidebar_position?: number;
101
- /**
102
- * Gives the corresponding sidebar label a special class name when using
103
- * autogenerated sidebars.
104
- */
105
- sidebar_class_name?: string;
106
- /**
107
- * Will be propagated to the final sidebars data structure. Useful if you
108
- * have swizzled sidebar-related code or simply querying doc data through
109
- * sidebars.
110
- */
111
- sidebar_custom_props?: {
112
- [key: string]: unknown;
113
- };
114
- /**
115
- * Changes the sidebar association of the current doc. Use `null` to make
116
- * the current doc not associated to any sidebar.
117
- */
118
- displayed_sidebar?: string | null;
119
- /**
120
- * Customizes the pagination label for this doc. Will default to the sidebar
121
- * label.
122
- */
123
- pagination_label?: string;
124
- /** Overrides the default URL computed for this doc. */
125
- custom_edit_url?: string | null;
126
- /**
127
- * Whether number prefix parsing is disabled on this doc.
128
- * @see https://docusaurus.io/docs/sidebar#using-number-prefixes
129
- */
130
- parse_number_prefixes?: boolean;
131
- /**
132
- * Minimum TOC heading level. Must be between 2 and 6 and lower or equal to
133
- * the max value.
134
- */
135
- toc_min_heading_level?: number;
136
- /** Maximum TOC heading level. Must be between 2 and 6. */
137
- toc_max_heading_level?: number;
138
- /**
139
- * The ID of the documentation you want the "Next" pagination to link to.
140
- * Use `null` to disable showing "Next" for this page.
141
- * @see {@link DocMetadata.next}
142
- */
143
- pagination_next?: string | null;
144
- /**
145
- * The ID of the documentation you want the "Previous" pagination to link
146
- * to. Use `null` to disable showing "Previous" for this page.
147
- * @see {@link DocMetadata.prev}
148
- */
149
- pagination_prev?: string | null;
150
- /** Should this doc be excluded from production builds? */
151
- draft?: boolean;
152
- /** Allows overriding the last updated author and/or date. */
153
- last_update?: FileChange;
43
+ export interface DocFrontMatter extends DocusaurusDocFrontMatter {
154
44
  /** Provides OpenAPI Docs with a reference path to their respective Info Doc */
155
45
  info_path?: string;
156
- };
157
- export {};
46
+ }
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-1012",
4
+ "version": "0.0.0-1014",
5
5
  "license": "MIT",
6
6
  "keywords": [
7
7
  "openapi",
@@ -36,7 +36,7 @@
36
36
  "@types/lodash": "^4.14.176",
37
37
  "@types/pako": "^2.0.3",
38
38
  "concurrently": "^5.2.0",
39
- "docusaurus-plugin-openapi-docs": "0.0.0-1012",
39
+ "docusaurus-plugin-openapi-docs": "0.0.0-1014",
40
40
  "docusaurus-plugin-sass": "^0.2.3",
41
41
  "eslint-plugin-prettier": "^5.0.1"
42
42
  },
@@ -79,5 +79,5 @@
79
79
  "engines": {
80
80
  "node": ">=14"
81
81
  },
82
- "gitHead": "82336c8bea65a734c775d77a3a310b3ceb9fd1e4"
82
+ "gitHead": "66c116555c5002e121f65a3db9800bad20ca8ae1"
83
83
  }
@@ -0,0 +1,3 @@
1
+ .openapi-code__code-samples-container {
2
+ margin-top: 2rem;
3
+ }
@@ -11,21 +11,16 @@ import CodeBlock from "@theme/CodeBlock";
11
11
  import { Language } from "prism-react-renderer";
12
12
 
13
13
  export interface Props {
14
- readonly responseExample: string;
14
+ readonly example: string;
15
15
  readonly language: Language;
16
16
  }
17
17
 
18
- function ResponseSamples({
19
- responseExample,
20
- language,
21
- }: Props): React.JSX.Element {
18
+ function CodeSamples({ example, language }: Props): React.JSX.Element {
22
19
  return (
23
- <div className="openapi-code__response-samples-container">
24
- <CodeBlock language={language ? language : "json"}>
25
- {responseExample}
26
- </CodeBlock>
20
+ <div className="openapi-code__code-samples-container">
21
+ <CodeBlock language={language ? language : "json"}>{example}</CodeBlock>
27
22
  </div>
28
23
  );
29
24
  }
30
25
 
31
- export default ResponseSamples;
26
+ export default CodeSamples;
@@ -16,10 +16,6 @@ import clsx from "clsx";
16
16
  import { getQualifierMessage, getSchemaName } from "../../markdown/schema";
17
17
  import { guard, toString } from "../../markdown/utils";
18
18
 
19
- interface Map<T> {
20
- [key: string]: T;
21
- }
22
-
23
19
  export interface ExampleObject {
24
20
  summary?: string;
25
21
  description?: string;
@@ -32,7 +28,7 @@ export interface Props {
32
28
  param: {
33
29
  description: string;
34
30
  example: any;
35
- examples: Map<ExampleObject>;
31
+ examples: Record<string, ExampleObject>;
36
32
  name: string;
37
33
  required: boolean;
38
34
  deprecated: boolean;
@@ -7,8 +7,8 @@
7
7
 
8
8
  import React from "react";
9
9
 
10
+ import CodeSamples from "@theme/CodeSamples";
10
11
  import Markdown from "@theme/Markdown";
11
- import ResponseSamples from "@theme/ResponseSamples";
12
12
  import TabItem from "@theme/TabItem";
13
13
  import { sampleResponseFromSchema } from "docusaurus-plugin-openapi-docs/lib/openapi/createResponseExample";
14
14
  import format from "xml-formatter";
@@ -78,10 +78,7 @@ export const ResponseExamples: React.FC<ResponseExamplesProps> = ({
78
78
  {exampleValue.summary}
79
79
  </Markdown>
80
80
  )}
81
- <ResponseSamples
82
- responseExample={responseExample}
83
- language={language}
84
- />
81
+ <CodeSamples example={responseExample} language={language} />
85
82
  </TabItem>
86
83
  );
87
84
  }
@@ -120,7 +117,7 @@ export const ResponseExample: React.FC<ResponseExampleProps> = ({
120
117
  {responseExample.summary}
121
118
  </Markdown>
122
119
  )}
123
- <ResponseSamples responseExample={exampleContent} language={language} />
120
+ <CodeSamples example={exampleContent} language={language} />
124
121
  </TabItem>
125
122
  );
126
123
  };
@@ -167,7 +164,7 @@ export const ExampleFromSchema: React.FC<ExampleFromSchemaProps> = ({
167
164
  return (
168
165
  // @ts-ignore
169
166
  <TabItem label="Example (auto)" value="Example (auto)">
170
- <ResponseSamples responseExample={xmlExample} language="xml" />
167
+ <CodeSamples example={xmlExample} language="xml" />
171
168
  </TabItem>
172
169
  );
173
170
  }
@@ -180,8 +177,8 @@ export const ExampleFromSchema: React.FC<ExampleFromSchemaProps> = ({
180
177
  return (
181
178
  // @ts-ignore
182
179
  <TabItem label="Example (auto)" value="Example (auto)">
183
- <ResponseSamples
184
- responseExample={JSON.stringify(responseExample, null, 2)}
180
+ <CodeSamples
181
+ example={JSON.stringify(responseExample, null, 2)}
185
182
  language="json"
186
183
  />
187
184
  </TabItem>
@@ -38,7 +38,7 @@
38
38
  @use "./SchemaTabs/SchemaTabs";
39
39
  @use "./OperationTabs/OperationTabs";
40
40
  /* Code Samples */
41
- @use "./ResponseSamples/ResponseSamples";
41
+ @use "./CodeSamples/CodeSamples";
42
42
  /* Markdown Styling */
43
43
  @use "./Markdown/Details/Details";
44
44
 
package/src/types.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  * ========================================================================== */
7
7
 
8
- import type { FrontMatterTag } from "@docusaurus/utils";
8
+ import type { DocFrontMatter as DocusaurusDocFrontMatter } from "@docusaurus/plugin-content-docs";
9
9
  import type { JSONSchema4, JSONSchema6, JSONSchema7 } from "json-schema";
10
10
 
11
11
  export interface ThemeConfig {
@@ -15,10 +15,6 @@ export interface ThemeConfig {
15
15
  };
16
16
  }
17
17
 
18
- interface Map<T> {
19
- [key: string]: T;
20
- }
21
-
22
18
  export type JSONSchema = JSONSchema4 | JSONSchema6 | JSONSchema7;
23
19
  export type SchemaObject = Omit<
24
20
  JSONSchema,
@@ -38,7 +34,7 @@ export type SchemaObject = Omit<
38
34
  anyOf?: SchemaObject[];
39
35
  not?: SchemaObject;
40
36
  items?: SchemaObject;
41
- properties?: Map<SchemaObject>;
37
+ properties?: Record<string, SchemaObject>;
42
38
  additionalProperties?: boolean | SchemaObject;
43
39
 
44
40
  // OpenAPI additions
@@ -54,7 +50,7 @@ export type SchemaObject = Omit<
54
50
 
55
51
  export interface DiscriminatorObject {
56
52
  propertyName: string;
57
- mapping?: Map<string>;
53
+ mapping?: Record<string, string>;
58
54
  }
59
55
 
60
56
  export interface XMLObject {
@@ -70,113 +66,7 @@ export interface ExternalDocumentationObject {
70
66
  url: string;
71
67
  }
72
68
 
73
- export type FileChange = {
74
- author?: string;
75
- /** Date can be any
76
- * [parsable date string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse).
77
- */
78
- date?: Date | string;
79
- };
80
-
81
- export type DocFrontMatter = {
82
- /**
83
- * The last part of the doc ID (will be refactored in the future to be the
84
- * full ID instead)
85
- * @see {@link DocMetadata.id}
86
- */
87
- id?: string;
88
- /**
89
- * Will override the default title collected from h1 heading.
90
- * @see {@link DocMetadata.title}
91
- */
92
- title?: string;
93
- /**
94
- * Front matter tags, unnormalized.
95
- * @see {@link DocMetadata.tags}
96
- */
97
- tags?: FrontMatterTag[];
98
- /**
99
- * If there isn't a Markdown h1 heading (which, if there is, we don't
100
- * remove), this front matter will cause the front matter title to not be
101
- * displayed in the doc page.
102
- */
103
- hide_title?: boolean;
104
- /** Hide the TOC on the right. */
105
- hide_table_of_contents?: boolean;
106
- /** Used in the head meta. */
107
- keywords?: string[];
108
- /** Used in the head meta. Should use `assets.image` in priority. */
109
- image?: string;
110
- /**
111
- * Will override the default excerpt.
112
- * @see {@link DocMetadata.description}
113
- */
114
- description?: string;
115
- /**
116
- * Custom slug appended after /<baseUrl>/<routeBasePath>/<versionPath>
117
- * @see {@link DocMetadata.slug}
118
- */
119
- slug?: string;
120
- /** Customizes the sidebar label for this doc. Will default to its title. */
121
- sidebar_label?: string;
122
- /**
123
- * Controls the position of a doc inside the generated sidebar slice when
124
- * using autogenerated sidebar items.
125
- *
126
- * @see https://docusaurus.io/docs/sidebar#autogenerated-sidebar-metadata
127
- */
128
- sidebar_position?: number;
129
- /**
130
- * Gives the corresponding sidebar label a special class name when using
131
- * autogenerated sidebars.
132
- */
133
- sidebar_class_name?: string;
134
- /**
135
- * Will be propagated to the final sidebars data structure. Useful if you
136
- * have swizzled sidebar-related code or simply querying doc data through
137
- * sidebars.
138
- */
139
- sidebar_custom_props?: { [key: string]: unknown };
140
- /**
141
- * Changes the sidebar association of the current doc. Use `null` to make
142
- * the current doc not associated to any sidebar.
143
- */
144
- displayed_sidebar?: string | null;
145
- /**
146
- * Customizes the pagination label for this doc. Will default to the sidebar
147
- * label.
148
- */
149
- pagination_label?: string;
150
- /** Overrides the default URL computed for this doc. */
151
- custom_edit_url?: string | null;
152
- /**
153
- * Whether number prefix parsing is disabled on this doc.
154
- * @see https://docusaurus.io/docs/sidebar#using-number-prefixes
155
- */
156
- parse_number_prefixes?: boolean;
157
- /**
158
- * Minimum TOC heading level. Must be between 2 and 6 and lower or equal to
159
- * the max value.
160
- */
161
- toc_min_heading_level?: number;
162
- /** Maximum TOC heading level. Must be between 2 and 6. */
163
- toc_max_heading_level?: number;
164
- /**
165
- * The ID of the documentation you want the "Next" pagination to link to.
166
- * Use `null` to disable showing "Next" for this page.
167
- * @see {@link DocMetadata.next}
168
- */
169
- pagination_next?: string | null;
170
- /**
171
- * The ID of the documentation you want the "Previous" pagination to link
172
- * to. Use `null` to disable showing "Previous" for this page.
173
- * @see {@link DocMetadata.prev}
174
- */
175
- pagination_prev?: string | null;
176
- /** Should this doc be excluded from production builds? */
177
- draft?: boolean;
178
- /** Allows overriding the last updated author and/or date. */
179
- last_update?: FileChange;
69
+ export interface DocFrontMatter extends DocusaurusDocFrontMatter {
180
70
  /** Provides OpenAPI Docs with a reference path to their respective Info Doc */
181
71
  info_path?: string;
182
- };
72
+ }
@@ -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/theme-translations.d.ts","./src/types.ts","./src/markdown/createDescription.ts","./src/markdown/schema.ts","./src/markdown/utils.test.ts","./src/markdown/utils.ts","./src/theme/ApiExplorer/buildPostmanRequest.ts","./src/theme/ApiExplorer/index.tsx","./src/theme/ApiExplorer/persistanceMiddleware.ts","./src/theme/ApiExplorer/postman-collection.d.ts","./src/theme/ApiExplorer/react-modal.d.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/slice.ts","./src/theme/ApiExplorer/CodeSnippets/code-snippets-types.ts","./src/theme/ApiExplorer/CodeSnippets/index.tsx","./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/Export/index.tsx","./src/theme/ApiExplorer/FloatingButton/index.tsx","./src/theme/ApiExplorer/FormFileUpload/index.tsx","./src/theme/ApiExplorer/FormItem/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/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/DiscriminatorTabs/index.tsx","./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/ResponseSamples/index.tsx","./src/theme/ResponseSchema/index.tsx","./src/theme/Schema/index.tsx","./src/theme/SchemaItem/index.tsx","./src/theme/SchemaTabs/index.tsx","./src/theme/SkeletonLoader/index.tsx","./src/theme/StatusCodes/index.tsx"],"version":"5.7.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/theme-translations.d.ts","./src/types.ts","./src/markdown/createDescription.ts","./src/markdown/schema.ts","./src/markdown/utils.test.ts","./src/markdown/utils.ts","./src/theme/ApiExplorer/buildPostmanRequest.ts","./src/theme/ApiExplorer/index.tsx","./src/theme/ApiExplorer/persistanceMiddleware.ts","./src/theme/ApiExplorer/postman-collection.d.ts","./src/theme/ApiExplorer/react-modal.d.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/slice.ts","./src/theme/ApiExplorer/CodeSnippets/code-snippets-types.ts","./src/theme/ApiExplorer/CodeSnippets/index.tsx","./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/Export/index.tsx","./src/theme/ApiExplorer/FloatingButton/index.tsx","./src/theme/ApiExplorer/FormFileUpload/index.tsx","./src/theme/ApiExplorer/FormItem/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/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/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/SchemaItem/index.tsx","./src/theme/SchemaTabs/index.tsx","./src/theme/SkeletonLoader/index.tsx","./src/theme/StatusCodes/index.tsx"],"version":"5.7.3"}
@@ -1,3 +0,0 @@
1
- .openapi-code__response-samples-container {
2
- margin-top: 2rem;
3
- }
@@ -1,8 +0,0 @@
1
- import React from "react";
2
- import { Language } from "prism-react-renderer";
3
- export interface Props {
4
- readonly responseExample: string;
5
- readonly language: Language;
6
- }
7
- declare function ResponseSamples({ responseExample, language, }: Props): React.JSX.Element;
8
- export default ResponseSamples;
@@ -1,3 +0,0 @@
1
- .openapi-code__response-samples-container {
2
- margin-top: 2rem;
3
- }