{"_id":"@howlove/swagger-tsgen","_rev":"56-f91a7cfa11bd31f85b87014981a6a246","name":"@howlove/swagger-tsgen","dist-tags":{"latest":"0.0.35"},"versions":{"0.0.23":{"name":"@howlove/swagger-tsgen","version":"0.0.23","keywords":["swagger","typescript","codegen","api"],"author":"","license":"ISC","_id":"@howlove/swagger-tsgen@0.0.23","maintainers":[{"name":"liukai","email":"604376264@qq.com"}],"bin":{"swagger-tsgen":"bin/swagger-tsgen.js"},"dist":{"shasum":"2bfbc6275770f41a041c49ac0aa27752724b31f2","tarball":"https://registry.npmjs.org/@howlove/swagger-tsgen/-/swagger-tsgen-0.0.23.tgz","fileCount":4,"integrity":"sha512-wE9RHvBiG4itUnDv8j1vn+BN463tO4UCNPtW+DryNqr1QvXrNYmXkgKBG3722vVNhbiSsI3GHpMkI7IApXn7/Q==","signatures":[{"sig":"MEYCIQD3hTI7RDELRDCX1T4WLy7f2YuMc/wXx89gl9fqAuiCsQIhALmqRKV67s9wbRP/pCUPpJUv4Iu3FGfbbmez9sPv1IB3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16287},"main":"src/index.js","type":"module","target":"es2015","gitHead":"516fb39216c35d166cea1705b66f683d6a505a3a","scripts":{"start":"node bin/cli.js"},"_npmUser":{"name":"liukai","email":"604376264@qq.com"},"repository":{"url":"git@gitee.com:howlove/swagger-tsgen.git","type":"git"},"_npmVersion":"10.9.0","description":"根据swagger v3生成对应的ts文件","directories":{},"_nodeVersion":"22.12.0","dependencies":{"pinyin-pro":"^3.27.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"fs":"^0.0.1","path":"^0.12.7","https":"^1.0.0","prettier":"^3.7.4"},"_npmOperationalInternal":{"tmp":"tmp/swagger-tsgen_0.0.23_1765849073998_0.23328863768007202","host":"s3://npm-registry-packages-npm-production"}},"0.0.24":{"name":"@howlove/swagger-tsgen","version":"0.0.24","keywords":["swagger","typescript","codegen","api"],"author":"","license":"ISC","_id":"@howlove/swagger-tsgen@0.0.24","maintainers":[{"name":"liukai","email":"604376264@qq.com"}],"bin":{"swagger-tsgen":"bin/swagger-tsgen.js"},"dist":{"shasum":"2ab256dbefe2da729e17528c69b43100bad1d427","tarball":"https://registry.npmjs.org/@howlove/swagger-tsgen/-/swagger-tsgen-0.0.24.tgz","fileCount":4,"integrity":"sha512-0M+9/HPtzdo2sPyoBYl4zA8ZF2Xz2xQTCT2XQKd7CmJH9meTCsQ9nhUNDbloUhpypI0UJ7SsyVB2HJSBTmJv/Q==","signatures":[{"sig":"MEYCIQCdLKtkLv4nqhpQp2aruY29r5Seja8+6wUgbil1617dfAIhALDJnX3MOahIcoYV9lsshhADFMvKq4ePN6cfsiPBr5ji","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16789},"main":"src/index.js","type":"module","target":"es2015","gitHead":"7b5ad3372f4791329d896edbbb8eb97b0f9670f4","scripts":{"start":"node bin/cli.js"},"_npmUser":{"name":"liukai","email":"604376264@qq.com"},"repository":{"url":"git@gitee.com:howlove/swagger-tsgen.git","type":"git"},"_npmVersion":"10.9.0","description":"根据swagger v3生成对应的ts文件","directories":{},"_nodeVersion":"22.12.0","dependencies":{"pinyin-pro":"^3.27.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"fs":"^0.0.1","path":"^0.12.7","https":"^1.0.0","prettier":"^3.7.4"},"_npmOperationalInternal":{"tmp":"tmp/swagger-tsgen_0.0.24_1765884184843_0.4048889505161797","host":"s3://npm-registry-packages-npm-production"}},"0.0.25":{"name":"@howlove/swagger-tsgen","version":"0.0.25","keywords":["swagger","typescript","codegen","api"],"author":"","license":"ISC","_id":"@howlove/swagger-tsgen@0.0.25","maintainers":[{"name":"liukai","email":"604376264@qq.com"}],"bin":{"swagger-tsgen":"bin/swagger-tsgen.js"},"dist":{"shasum":"14ecd53659ca2aa044e129848581eacad352fd7b","tarball":"https://registry.npmjs.org/@howlove/swagger-tsgen/-/swagger-tsgen-0.0.25.tgz","fileCount":4,"integrity":"sha512-Gw1tMDPVgj4KpVyyj4Qx8zXjLsQfe/E9P/XksVMt1PjGhAFv+bVboLyH/Ac8EvfW5tktt62af4cTyuk2/VmWPw==","signatures":[{"sig":"MEUCIQDiiLIQIzMxp2U1MjV07ErvcWlpBTEa3qtPUWryaZfrNQIgO+baPF0SKXZC2f6yxYSv5iHuZ0/z8N9QglRjNyGuZU4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16865},"main":"src/index.js","type":"module","target":"es2015","gitHead":"a2678ed0135e3246d3da5c5ed170bc1c35d51e9c","scripts":{"start":"node bin/cli.js"},"_npmUser":{"name":"liukai","email":"604376264@qq.com"},"repository":{"url":"git@gitee.com:howlove/swagger-tsgen.git","type":"git"},"_npmVersion":"10.9.0","description":"根据swagger v3生成对应的ts文件","directories":{},"_nodeVersion":"22.12.0","dependencies":{"pinyin-pro":"^3.27.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"fs":"^0.0.1","path":"^0.12.7","https":"^1.0.0","prettier":"^3.7.4"},"_npmOperationalInternal":{"tmp":"tmp/swagger-tsgen_0.0.25_1765886798830_0.8176592299532357","host":"s3://npm-registry-packages-npm-production"}},"0.0.26":{"name":"@howlove/swagger-tsgen","version":"0.0.26","keywords":["swagger","typescript","codegen","api"],"author":"","license":"ISC","_id":"@howlove/swagger-tsgen@0.0.26","maintainers":[{"name":"liukai","email":"604376264@qq.com"}],"bin":{"swagger-tsgen":"bin/swagger-tsgen.js"},"dist":{"shasum":"a4690d629992f2c602942b2b9f14a36536ce7ddb","tarball":"https://registry.npmjs.org/@howlove/swagger-tsgen/-/swagger-tsgen-0.0.26.tgz","fileCount":4,"integrity":"sha512-KMIm1/xPFOTlfnHKR3GJBhvCf2zkF1Fk/9Q6clTkLsuMB5ucwUC0LFvOy/weKsayIr/mAn09yUakEL6WLjnaxw==","signatures":[{"sig":"MEUCIQDEmeSMPVUtR4zrEM00aLDbCiQGMCDv50IEuM/iZxf49QIgKfOP+R0y5xIiRfUaAHYH7okLQJlvJwVtCYSnhu1qWE4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16919},"main":"src/index.js","type":"module","target":"es2015","gitHead":"21210a9436f0a3120a5b695331f573c5eaa7e109","scripts":{"start":"node bin/cli.js"},"_npmUser":{"name":"liukai","email":"604376264@qq.com"},"repository":{"url":"git@gitee.com:howlove/swagger-tsgen.git","type":"git"},"_npmVersion":"10.9.0","description":"根据swagger v3生成对应的ts文件","directories":{},"_nodeVersion":"22.12.0","dependencies":{"pinyin-pro":"^3.27.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"fs":"^0.0.1","path":"^0.12.7","https":"^1.0.0","prettier":"^3.7.4"},"_npmOperationalInternal":{"tmp":"tmp/swagger-tsgen_0.0.26_1765937182546_0.5269348104442881","host":"s3://npm-registry-packages-npm-production"}},"0.0.27":{"name":"@howlove/swagger-tsgen","version":"0.0.27","keywords":["swagger","typescript","codegen","api"],"author":"","license":"ISC","_id":"@howlove/swagger-tsgen@0.0.27","maintainers":[{"name":"liukai","email":"604376264@qq.com"}],"bin":{"swagger-tsgen":"bin/swagger-tsgen.js"},"dist":{"shasum":"02d2049751419d3dacddffd25380fed5f6185b3e","tarball":"https://registry.npmjs.org/@howlove/swagger-tsgen/-/swagger-tsgen-0.0.27.tgz","fileCount":4,"integrity":"sha512-IYZQc1BPQfkgQcigOnu6sdzORMnOyWmTY7wgiwoMwzeTeARYIj154hwzEs0INHJhZuHVJlo4rw//Md0hhX5qCg==","signatures":[{"sig":"MEUCIAkBoqHgntl5VtbOH4oinCgIbpFogRc0Zn7oTEDQlDIDAiEA+otmO23uoEkbnlLEnHNdSWUz/y9H78GD+13JCydri48=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17034},"main":"src/index.js","type":"module","target":"es2015","gitHead":"bd43d86cd2b64ec345387bbe5a1c526edb09ee5b","scripts":{"start":"node bin/cli.js"},"_npmUser":{"name":"liukai","email":"604376264@qq.com"},"repository":{"url":"git@gitee.com:howlove/swagger-tsgen.git","type":"git"},"_npmVersion":"10.9.0","description":"根据swagger v3生成对应的ts文件","directories":{},"_nodeVersion":"22.12.0","dependencies":{"pinyin-pro":"^3.27.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"fs":"^0.0.1","path":"^0.12.7","https":"^1.0.0","prettier":"^3.7.4"},"_npmOperationalInternal":{"tmp":"tmp/swagger-tsgen_0.0.27_1765937535109_0.637116509518193","host":"s3://npm-registry-packages-npm-production"}},"0.0.28":{"name":"@howlove/swagger-tsgen","version":"0.0.28","keywords":["swagger","typescript","codegen","api"],"author":"","license":"ISC","_id":"@howlove/swagger-tsgen@0.0.28","maintainers":[{"name":"liukai","email":"604376264@qq.com"}],"bin":{"swagger-tsgen":"bin/swagger-tsgen.js"},"dist":{"shasum":"e7b031a7949229ae894449722fbbab1200438e7c","tarball":"https://registry.npmjs.org/@howlove/swagger-tsgen/-/swagger-tsgen-0.0.28.tgz","fileCount":4,"integrity":"sha512-lUCyo4H1+RQA15UWAI+P4u6lEU+Vr/X1A2GRA2+kkWY8dcBDfZKKL03lAUxxyha0/uxV95lhRykM+4S98UVu/A==","signatures":[{"sig":"MEUCIQCcQgPXPRvyrTfbawCJP5jsVDSDCc15Ojh163gc5AZUzAIgLzRooRA+qK7PvH5YL1/XgMRTWH34rIfFZtEaau1ePAs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17256},"main":"src/index.js","type":"module","target":"es2015","gitHead":"2d0afbce0304b356c0c534822e9d0e4ae0bc3fb3","scripts":{"start":"node bin/cli.js"},"_npmUser":{"name":"liukai","email":"604376264@qq.com"},"repository":{"url":"git@gitee.com:howlove/swagger-tsgen.git","type":"git"},"_npmVersion":"10.9.0","description":"根据swagger v3生成对应的ts文件","directories":{},"_nodeVersion":"22.12.0","dependencies":{"pinyin-pro":"^3.27.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"fs":"^0.0.1","path":"^0.12.7","https":"^1.0.0","prettier":"^3.7.4"},"_npmOperationalInternal":{"tmp":"tmp/swagger-tsgen_0.0.28_1765954194340_0.6987906320100281","host":"s3://npm-registry-packages-npm-production"}},"0.0.29":{"name":"@howlove/swagger-tsgen","version":"0.0.29","keywords":["swagger","typescript","codegen","api"],"author":"","license":"ISC","_id":"@howlove/swagger-tsgen@0.0.29","maintainers":[{"name":"liukai","email":"604376264@qq.com"}],"bin":{"swagger-tsgen":"bin/swagger-tsgen.js"},"dist":{"shasum":"3743eada8f6bb11ffbab74b063784ed666ce3aa3","tarball":"https://registry.npmjs.org/@howlove/swagger-tsgen/-/swagger-tsgen-0.0.29.tgz","fileCount":4,"integrity":"sha512-3gQ9NvVFfhXhpsqr00cbUiI9LSktOR8LgKYQ2NEV017j1tj//ZazZhlyJ67F4OpPlC3/aQAunwta7gA30HX/lw==","signatures":[{"sig":"MEUCIC5e3G6Rfx4QWqor1P9vCTltMHAZFKn4mf87I5paPTvvAiEAn93MQ9NMz6YbB/5zSx/3cbl4kZRwj3h0fSMJ5nLI4wg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17302},"main":"src/index.js","type":"module","target":"es2015","gitHead":"6efa3151682d0d4f307fd4d047061a40cd16b34e","scripts":{"start":"node bin/cli.js"},"_npmUser":{"name":"liukai","email":"604376264@qq.com"},"repository":{"url":"git@gitee.com:howlove/swagger-tsgen.git","type":"git"},"_npmVersion":"10.9.0","description":"根据swagger v3生成对应的ts文件","directories":{},"_nodeVersion":"22.12.0","dependencies":{"pinyin-pro":"^3.27.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"fs":"^0.0.1","path":"^0.12.7","https":"^1.0.0","prettier":"^3.7.4"},"_npmOperationalInternal":{"tmp":"tmp/swagger-tsgen_0.0.29_1765954359168_0.3564287402208124","host":"s3://npm-registry-packages-npm-production"}},"0.0.30":{"name":"@howlove/swagger-tsgen","version":"0.0.30","keywords":["swagger","typescript","codegen","api"],"author":"","license":"ISC","_id":"@howlove/swagger-tsgen@0.0.30","maintainers":[{"name":"liukai","email":"604376264@qq.com"}],"bin":{"swagger-tsgen":"bin/swagger-tsgen.js"},"dist":{"shasum":"7bc8fb7eb75ae44c36ca295c8a6d31fabc6014f2","tarball":"https://registry.npmjs.org/@howlove/swagger-tsgen/-/swagger-tsgen-0.0.30.tgz","fileCount":4,"integrity":"sha512-ql0Ztv74rIh5kyJr9KfX5ZK1jnqundmzTb8lvUM2BBPWmbLXr0PMfw6sPABWS5arHz2KASiBkx48bYwm7JJ1FQ==","signatures":[{"sig":"MEUCIBx+SySdnef/7vp8U18WGd6HGP+RNP+Tsg4qHxztCnheAiEAjJix3Xxzyth+0Zd1VpOQ+ryMZlz4ghEjs/lJY/YxW2w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17256},"main":"src/index.js","type":"module","target":"es2015","gitHead":"a60877ae8413131146da2e935ace8b50666aeda5","scripts":{"start":"node bin/cli.js"},"_npmUser":{"name":"liukai","email":"604376264@qq.com"},"repository":{"url":"git@gitee.com:howlove/swagger-tsgen.git","type":"git"},"_npmVersion":"10.9.0","description":"根据swagger v3生成对应的ts文件","directories":{},"_nodeVersion":"22.12.0","dependencies":{"pinyin-pro":"^3.27.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"fs":"^0.0.1","path":"^0.12.7","https":"^1.0.0","prettier":"^3.7.4"},"_npmOperationalInternal":{"tmp":"tmp/swagger-tsgen_0.0.30_1765954551052_0.6049631302149734","host":"s3://npm-registry-packages-npm-production"}},"0.0.31":{"name":"@howlove/swagger-tsgen","version":"0.0.31","keywords":["swagger","typescript","codegen","api"],"author":"","license":"ISC","_id":"@howlove/swagger-tsgen@0.0.31","maintainers":[{"name":"liukai","email":"604376264@qq.com"}],"bin":{"swagger-tsgen":"bin/swagger-tsgen.js"},"dist":{"shasum":"8c623ad977f632b88cd30bfe4e32b06b40fef5fd","tarball":"https://registry.npmjs.org/@howlove/swagger-tsgen/-/swagger-tsgen-0.0.31.tgz","fileCount":4,"integrity":"sha512-j+H80DFTZcdiULHJTUjTW+y9hj+uPMvVgL+rx8wfVvG55aQehWASAc4IuJaGsqpZ5YioPWcIkzSEK8gf2Rfd3g==","signatures":[{"sig":"MEUCIQD8+T8hb/688jBn4GX8PG9R1pIUM9KLvwIUM2ll7ik/KgIgNfCDHaM44/PDUulPBLkY1gSQOD6NOID/D7UB0Uwem0s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17714},"main":"src/index.js","type":"module","target":"es2015","gitHead":"202f43d3b1af89d40426a95455af99bb701ed9e2","scripts":{"start":"node bin/cli.js"},"_npmUser":{"name":"liukai","email":"604376264@qq.com"},"repository":{"url":"git@gitee.com:howlove/swagger-tsgen.git","type":"git"},"_npmVersion":"10.9.0","description":"根据swagger v3生成对应的ts文件","directories":{},"_nodeVersion":"22.12.0","dependencies":{"pinyin-pro":"^3.27.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"fs":"^0.0.1","path":"^0.12.7","https":"^1.0.0","prettier":"^3.7.4"},"_npmOperationalInternal":{"tmp":"tmp/swagger-tsgen_0.0.31_1765954956138_0.1067767207432313","host":"s3://npm-registry-packages-npm-production"}},"0.0.32":{"name":"@howlove/swagger-tsgen","version":"0.0.32","keywords":["swagger","typescript","codegen","api"],"author":"","license":"ISC","_id":"@howlove/swagger-tsgen@0.0.32","maintainers":[{"name":"liukai","email":"604376264@qq.com"}],"bin":{"swagger-tsgen":"bin/swagger-tsgen.js"},"dist":{"shasum":"b8b7a570fa9a00dce3500df5277255b36f644cae","tarball":"https://registry.npmjs.org/@howlove/swagger-tsgen/-/swagger-tsgen-0.0.32.tgz","fileCount":4,"integrity":"sha512-NpEIERuqeRv8bLUqMqryOQCo8WGZJFhi3UAG46sxBlDu4X7h2zuoveU7PNKJC/As6ehRzXJvCMAHjqiOJBOWFA==","signatures":[{"sig":"MEYCIQDVhC4jQgvvu+SOWHspk0dh5d4NLe8IpxRdt++z67YllQIhAJWnLA4impXWqpiHOICgG5NlFK9fe2iXoOcihH4djVRN","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17713},"main":"src/index.js","type":"module","target":"es2015","gitHead":"2e727e74057dddbf7201ec7eba32ab7ffd005a7e","scripts":{"start":"node bin/cli.js"},"_npmUser":{"name":"liukai","email":"604376264@qq.com"},"repository":{"url":"git@gitee.com:howlove/swagger-tsgen.git","type":"git"},"_npmVersion":"10.9.0","description":"根据swagger v3生成对应的ts文件","directories":{},"_nodeVersion":"22.12.0","dependencies":{"pinyin-pro":"^3.27.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"fs":"^0.0.1","path":"^0.12.7","https":"^1.0.0","prettier":"^3.7.4"},"_npmOperationalInternal":{"tmp":"tmp/swagger-tsgen_0.0.32_1765955010009_0.9417464344441893","host":"s3://npm-registry-packages-npm-production"}},"0.0.33":{"name":"@howlove/swagger-tsgen","version":"0.0.33","keywords":["swagger","typescript","codegen","api"],"author":"","license":"ISC","_id":"@howlove/swagger-tsgen@0.0.33","maintainers":[{"name":"liukai","email":"604376264@qq.com"}],"bin":{"swagger-tsgen":"bin/swagger-tsgen.js"},"dist":{"shasum":"bdd95a158af6d0bb18a92e1f78fdc9149cebe8d7","tarball":"https://registry.npmjs.org/@howlove/swagger-tsgen/-/swagger-tsgen-0.0.33.tgz","fileCount":4,"integrity":"sha512-4JbMAYKJN1EKLiHscbCKU3FecUcTV2z9xwlzxM8tHUXEB0KDG2MYmbZxb5YF9/ocVMJteKP/LzpsWWplm3sh6w==","signatures":[{"sig":"MEUCIGeyiCURBNZjZWBbgINOGnoS9AbyP4xd8avTyMKDsV6jAiEAxmKYMUhLgk9XDvbks/SO49mbH70jOBzabpWJrce6Eys=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17724},"main":"src/index.js","type":"module","target":"es2015","gitHead":"250240b2c1b57d465c04308b45a58481bebb2096","scripts":{"start":"node bin/cli.js"},"_npmUser":{"name":"liukai","email":"604376264@qq.com"},"repository":{"url":"git@gitee.com:howlove/swagger-tsgen.git","type":"git"},"_npmVersion":"10.9.0","description":"根据swagger v3生成对应的ts文件","directories":{},"_nodeVersion":"22.12.0","dependencies":{"pinyin-pro":"^3.27.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"fs":"^0.0.1","path":"^0.12.7","https":"^1.0.0","prettier":"^3.7.4"},"_npmOperationalInternal":{"tmp":"tmp/swagger-tsgen_0.0.33_1765955202582_0.7519386547411564","host":"s3://npm-registry-packages-npm-production"}},"0.0.34":{"name":"@howlove/swagger-tsgen","version":"0.0.34","keywords":["swagger","typescript","codegen","api"],"author":"","license":"ISC","_id":"@howlove/swagger-tsgen@0.0.34","maintainers":[{"name":"liukai","email":"604376264@qq.com"}],"bin":{"swagger-tsgen":"bin/swagger-tsgen.js"},"dist":{"shasum":"b208c8c0d626315c69fd6ebb50455aed47c74d74","tarball":"https://registry.npmjs.org/@howlove/swagger-tsgen/-/swagger-tsgen-0.0.34.tgz","fileCount":4,"integrity":"sha512-LrecPS0Q3eJ4HAvEZJ/KaWwGLveFB3Tyb8BD2NtO9748b87oTJSFCDkF1OFZUnz+/UkWyNSlf1TtYMd2rd7Fcg==","signatures":[{"sig":"MEQCIA6ruuRgzpEkjFVtzRSeKF5fsd5Ezv+dZlpx54Z0L9BXAiB/nHLN2ed9V6YOKF7J+azvRCWp8c+rOeqGjFFR48tbtg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17724},"main":"src/index.js","type":"module","target":"es2015","gitHead":"4104dfeb7b245f900d39eaa5619cad62e740913e","scripts":{"start":"node bin/cli.js"},"_npmUser":{"name":"liukai","email":"604376264@qq.com"},"repository":{"url":"git@gitee.com:howlove/swagger-tsgen.git","type":"git"},"_npmVersion":"10.9.0","description":"根据swagger v3生成对应的ts文件","directories":{},"_nodeVersion":"22.12.0","dependencies":{"pinyin-pro":"^3.27.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"fs":"^0.0.1","path":"^0.12.7","https":"^1.0.0","prettier":"^3.7.4"},"_npmOperationalInternal":{"tmp":"tmp/swagger-tsgen_0.0.34_1765955277027_0.986436617135434","host":"s3://npm-registry-packages-npm-production"}},"0.0.35":{"_id":"@howlove/swagger-tsgen@0.0.35","bin":{"swagger-tsgen":"bin/swagger-tsgen.js"},"dist":{"shasum":"3568fe1c2b7ecdd5afe89f90d2a2088b109bf4e7","tarball":"https://registry.npmjs.org/@howlove/swagger-tsgen/-/swagger-tsgen-0.0.35.tgz","fileCount":4,"integrity":"sha512-ae+ST3Byxchp05J05Mnl/nau9+bj6cdDY5vBux675QyxFutk1T9EguP0r372uU3t+h22HzXYJzy9ApwwDJ7Rxw==","signatures":[{"sig":"MEYCIQCseJHbV4hFz6OnFFlCqHp0AII/EK02U1DErAOSvD7jTgIhAIHkeUQKuQnhFuEXlJ3qTOUA4lDnqQOyKS5ySJAekx27","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDTwbb1xEjUjBjVF+EY9eQw16xriBC1cjNC79NMHEZ30wIgXKwNxTAHoIsxMofIWc11mcKALoM0j12dEVRQ4NEN4wo="}],"unpackedSize":17706},"main":"src/index.js","name":"@howlove/swagger-tsgen","type":"module","author":"","target":"es2015","gitHead":"87b73fbe71b104f85ba221f0f8d9694cbcdc57ea","license":"ISC","scripts":{"start":"node bin/cli.js"},"version":"0.0.35","_npmUser":{"name":"liukai","email":"604376264@qq.com"},"keywords":["swagger","typescript","codegen","api"],"repository":{"url":"git@gitee.com:howlove/swagger-tsgen.git","type":"git"},"_npmVersion":"11.6.2","description":"根据swagger v3生成对应的ts文件","directories":{},"maintainers":[{"name":"liukai","email":"604376264@qq.com"}],"_nodeVersion":"24.13.0","dependencies":{"pinyin-pro":"^3.27.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"fs":"^0.0.1","path":"^0.12.7","https":"^1.0.0","prettier":"^3.7.4"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/swagger-tsgen_0.0.35_1787881379163_0.5641022918964187"}}},"time":{"created":"2025-11-13T09:35:27.256Z","modified":"2026-08-28T01:42:59.451Z","0.0.1":"2025-11-13T09:35:27.552Z","0.0.2":"2025-11-13T09:43:56.192Z","0.0.3":"2025-11-18T09:25:36.733Z","0.0.4":"2025-11-18T09:28:37.682Z","0.0.5":"2025-12-15T01:36:01.167Z","0.0.6":"2025-12-15T01:40:33.339Z","0.0.8":"2025-12-15T01:43:18.990Z","0.0.9":"2025-12-15T02:21:53.253Z","0.0.10":"2025-12-15T03:22:21.906Z","0.0.11":"2025-12-15T03:29:59.154Z","0.0.12":"2025-12-15T05:57:22.963Z","0.0.13":"2025-12-15T06:00:10.187Z","0.0.14":"2025-12-15T06:05:15.944Z","0.0.15":"2025-12-15T06:31:50.064Z","0.0.16":"2025-12-15T06:33:33.884Z","0.0.17":"2025-12-15T07:39:25.657Z","0.0.18":"2025-12-15T11:25:10.079Z","0.0.19":"2025-12-15T11:40:52.239Z","0.0.20":"2025-12-15T11:43:29.039Z","0.0.21":"2025-12-15T12:09:39.591Z","0.0.22":"2025-12-16T01:31:38.339Z","0.0.23":"2025-12-16T01:37:54.144Z","0.0.24":"2025-12-16T11:23:04.983Z","0.0.25":"2025-12-16T12:06:38.968Z","0.0.26":"2025-12-17T02:06:22.675Z","0.0.27":"2025-12-17T02:12:15.263Z","0.0.28":"2025-12-17T06:49:54.485Z","0.0.29":"2025-12-17T06:52:39.314Z","0.0.30":"2025-12-17T06:55:51.196Z","0.0.31":"2025-12-17T07:02:37.552Z","0.0.32":"2025-12-17T07:03:30.152Z","0.0.33":"2025-12-17T07:06:42.724Z","0.0.34":"2025-12-17T07:07:57.165Z","0.0.35":"2026-08-28T01:42:59.243Z"},"license":"ISC","keywords":["swagger","typescript","codegen","api"],"repository":{"url":"git@gitee.com:howlove/swagger-tsgen.git","type":"git"},"description":"根据swagger v3生成对应的ts文件","maintainers":[{"name":"liukai","email":"604376264@qq.com"}],"readme":"## 需要注意的是\n在寻找urls的时候需要使用https开头，在swagger的页面中，打开network里，查看你的请求，查看url\n\n## 给接口请求增加自定义参数\n```typescript\ndeclare module './src/api/index.d.ts' {\n  interface SwaggerRequestConfig<R, TData> {\n    showLoading?: boolean;\n    retry?: number;\n    customToken?: string;\n  }\n}\n```\n\n## 创建index.js\n```javascript\nconst requestApi = async (...args) => {\n    console.log(args);\n}\nexport default new Proxy(\n  {},\n  {\n    get(_, key) {\n      return async (data, config) => {\n        const [method, ...urlArr] = key.split(\"_\");\n        return requestApi(`/${urlArr.join(\"/\").replaceAll('$', '_')}`, {\n          method,\n          data,\n          ...config,\n        });\n      };\n    },\n  },\n);\n\n```\n\n\n## 使用方法1\n在项目中创建一个swagger.config.json文件\n## swagger.config.json\n```json \n{\n  \"urls\": [\n    \"https://swagger.com/api-docs/user\",\n    [\"https://swagger.com/api-docs/index?group=分销中心\", \"distributor\", {\"includes\": [\"接口组1\", \"接口组2\"], \"excludes\": [\"接口组3\", \"接口组4\"]}],\n    [\"https://swagger.com/api-docs/distributor\", {\"name\": \"distributor\", \"includes\": [\"接口组1\", \"接口组2\"], \"excludes\": [\"接口组3\", \"接口组4\"]}]\n  ],\n  \"output\": \"./src/api\"\n}\n\n```\n在项目中执行命令\n```shell\n  npx @howlove/swagger-tsgen\n```\n\n\n## 使用方法2\n在项目中安装依赖\n```shell\nnpm i @howlove/swagger-tsgen -D\n```\n创建文件 swagger-format.js\n```javascript\nimport { generateSwaggerTypes } from \"@howlove/swagger-tsgen\";\nawait generateSwaggerTypes({\n    urls: [\n        \"https://swagger.com/api-docs/user\",\n        [\"https://swagger.com/api-docs/index?group=分销中心\", \"distributor\", {\"includes\": [\"接口组1\", \"接口组2\"], \"excludes\": [\"接口组3\", \"接口组4\"]}],\n        [\"https://swagger.com/api-docs/distributor\", {\"name\": \"distributor\", \"includes\": [\"接口组1\", \"接口组2\"], \"excludes\": [\"接口组3\", \"接口组4\"]}]\n    ],\n    output: \"./src/api\",\n});\n```\n执行命令\n```shell\n  node swagger-format.js\n```\n\n## 更新备注\n\n","readmeFilename":"readme.md"}