@sasonarik/nextapi-swagger
Version:
CLI tool to generate Next.js API routes and types from Swagger/OpenAPI specs
52 lines (51 loc) • 1.16 kB
JSON
{
"name": "@sasonarik/nextapi-swagger",
"version": "1.0.5",
"description": "CLI tool to generate Next.js API routes and types from Swagger/OpenAPI specs",
"keywords": [
"nextjs",
"next.js",
"swagger",
"openapi",
"cli",
"api",
"codegen",
"typescript",
"api-generator",
"swagger-codegen",
"openapi-generator",
"nextjs-api",
"rest",
"rest-api",
"nextjs-cli",
"swagger-to-typescript",
"nextjs-codegen"
],
"bin": {
"nextapi-swagger": "dist/index.js"
},
"scripts": {
"build": "tsc",
"start": "ts-node src/index.ts",
"prepare": "npm run build"
},
"author": "Sason",
"license": "MIT",
"dependencies": {
"axios": "^1.11.0",
"boxen": "^5.1.2",
"chalk": "^4.1.2",
"fs-extra": "^10.1.0",
"inquirer": "^8.2.5",
"openapi-types": "^12.1.3",
"swagger2openapi": "^7.0.8"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/inquirer": "^9.0.8",
"@types/node": "^20.9.0",
"javascript-obfuscator": "^4.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.3.3"
}
}