docusaurus-theme-openapi-docs 2.0.0-beta.3 → 2.0.0-beta.4
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/theme/ApiDemoPanel/ApiCodeBlock/ExpandButton/index.js +15 -15
- package/lib/theme/ApiDemoPanel/ApiCodeBlock/Line/_Line.scss +5 -5
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/Accept/index.js +2 -2
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/ApiCodeBlock/Container/_Container.scss +1 -1
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/ApiCodeBlock/Container/index.js +1 -1
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/ApiCodeBlock/Content/Element.js +3 -3
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/ApiCodeBlock/Content/String.js +18 -15
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/ApiCodeBlock/Content/_Content.scss +16 -16
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/ApiCodeBlock/CopyButton/_CopyButton.scss +8 -8
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/ApiCodeBlock/CopyButton/index.js +5 -5
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/ApiCodeBlock/ExitButton/_ExitButton.scss +2 -2
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/ApiCodeBlock/ExitButton/index.js +3 -3
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/ApiCodeBlock/ExpandButton/_ExpandButton.scss +11 -11
- package/lib/theme/ApiExplorer/ApiCodeBlock/ExpandButton/index.js +156 -0
- package/lib/theme/ApiExplorer/ApiCodeBlock/Line/_Line.scss +46 -0
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/ApiCodeBlock/Line/index.js +3 -3
- package/lib/theme/ApiExplorer/ApiCodeBlock/WordWrapButton/_WordWrapButton.scss +10 -0
- package/{src/theme/ApiDemoPanel → lib/theme/ApiExplorer}/ApiCodeBlock/WordWrapButton/index.js +2 -2
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/ApiCodeBlock/index.js +2 -2
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/Authorization/index.js +3 -3
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/Authorization/slice.js +1 -1
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/Body/index.js +18 -12
- package/lib/theme/{ApiDemoPanel/Curl → ApiExplorer/CodeSnippets}/index.d.ts +2 -2
- package/lib/theme/{ApiDemoPanel/Curl → ApiExplorer/CodeSnippets}/index.js +6 -6
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/CodeTabs/_CodeTabs.scss +4 -4
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/CodeTabs/index.js +1 -1
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/ContentType/index.js +2 -2
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/FloatingButton/_FloatingButton.scss +4 -4
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/FloatingButton/index.js +1 -1
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/FormFileUpload/_FormFileUpload.scss +6 -6
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/FormFileUpload/index.js +5 -5
- package/lib/theme/ApiExplorer/FormItem/_FormItem.scss +21 -0
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/FormItem/index.js +4 -2
- package/{src/theme/ApiDemoPanel → lib/theme/ApiExplorer}/FormMultiSelect/_FormMultiSelect.scss +2 -2
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/FormMultiSelect/index.js +1 -1
- package/{src/theme/ApiDemoPanel → lib/theme/ApiExplorer}/FormSelect/_FormSelect.scss +4 -4
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/FormSelect/index.js +1 -1
- package/{src/theme/ApiDemoPanel → lib/theme/ApiExplorer}/FormTextInput/_FormTextInput.scss +5 -5
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/FormTextInput/index.js +3 -3
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/LiveEditor/_LiveEditor.scss +2 -2
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/LiveEditor/index.js +5 -5
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/ParamOptions/ParamFormItems/ParamArrayFormItem.d.ts +1 -1
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/ParamOptions/ParamFormItems/ParamArrayFormItem.js +6 -6
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/ParamOptions/ParamFormItems/ParamBooleanFormItem.d.ts +1 -1
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/ParamOptions/ParamFormItems/ParamBooleanFormItem.js +3 -3
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/ParamOptions/ParamFormItems/ParamMultiSelectFormItem.d.ts +1 -1
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/ParamOptions/ParamFormItems/ParamMultiSelectFormItem.js +3 -3
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/ParamOptions/ParamFormItems/ParamSelectFormItem.d.ts +1 -1
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/ParamOptions/ParamFormItems/ParamSelectFormItem.js +3 -3
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/ParamOptions/ParamFormItems/ParamTextFormItem.d.ts +1 -1
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/ParamOptions/ParamFormItems/ParamTextFormItem.js +2 -2
- package/{src/theme/ApiDemoPanel → lib/theme/ApiExplorer}/ParamOptions/_ParamOptions.scss +7 -7
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/ParamOptions/index.js +11 -11
- package/{src/theme/ApiDemoPanel → lib/theme/ApiExplorer}/Request/_Request.scss +14 -13
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/Request/index.js +31 -25
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/Request/makeRequest.d.ts +1 -1
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/Request/makeRequest.js +6 -4
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/Response/_Response.scss +8 -8
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/Response/index.js +13 -10
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/Server/_Server.scss +4 -4
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/Server/index.js +7 -7
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/buildPostmanRequest.d.ts +2 -2
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/index.d.ts +2 -2
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/index.js +8 -6
- package/lib/theme/{ApiDemoPanel → ApiExplorer}/persistanceMiddleware.js +1 -1
- package/lib/theme/ApiItem/index.js +13 -6
- package/lib/theme/ApiItem/store.js +7 -7
- package/lib/theme/MimeTabs/index.js +2 -2
- package/lib/theme/ParamsItem/_ParamsItem.scss +1 -1
- package/lib/theme/SchemaItem/_SchemaItem.scss +1 -0
- package/lib/theme/styles.scss +27 -27
- package/package.json +3 -3
- package/src/theme/ApiDemoPanel/ApiCodeBlock/ExpandButton/index.js +15 -15
- package/src/theme/ApiDemoPanel/ApiCodeBlock/Line/_Line.scss +5 -5
- package/src/theme/{ApiDemoPanel → ApiExplorer}/Accept/index.tsx +2 -2
- package/src/theme/{ApiDemoPanel → ApiExplorer}/ApiCodeBlock/Container/_Container.scss +1 -1
- package/src/theme/{ApiDemoPanel → ApiExplorer}/ApiCodeBlock/Container/index.js +1 -1
- package/src/theme/{ApiDemoPanel → ApiExplorer}/ApiCodeBlock/Content/Element.js +3 -3
- package/src/theme/{ApiDemoPanel → ApiExplorer}/ApiCodeBlock/Content/String.js +18 -15
- package/src/theme/{ApiDemoPanel → ApiExplorer}/ApiCodeBlock/Content/_Content.scss +16 -16
- package/src/theme/{ApiDemoPanel → ApiExplorer}/ApiCodeBlock/CopyButton/_CopyButton.scss +8 -8
- package/src/theme/{ApiDemoPanel → ApiExplorer}/ApiCodeBlock/CopyButton/index.js +5 -5
- package/src/theme/{ApiDemoPanel → ApiExplorer}/ApiCodeBlock/ExitButton/_ExitButton.scss +2 -2
- package/src/theme/{ApiDemoPanel → ApiExplorer}/ApiCodeBlock/ExitButton/index.js +3 -3
- package/src/theme/{ApiDemoPanel → ApiExplorer}/ApiCodeBlock/ExpandButton/_ExpandButton.scss +11 -11
- package/src/theme/ApiExplorer/ApiCodeBlock/ExpandButton/index.js +156 -0
- package/src/theme/ApiExplorer/ApiCodeBlock/Line/_Line.scss +46 -0
- package/src/theme/{ApiDemoPanel → ApiExplorer}/ApiCodeBlock/Line/index.js +3 -3
- package/src/theme/ApiExplorer/ApiCodeBlock/WordWrapButton/_WordWrapButton.scss +10 -0
- package/{lib/theme/ApiDemoPanel → src/theme/ApiExplorer}/ApiCodeBlock/WordWrapButton/index.js +2 -2
- package/src/theme/{ApiDemoPanel → ApiExplorer}/ApiCodeBlock/index.js +2 -2
- package/src/theme/{ApiDemoPanel → ApiExplorer}/Authorization/index.tsx +3 -3
- package/src/theme/{ApiDemoPanel → ApiExplorer}/Authorization/slice.ts +1 -1
- package/src/theme/{ApiDemoPanel → ApiExplorer}/Body/index.tsx +18 -10
- package/src/theme/{ApiDemoPanel/Curl → ApiExplorer/CodeSnippets}/index.tsx +6 -6
- package/src/theme/{ApiDemoPanel → ApiExplorer}/CodeTabs/_CodeTabs.scss +4 -4
- package/src/theme/{ApiDemoPanel → ApiExplorer}/CodeTabs/index.js +1 -1
- package/src/theme/{ApiDemoPanel → ApiExplorer}/ContentType/index.tsx +2 -2
- package/src/theme/{ApiDemoPanel → ApiExplorer}/FloatingButton/_FloatingButton.scss +4 -4
- package/src/theme/{ApiDemoPanel → ApiExplorer}/FloatingButton/index.tsx +1 -1
- package/src/theme/{ApiDemoPanel → ApiExplorer}/FormFileUpload/_FormFileUpload.scss +6 -6
- package/src/theme/{ApiDemoPanel → ApiExplorer}/FormFileUpload/index.tsx +8 -4
- package/src/theme/ApiExplorer/FormItem/_FormItem.scss +21 -0
- package/src/theme/{ApiDemoPanel → ApiExplorer}/FormItem/index.tsx +2 -2
- package/{lib/theme/ApiDemoPanel → src/theme/ApiExplorer}/FormMultiSelect/_FormMultiSelect.scss +2 -2
- package/src/theme/{ApiDemoPanel → ApiExplorer}/FormMultiSelect/index.tsx +1 -1
- package/{lib/theme/ApiDemoPanel → src/theme/ApiExplorer}/FormSelect/_FormSelect.scss +4 -4
- package/src/theme/{ApiDemoPanel → ApiExplorer}/FormSelect/index.tsx +1 -1
- package/{lib/theme/ApiDemoPanel → src/theme/ApiExplorer}/FormTextInput/_FormTextInput.scss +5 -5
- package/src/theme/{ApiDemoPanel → ApiExplorer}/FormTextInput/index.tsx +3 -3
- package/src/theme/{ApiDemoPanel → ApiExplorer}/LiveEditor/_LiveEditor.scss +2 -2
- package/src/theme/{ApiDemoPanel → ApiExplorer}/LiveEditor/index.tsx +5 -5
- package/src/theme/{ApiDemoPanel → ApiExplorer}/ParamOptions/ParamFormItems/ParamArrayFormItem.tsx +9 -6
- package/src/theme/{ApiDemoPanel → ApiExplorer}/ParamOptions/ParamFormItems/ParamBooleanFormItem.tsx +3 -3
- package/src/theme/{ApiDemoPanel → ApiExplorer}/ParamOptions/ParamFormItems/ParamMultiSelectFormItem.tsx +3 -3
- package/src/theme/{ApiDemoPanel → ApiExplorer}/ParamOptions/ParamFormItems/ParamSelectFormItem.tsx +3 -3
- package/src/theme/{ApiDemoPanel → ApiExplorer}/ParamOptions/ParamFormItems/ParamTextFormItem.tsx +2 -2
- package/{lib/theme/ApiDemoPanel → src/theme/ApiExplorer}/ParamOptions/_ParamOptions.scss +7 -7
- package/src/theme/{ApiDemoPanel → ApiExplorer}/ParamOptions/index.tsx +11 -11
- package/{lib/theme/ApiDemoPanel → src/theme/ApiExplorer}/Request/_Request.scss +14 -13
- package/src/theme/{ApiDemoPanel → ApiExplorer}/Request/index.tsx +25 -25
- package/src/theme/{ApiDemoPanel → ApiExplorer}/Request/makeRequest.ts +8 -5
- package/src/theme/{ApiDemoPanel → ApiExplorer}/Response/_Response.scss +8 -8
- package/src/theme/{ApiDemoPanel → ApiExplorer}/Response/index.tsx +10 -10
- package/src/theme/{ApiDemoPanel → ApiExplorer}/Server/_Server.scss +4 -4
- package/src/theme/{ApiDemoPanel → ApiExplorer}/Server/index.tsx +7 -7
- package/src/theme/{ApiDemoPanel → ApiExplorer}/buildPostmanRequest.ts +2 -2
- package/src/theme/{ApiDemoPanel → ApiExplorer}/index.tsx +6 -6
- package/src/theme/{ApiDemoPanel → ApiExplorer}/persistanceMiddleware.ts +1 -1
- package/src/theme/ApiItem/index.tsx +15 -6
- package/src/theme/ApiItem/store.ts +7 -7
- package/src/theme/MimeTabs/index.js +2 -2
- package/src/theme/ParamsItem/_ParamsItem.scss +1 -1
- package/src/theme/SchemaItem/_SchemaItem.scss +1 -0
- package/src/theme/styles.scss +27 -27
- package/src/theme-openapi.d.ts +56 -56
- package/lib/theme/ApiDemoPanel/ApiCodeBlock/WordWrapButton/_WordWrapButton.scss +0 -10
- package/lib/theme/ApiDemoPanel/FormItem/_FormItem.scss +0 -21
- package/src/theme/ApiDemoPanel/ApiCodeBlock/WordWrapButton/_WordWrapButton.scss +0 -10
- package/src/theme/ApiDemoPanel/FormItem/_FormItem.scss +0 -21
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/Accept/index.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/Accept/slice.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/Accept/slice.js +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/Authorization/auth-types.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/Authorization/auth-types.js +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/Authorization/index.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/Authorization/slice.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/Body/index.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/Body/json2xml.js +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/Body/slice.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/Body/slice.js +0 -0
- /package/lib/theme/{ApiDemoPanel/Curl → ApiExplorer/CodeSnippets}/languages.json +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/ContentType/index.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/ContentType/slice.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/ContentType/slice.js +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/Export/index.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/Export/index.js +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/FloatingButton/index.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/FormFileUpload/index.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/FormItem/index.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/FormMultiSelect/index.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/FormSelect/index.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/FormTextInput/index.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/LiveEditor/index.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/MethodEndpoint/_MethodEndpoint.scss +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/MethodEndpoint/index.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/MethodEndpoint/index.js +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/ParamOptions/index.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/ParamOptions/slice.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/ParamOptions/slice.js +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/Request/index.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/Response/index.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/Response/slice.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/Response/slice.js +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/SecuritySchemes/index.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/SecuritySchemes/index.js +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/Server/index.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/Server/slice.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/Server/slice.js +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/buildPostmanRequest.js +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/persistanceMiddleware.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/storage-utils.d.ts +0 -0
- /package/lib/theme/{ApiDemoPanel → ApiExplorer}/storage-utils.js +0 -0
- /package/src/theme/{ApiDemoPanel → ApiExplorer}/Accept/slice.ts +0 -0
- /package/src/theme/{ApiDemoPanel → ApiExplorer}/Authorization/auth-types.ts +0 -0
- /package/src/theme/{ApiDemoPanel → ApiExplorer}/Body/json2xml.js +0 -0
- /package/src/theme/{ApiDemoPanel → ApiExplorer}/Body/slice.ts +0 -0
- /package/src/theme/{ApiDemoPanel/Curl → ApiExplorer/CodeSnippets}/languages.json +0 -0
- /package/src/theme/{ApiDemoPanel → ApiExplorer}/ContentType/slice.ts +0 -0
- /package/src/theme/{ApiDemoPanel → ApiExplorer}/Export/index.tsx +0 -0
- /package/src/theme/{ApiDemoPanel → ApiExplorer}/MethodEndpoint/_MethodEndpoint.scss +0 -0
- /package/src/theme/{ApiDemoPanel → ApiExplorer}/MethodEndpoint/index.tsx +0 -0
- /package/src/theme/{ApiDemoPanel → ApiExplorer}/ParamOptions/slice.ts +0 -0
- /package/src/theme/{ApiDemoPanel → ApiExplorer}/Response/slice.ts +0 -0
- /package/src/theme/{ApiDemoPanel → ApiExplorer}/SecuritySchemes/index.tsx +0 -0
- /package/src/theme/{ApiDemoPanel → ApiExplorer}/Server/slice.ts +0 -0
- /package/src/theme/{ApiDemoPanel → ApiExplorer}/postman-collection.d.ts +0 -0
- /package/src/theme/{ApiDemoPanel → ApiExplorer}/react-modal.d.ts +0 -0
- /package/src/theme/{ApiDemoPanel → ApiExplorer}/storage-utils.ts +0 -0
package/src/theme/styles.scss
CHANGED
|
@@ -5,28 +5,28 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
* ========================================================================== */
|
|
7
7
|
/* API Demo Panel */
|
|
8
|
-
@use "./
|
|
9
|
-
@use "./
|
|
10
|
-
@use "./
|
|
11
|
-
@use "./
|
|
12
|
-
@use "./
|
|
13
|
-
@use "./
|
|
14
|
-
@use "./
|
|
15
|
-
@use "./
|
|
16
|
-
@use "./
|
|
17
|
-
@use "./
|
|
18
|
-
@use "./
|
|
19
|
-
@use "./
|
|
20
|
-
@use "./
|
|
8
|
+
@use "./ApiExplorer/CodeTabs/CodeTabs";
|
|
9
|
+
@use "./ApiExplorer/FloatingButton/FloatingButton";
|
|
10
|
+
@use "./ApiExplorer/FormFileUpload/FormFileUpload";
|
|
11
|
+
@use "./ApiExplorer/FormItem/FormItem";
|
|
12
|
+
@use "./ApiExplorer/FormMultiSelect/FormMultiSelect";
|
|
13
|
+
@use "./ApiExplorer/FormSelect/FormSelect";
|
|
14
|
+
@use "./ApiExplorer/FormTextInput/FormTextInput";
|
|
15
|
+
@use "./ApiExplorer/LiveEditor/LiveEditor";
|
|
16
|
+
@use "./ApiExplorer/MethodEndpoint/MethodEndpoint";
|
|
17
|
+
@use "./ApiExplorer/ParamOptions/ParamOptions";
|
|
18
|
+
@use "./ApiExplorer/Request/Request";
|
|
19
|
+
@use "./ApiExplorer/Response/Response";
|
|
20
|
+
@use "./ApiExplorer/Server/Server";
|
|
21
21
|
|
|
22
22
|
/* Api Demo Panel / ApiCodeBlock */
|
|
23
|
-
@use "./
|
|
24
|
-
@use "./
|
|
25
|
-
@use "./
|
|
26
|
-
@use "./
|
|
27
|
-
@use "./
|
|
28
|
-
@use "./
|
|
29
|
-
@use "./
|
|
23
|
+
@use "./ApiExplorer/ApiCodeBlock/Container/Container";
|
|
24
|
+
@use "./ApiExplorer/ApiCodeBlock/Content/Content";
|
|
25
|
+
@use "./ApiExplorer/ApiCodeBlock/CopyButton/CopyButton";
|
|
26
|
+
@use "./ApiExplorer/ApiCodeBlock/ExitButton/ExitButton";
|
|
27
|
+
@use "./ApiExplorer/ApiCodeBlock/ExpandButton/ExpandButton";
|
|
28
|
+
@use "./ApiExplorer/ApiCodeBlock/Line/Line";
|
|
29
|
+
@use "./ApiExplorer/ApiCodeBlock/WordWrapButton/WordWrapButton";
|
|
30
30
|
|
|
31
31
|
/* Schema Styling */
|
|
32
32
|
@use "./ParamsItem/ParamsItem";
|
|
@@ -75,16 +75,16 @@
|
|
|
75
75
|
--openapi-code-tab-shadow-color-php: rgba(97, 129, 182, 0.25);
|
|
76
76
|
--openapi-code-tab-shadow-color-java: rgba(3, 116, 189, 0.25);
|
|
77
77
|
--opeanpi-code-tab-shadow-color-powershell: rgba(3, 116, 189, 0.25);
|
|
78
|
-
--openapi-
|
|
79
|
-
--openapi-
|
|
80
|
-
--openapi-
|
|
81
|
-
--openapi-
|
|
82
|
-
--openapi-
|
|
78
|
+
--openapi-explorer-font-size-input: 12px;
|
|
79
|
+
--openapi-explorer-font-size-code: 12px;
|
|
80
|
+
--openapi-explorer-padding-input: 0.5rem;
|
|
81
|
+
--openapi-explorer-border-color: var(--ifm-toc-border-color);
|
|
82
|
+
--openapi-explorer-caret-bg: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16px" height="16px" viewBox="0 0 24 24"><path d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"></path></svg>');
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
[data-theme="dark"] {
|
|
86
86
|
--openapi-card-background-color: var(--ifm-color-gray-900) !important;
|
|
87
|
-
--openapi-
|
|
87
|
+
--openapi-explorer-caret-bg: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16px" height="16px" viewBox="0 0 24 24" fill="white"><path d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"></path></svg>') !important;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
.docs-wrapper {
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
|
|
115
115
|
/* Demo panel details */
|
|
116
116
|
|
|
117
|
-
// .theme-api-markdown .openapi-
|
|
117
|
+
// .theme-api-markdown .openapi-explorer__details > div > div > pre {
|
|
118
118
|
// border-top-left-radius: 0;
|
|
119
119
|
// border-top-right-radius: 0;
|
|
120
120
|
// }
|
package/src/theme-openapi.d.ts
CHANGED
|
@@ -63,176 +63,176 @@ declare module "@theme/SchemaTabs" {
|
|
|
63
63
|
export default function SchemaTabs(props: any): JSX.Element;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
declare module "@theme/
|
|
66
|
+
declare module "@theme/ApiExplorer/Accept" {
|
|
67
67
|
export default function Accept(): JSX.Element;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
declare module "@theme/
|
|
70
|
+
declare module "@theme/ApiExplorer/Accept/slice" {
|
|
71
71
|
export default accept as Reducer<State, AnyAction>;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
declare module "@theme/
|
|
74
|
+
declare module "@theme/ApiExplorer/Authorization" {
|
|
75
75
|
export default function Authorization(): JSX.Element;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
declare module "@theme/
|
|
78
|
+
declare module "@theme/ApiExplorer/Authorization/slice" {
|
|
79
79
|
export { AuthState, Scheme, setAuthData, setSelectedAuth, createAuth };
|
|
80
80
|
export default auth as Reducer<State, AnyAction>;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
declare module "@theme/
|
|
84
|
-
import { Props as BodyProps } from "@theme/
|
|
83
|
+
declare module "@theme/ApiExplorer/Body" {
|
|
84
|
+
import { Props as BodyProps } from "@theme/ApiExplorer/Body";
|
|
85
85
|
|
|
86
86
|
export default function Body(props: BodyProps): JSX.Element;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
declare module "@theme/
|
|
89
|
+
declare module "@theme/ApiExplorer/Body/json2xml" {
|
|
90
90
|
export default function json2xml(any, any?): any;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
declare module "@theme/
|
|
94
|
-
import { Body, Content, State } from "@theme/
|
|
93
|
+
declare module "@theme/ApiExplorer/Body/slice" {
|
|
94
|
+
import { Body, Content, State } from "@theme/ApiExplorer/Body/slice";
|
|
95
95
|
|
|
96
96
|
export { Body, Content, State };
|
|
97
97
|
export function setStringRawBody(any, any?): any;
|
|
98
98
|
export default body as Reducer<State, AnyAction>;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
declare module "@theme/
|
|
101
|
+
declare module "@theme/ApiExplorer/buildPostmanRequest" {
|
|
102
102
|
export default function buildPostmanRequest(any, any?): any;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
declare module "@theme/
|
|
106
|
-
import { Props as CodeTabsProps } from "@theme/
|
|
105
|
+
declare module "@theme/ApiExplorer/CodeTabs" {
|
|
106
|
+
import { Props as CodeTabsProps } from "@theme/ApiExplorer/CodeTabs";
|
|
107
107
|
|
|
108
108
|
export default function CodeTabs(props: CodeTabsProps): JSX.Element;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
declare module "@theme/
|
|
111
|
+
declare module "@theme/ApiExplorer/ContentType" {
|
|
112
112
|
export default function ContentType(): JSX.Element;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
declare module "@theme/
|
|
115
|
+
declare module "@theme/ApiExplorer/ContentType/slice" {
|
|
116
116
|
export { setContentType };
|
|
117
117
|
export default contentType as Reducer<State, AnyAction>;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
declare module "@theme/
|
|
121
|
-
import { Props as CurlProps } from "@theme/
|
|
120
|
+
declare module "@theme/ApiExplorer/CodeSnippets" {
|
|
121
|
+
import { Props as CurlProps } from "@theme/ApiExplorer/CodeSnippets";
|
|
122
122
|
|
|
123
|
-
export { languageSet, Language } from "@theme/
|
|
123
|
+
export { languageSet, Language } from "@theme/ApiExplorer/CodeSnippets";
|
|
124
124
|
export default function Curl(props: CurlProps): JSX.Element;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
declare module "@theme/
|
|
128
|
-
import { Props as FloatingButtonProps } from "@theme/
|
|
127
|
+
declare module "@theme/ApiExplorer/FloatingButton" {
|
|
128
|
+
import { Props as FloatingButtonProps } from "@theme/ApiExplorer/FloatingButton";
|
|
129
129
|
|
|
130
130
|
export default function FloatingButton(
|
|
131
131
|
props: FloatingButtonProps
|
|
132
132
|
): JSX.Element;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
declare module "@theme/
|
|
136
|
-
import { Props as FormItemProps } from "@theme/
|
|
135
|
+
declare module "@theme/ApiExplorer/FormItem" {
|
|
136
|
+
import { Props as FormItemProps } from "@theme/ApiExplorer/FormItem";
|
|
137
137
|
|
|
138
138
|
export default function FormItem(props: FormItemProps): JSX.Element;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
declare module "@theme/
|
|
142
|
-
import { Props as FormSelectProps } from "@theme/
|
|
141
|
+
declare module "@theme/ApiExplorer/FormSelect" {
|
|
142
|
+
import { Props as FormSelectProps } from "@theme/ApiExplorer/FormSelect";
|
|
143
143
|
|
|
144
144
|
export default function FormSelect(props: FormSelectProps): JSX.Element;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
declare module "@theme/
|
|
148
|
-
import { Props as FormTextInputProps } from "@theme/
|
|
147
|
+
declare module "@theme/ApiExplorer/FormTextInput" {
|
|
148
|
+
import { Props as FormTextInputProps } from "@theme/ApiExplorer/FormTextInput";
|
|
149
149
|
|
|
150
150
|
export default function FormTextInput(props: FormTextInputProps): JSX.Element;
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
-
declare module "@theme/
|
|
154
|
-
import { Props as FormFileUploadProps } from "@theme/
|
|
153
|
+
declare module "@theme/ApiExplorer/FormFileUpload" {
|
|
154
|
+
import { Props as FormFileUploadProps } from "@theme/ApiExplorer/FormFileUpload";
|
|
155
155
|
|
|
156
156
|
export default function FormFileUpload(
|
|
157
157
|
props: FormFileUploadProps
|
|
158
158
|
): JSX.Element;
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
declare module "@theme/
|
|
162
|
-
import { Props as FormMultiSelectProps } from "@theme/
|
|
161
|
+
declare module "@theme/ApiExplorer/FormMultiSelect" {
|
|
162
|
+
import { Props as FormMultiSelectProps } from "@theme/ApiExplorer/FormMultiSelect";
|
|
163
163
|
|
|
164
164
|
export default function FormMultiSelect(
|
|
165
165
|
props: FormMultiSelectProps
|
|
166
166
|
): JSX.Element;
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
declare module "@theme/
|
|
170
|
-
import { Props as ExecuteProps } from "@theme/
|
|
169
|
+
declare module "@theme/ApiExplorer/Execute" {
|
|
170
|
+
import { Props as ExecuteProps } from "@theme/ApiExplorer/Execute";
|
|
171
171
|
|
|
172
172
|
export default function Execute(props: ExecuteProps): JSX.Element;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
declare module "@theme/
|
|
175
|
+
declare module "@theme/ApiExplorer/LiveEditor" {
|
|
176
176
|
export default function LiveEditor(props: any): JSX.Element;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
declare module "@theme/
|
|
180
|
-
import { Props as MethodEndpointProps } from "@theme/
|
|
179
|
+
declare module "@theme/ApiExplorer/MethodEndpoint" {
|
|
180
|
+
import { Props as MethodEndpointProps } from "@theme/ApiExplorer/MethodEndpoint";
|
|
181
181
|
|
|
182
182
|
export default function MethodEndpoint(
|
|
183
183
|
props: MethodEndpointProps
|
|
184
184
|
): JSX.Element;
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
declare module "@theme/
|
|
188
|
-
import { ParamProps } from "@theme/
|
|
187
|
+
declare module "@theme/ApiExplorer/ParamOptions" {
|
|
188
|
+
import { ParamProps } from "@theme/ApiExplorer/ParamOptions";
|
|
189
189
|
|
|
190
190
|
export default function ParamOptions(props: ParamProps): JSX.Element;
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
declare module "@theme/
|
|
194
|
-
import { ParamProps } from "@theme/
|
|
193
|
+
declare module "@theme/ApiExplorer/ParamOptions/ParamFormItems/ParamMultiSelectFormItem" {
|
|
194
|
+
import { ParamProps } from "@theme/ApiExplorer/ParamOptions";
|
|
195
195
|
|
|
196
196
|
export default function ParamMultiSelectFormItem(
|
|
197
197
|
props: ParamProps
|
|
198
198
|
): JSX.Element;
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
declare module "@theme/
|
|
202
|
-
import { ParamProps } from "@theme/
|
|
201
|
+
declare module "@theme/ApiExplorer/ParamOptions/ParamFormItems/ParamArrayFormItem" {
|
|
202
|
+
import { ParamProps } from "@theme/ApiExplorer/ParamOptions";
|
|
203
203
|
|
|
204
204
|
export default function ParamArrayFormItem(props: ParamProps): JSX.Element;
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
-
declare module "@theme/
|
|
208
|
-
import { ParamProps } from "@theme/
|
|
207
|
+
declare module "@theme/ApiExplorer/ParamOptions/ParamFormItems/ParamSelectFormItem" {
|
|
208
|
+
import { ParamProps } from "@theme/ApiExplorer/ParamOptions";
|
|
209
209
|
|
|
210
210
|
export default function ParamSelectFormItem(props: ParamProps): JSX.Element;
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
declare module "@theme/
|
|
214
|
-
import { ParamProps } from "@theme/
|
|
213
|
+
declare module "@theme/ApiExplorer/ParamOptions/ParamFormItems/ParamBooleanFormItem" {
|
|
214
|
+
import { ParamProps } from "@theme/ApiExplorer/ParamOptions";
|
|
215
215
|
|
|
216
216
|
export default function ParamBooleanFormItem(props: ParamProps): JSX.Element;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
declare module "@theme/
|
|
220
|
-
import { ParamProps } from "@theme/
|
|
219
|
+
declare module "@theme/ApiExplorer/ParamOptions/ParamFormItems/ParamTextFormItem" {
|
|
220
|
+
import { ParamProps } from "@theme/ApiExplorer/ParamOptions";
|
|
221
221
|
|
|
222
222
|
export default function ParamTextFormItem(props: ParamProps): JSX.Element;
|
|
223
223
|
}
|
|
224
224
|
|
|
225
|
-
declare module "@theme/
|
|
225
|
+
declare module "@theme/ApiExplorer/ParamOptions/slice" {
|
|
226
226
|
export type { Param };
|
|
227
227
|
export const setParam;
|
|
228
228
|
export default params as Reducer<State, AnyAction>;
|
|
229
229
|
}
|
|
230
230
|
|
|
231
|
-
declare module "@theme/
|
|
231
|
+
declare module "@theme/ApiExplorer/persistanceMiddleware" {
|
|
232
232
|
export { createPersistanceMiddleware };
|
|
233
233
|
}
|
|
234
234
|
|
|
235
|
-
declare module "@theme/
|
|
235
|
+
declare module "@theme/ApiExplorer/Request" {
|
|
236
236
|
import { ApiItem } from "docusaurus-plugin-openapi-docs/src/types";
|
|
237
237
|
|
|
238
238
|
export interface RequestProps {
|
|
@@ -241,7 +241,7 @@ declare module "@theme/ApiDemoPanel/Request" {
|
|
|
241
241
|
export default function Request(props: RequestProps): JSX.Element;
|
|
242
242
|
}
|
|
243
243
|
|
|
244
|
-
declare module "@theme/
|
|
244
|
+
declare module "@theme/ApiExplorer/Response" {
|
|
245
245
|
import { ApiItem } from "docusaurus-plugin-openapi-docs/src/types";
|
|
246
246
|
|
|
247
247
|
export interface ResponseProps {
|
|
@@ -251,27 +251,27 @@ declare module "@theme/ApiDemoPanel/Response" {
|
|
|
251
251
|
export default function Response(props: ResponseProps): JSX.Element;
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
-
declare module "@theme/
|
|
254
|
+
declare module "@theme/ApiExplorer/Response/slice" {
|
|
255
255
|
export { setResponse, setCode, setHeaders, clearCode, clearHeaders };
|
|
256
256
|
export default response as Reducer<State, AnyAction>;
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
-
declare module "@theme/
|
|
259
|
+
declare module "@theme/ApiExplorer/SecuritySchemes" {
|
|
260
260
|
export default function SecuritySchemes(props: any): JSX.Element;
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
declare module "@theme/
|
|
263
|
+
declare module "@theme/ApiExplorer/Server" {
|
|
264
264
|
export default function Server(): JSX.Element;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
declare module "@theme/
|
|
267
|
+
declare module "@theme/ApiExplorer/ApiCodeBlock" {
|
|
268
268
|
export default function ApiCodeBlock(): JSX.Element;
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
-
declare module "@theme/
|
|
271
|
+
declare module "@theme/ApiExplorer/Server/slice" {
|
|
272
272
|
export default server as Reducer<State, AnyAction>;
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
-
declare module "@theme/
|
|
275
|
+
declare module "@theme/ApiExplorer/storage-utils" {
|
|
276
276
|
export { createStorage, hashArray };
|
|
277
277
|
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
.openapi-demo__form-item {
|
|
2
|
-
padding: var(--openapi-demo-padding-input);
|
|
3
|
-
font-size: var(--openapi-demo-font-size-input);
|
|
4
|
-
|
|
5
|
-
&:first-child {
|
|
6
|
-
margin-top: 0;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.required {
|
|
10
|
-
color: var(--openapi-required);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.openapi-demo__form-item-body-container {
|
|
15
|
-
padding: 0;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.openapi-demo__form-item-label {
|
|
19
|
-
font-family: var(--ifm-font-family-monospace);
|
|
20
|
-
font-weight: bold;
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
.openapi-demo__form-item {
|
|
2
|
-
padding: var(--openapi-demo-padding-input);
|
|
3
|
-
font-size: var(--openapi-demo-font-size-input);
|
|
4
|
-
|
|
5
|
-
&:first-child {
|
|
6
|
-
margin-top: 0;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.required {
|
|
10
|
-
color: var(--openapi-required);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.openapi-demo__form-item-body-container {
|
|
15
|
-
padding: 0;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.openapi-demo__form-item-label {
|
|
19
|
-
font-family: var(--ifm-font-family-monospace);
|
|
20
|
-
font-weight: bold;
|
|
21
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|