@1szx1/vite-plugin-swagger2ts 1.1.2 → 1.1.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 CHANGED
@@ -122,7 +122,7 @@ param:{${paramString}}` : ""}${responseString}}` });
122
122
  return generatorSchemaType(getRefName(`#/components/schemas/${name}`, docsName), schema, { isRoot: true, isExport: true, docsName });
123
123
  }).join("") : "";
124
124
  const apiString = `${typeString}
125
- export interface ${getPathsName(docsName)}}{${pathsTypeString}}
125
+ export interface ${getPathsName(docsName)}{${pathsTypeString}}
126
126
  `;
127
127
  return apiString.replaceAll(/\n\n/g, "\n").replaceAll(/\n\n/g, "\n");
128
128
  }
package/dist/index.mjs CHANGED
@@ -114,7 +114,7 @@ param:{${paramString}}` : ""}${responseString}}` });
114
114
  return generatorSchemaType(getRefName(`#/components/schemas/${name}`, docsName), schema, { isRoot: true, isExport: true, docsName });
115
115
  }).join("") : "";
116
116
  const apiString = `${typeString}
117
- export interface ${getPathsName(docsName)}}{${pathsTypeString}}
117
+ export interface ${getPathsName(docsName)}{${pathsTypeString}}
118
118
  `;
119
119
  return apiString.replaceAll(/\n\n/g, "\n").replaceAll(/\n\n/g, "\n");
120
120
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@1szx1/vite-plugin-swagger2ts",
3
3
  "description": "forked from https://github.com/morelearn1990/vite-plugin-swagger2ts",
4
- "version": "1.1.2",
4
+ "version": "1.1.3",
5
5
  "license": "MIT",
6
6
  "author": "1SZX1 <2414126198@qq.com>",
7
7
  "repository": {