docusaurus-plugin-openapi-docs 0.0.0-1003 → 0.0.0-1004
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/markdown/schema.js +3 -0
- package/package.json +2 -2
- package/src/markdown/schema.ts +3 -0
package/lib/markdown/schema.js
CHANGED
|
@@ -11,6 +11,9 @@ exports.getQualifierMessage = getQualifierMessage;
|
|
|
11
11
|
function prettyName(schema, circular) {
|
|
12
12
|
var _a, _b, _c, _d, _e;
|
|
13
13
|
if (schema.format) {
|
|
14
|
+
if (schema.type) {
|
|
15
|
+
return `${schema.type}<${schema.format}>`;
|
|
16
|
+
}
|
|
14
17
|
return schema.format;
|
|
15
18
|
}
|
|
16
19
|
if (schema.allOf) {
|
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-1004",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"openapi",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"engines": {
|
|
66
66
|
"node": ">=14"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "6c6f8eca76a5407f7896a4141ac9d104f75a5970"
|
|
69
69
|
}
|
package/src/markdown/schema.ts
CHANGED