@1szx1/vite-plugin-swagger2ts 1.2.2 → 1.2.3
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/dist/index.cjs +0 -2
- package/dist/index.mjs +0 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -194,8 +194,6 @@ function generatorResponseBodyType(schemas, docsName) {
|
|
|
194
194
|
} else {
|
|
195
195
|
result = generatorSchemaType("", schema, { docsName });
|
|
196
196
|
}
|
|
197
|
-
if (result.includes("any;"))
|
|
198
|
-
console.log(jsDoc({ description }, { key: "response", result }));
|
|
199
197
|
return jsDoc({ description }, { key: "response", result });
|
|
200
198
|
}
|
|
201
199
|
function jsDoc({ description, title, format, example, default: default1 }, { key, result, isRoot, isExport, isRequired }) {
|
package/dist/index.mjs
CHANGED
|
@@ -186,8 +186,6 @@ function generatorResponseBodyType(schemas, docsName) {
|
|
|
186
186
|
} else {
|
|
187
187
|
result = generatorSchemaType("", schema, { docsName });
|
|
188
188
|
}
|
|
189
|
-
if (result.includes("any;"))
|
|
190
|
-
console.log(jsDoc({ description }, { key: "response", result }));
|
|
191
189
|
return jsDoc({ description }, { key: "response", result });
|
|
192
190
|
}
|
|
193
191
|
function jsDoc({ description, title, format, example, default: default1 }, { key, result, isRoot, isExport, isRequired }) {
|
package/package.json
CHANGED