New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@xtdev/swaggerv2-to-ts

Package Overview
Dependencies
Maintainers
4
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xtdev/swaggerv2-to-ts - npm Package Compare versions

Comparing version 0.0.13 to 0.0.16

2

bin/index.js

@@ -16,3 +16,3 @@ #!/usr/bin/env node

.action(async (swaggerUrl, options) => {
console.log('🎉 开始构建');
console.log('🚀 开始构建');
if(!swaggerUrl.startsWith('https://')){

@@ -19,0 +19,0 @@ console.error(chalk.red.dim('请填写正确的swagger-url地址'));

@@ -59,2 +59,7 @@ #!/usr/bin/env node

});
defaultConfig.paths.forEach((path) => {
if (!filterPaths[path]) {
console.error(`❌ 未找到接口【${path}】`);
}
});
}

@@ -120,6 +125,6 @@ else {

};
start({
url: 'https://gateway-dev1.tanjiu.cn/taozhu/v2/api-docs',
outFile: './temp/service.ts',
paths: ['/trade/instance/banquet/queryBanquetDetail']
});
// start({
// url: 'https://gateway.test.tanjiu.cn/rebate/v2/api-docs',
// outFile: './temp/service.ts',
// paths: ['/income/bill/statistics/queryBanquetStatistics/detail']
// });
{
"name": "@xtdev/swaggerv2-to-ts",
"version": "0.0.13",
"version": "0.0.16",
"description": "将swagger V2.0 转换成TS接口服务",

@@ -5,0 +5,0 @@ "type": "module",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc