docusaurus-plugin-openapi-docs 0.0.0-490 → 0.0.0-492
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/README.md
CHANGED
|
@@ -122,6 +122,7 @@ The `docusaurus-plugin-openapi-docs` plugin can be configured with the following
|
|
|
122
122
|
| `specPath` | `string` | `null` | Designated URL or path to the source of an OpenAPI specification file or directory of multiple OpenAPI specification files. |
|
|
123
123
|
| `ouputDir` | `string` | `null` | Desired output path for generated MDX files. |
|
|
124
124
|
| `template` | `string` | `null` | _Optional:_ Customize MDX content with a desired template. |
|
|
125
|
+
| `downloadUrl` | `string` | `null` | _Optional:_ Designated URL for downloading OpenAPI specification. (requires `info` section/doc) |
|
|
125
126
|
| `sidebarOptions` | `object` | `null` | _Optional:_ Set of options for sidebar configuration. See below for a list of supported options. |
|
|
126
127
|
| `version` | `string` | `null` | _Optional:_ Version assigned to single or micro-spec API specified in `specPath`. |
|
|
127
128
|
| `label` | `string` | `null` | _Optional:_ Version label used when generating version selector dropdown menu. |
|
|
@@ -586,7 +586,8 @@ function createResponseSchema({ title, body, ...rest }) {
|
|
|
586
586
|
value: `${mimeType}`,
|
|
587
587
|
children: [
|
|
588
588
|
(0, utils_1.create)("SchemaTabs", {
|
|
589
|
-
|
|
589
|
+
// TODO: determine if we should persist this
|
|
590
|
+
// groupId: "schema-tabs",
|
|
590
591
|
children: [
|
|
591
592
|
firstBody &&
|
|
592
593
|
(0, utils_1.create)("TabItem", {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "docusaurus-plugin-openapi-docs",
|
|
3
3
|
"description": "OpenAPI plugin for Docusaurus.",
|
|
4
|
-
"version": "0.0.0-
|
|
4
|
+
"version": "0.0.0-492",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"openapi",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"engines": {
|
|
69
69
|
"node": ">=14"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "f236ce155c99bac28c948b2d3d4ff9e9455863a1"
|
|
72
72
|
}
|
|
@@ -746,7 +746,8 @@ export function createResponseSchema({ title, body, ...rest }: Props) {
|
|
|
746
746
|
value: `${mimeType}`,
|
|
747
747
|
children: [
|
|
748
748
|
create("SchemaTabs", {
|
|
749
|
-
|
|
749
|
+
// TODO: determine if we should persist this
|
|
750
|
+
// groupId: "schema-tabs",
|
|
750
751
|
children: [
|
|
751
752
|
firstBody &&
|
|
752
753
|
create("TabItem", {
|