docusaurus-theme-openapi-docs 0.0.0-1010 → 0.0.0-1011
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.
|
@@ -108,7 +108,7 @@ const AnyOneOf = ({ schema, schemaType }) => {
|
|
|
108
108
|
SchemaTabs_1.default,
|
|
109
109
|
null,
|
|
110
110
|
schema[type]?.map((anyOneSchema, index) => {
|
|
111
|
-
const label = anyOneSchema.title ||
|
|
111
|
+
const label = anyOneSchema.title || anyOneSchema.type;
|
|
112
112
|
return (
|
|
113
113
|
// @ts-ignore
|
|
114
114
|
react_1.default.createElement(
|
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-1011",
|
|
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-
|
|
39
|
+
"docusaurus-plugin-openapi-docs": "0.0.0-1011",
|
|
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": "
|
|
82
|
+
"gitHead": "d3796717999eb433d73b07ab143c8bc8214eb71d"
|
|
83
83
|
}
|
|
@@ -116,7 +116,7 @@ const AnyOneOf: React.FC<SchemaProps> = ({ schema, schemaType }) => {
|
|
|
116
116
|
</span>
|
|
117
117
|
<SchemaTabs>
|
|
118
118
|
{schema[type]?.map((anyOneSchema: any, index: number) => {
|
|
119
|
-
const label = anyOneSchema.title ||
|
|
119
|
+
const label = anyOneSchema.title || anyOneSchema.type;
|
|
120
120
|
return (
|
|
121
121
|
// @ts-ignore
|
|
122
122
|
<TabItem
|