docusaurus-theme-openapi-docs 0.0.0-941 → 0.0.0-948

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.
@@ -218,8 +218,7 @@ function SchemaItem(props) {
218
218
  react_1.default.createElement(
219
219
  "span",
220
220
  { className: "openapi-schema__name" },
221
- " ",
222
- schemaName
221
+ Array.isArray(schemaName) ? schemaName.join(" | ") : schemaName
223
222
  ),
224
223
  (nullable || required || deprecated) &&
225
224
  react_1.default.createElement("span", {
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-941",
4
+ "version": "0.0.0-948",
5
5
  "license": "MIT",
6
6
  "keywords": [
7
7
  "openapi",
@@ -43,11 +43,11 @@
43
43
  "clsx": "^1.1.1",
44
44
  "copy-text-to-clipboard": "^3.1.0",
45
45
  "crypto-js": "^4.1.1",
46
- "docusaurus-plugin-openapi-docs": "0.0.0-941",
46
+ "docusaurus-plugin-openapi-docs": "0.0.0-948",
47
47
  "docusaurus-plugin-sass": "^0.2.3",
48
48
  "file-saver": "^2.0.5",
49
49
  "lodash": "^4.17.20",
50
- "node-polyfill-webpack-plugin": "^2.0.1",
50
+ "node-polyfill-webpack-plugin": "^3.0.0",
51
51
  "postman-code-generators": "^1.10.1",
52
52
  "postman-collection": "^4.4.0",
53
53
  "prism-react-renderer": "^2.3.0",
@@ -71,5 +71,5 @@
71
71
  "engines": {
72
72
  "node": ">=14"
73
73
  },
74
- "gitHead": "64f0f2dd6de011ae7970b6340fa63e41d79a9232"
74
+ "gitHead": "dde3ad07d467ec7894ce333792cc0a14753a0720"
75
75
  }
@@ -195,7 +195,9 @@ export default function SchemaItem(props: Props) {
195
195
  >
196
196
  {name}
197
197
  </strong>
198
- <span className="openapi-schema__name"> {schemaName}</span>
198
+ <span className="openapi-schema__name">
199
+ {Array.isArray(schemaName) ? schemaName.join(" | ") : schemaName}
200
+ </span>
199
201
  {(nullable || required || deprecated) && (
200
202
  <span className="openapi-schema__divider"></span>
201
203
  )}