open-api-typescript-request-generator
v0.0.4
Published
Based on the OpenAPI specification, generate request and response type declarations and request method bodies for APIs
Readme
open-api-typescript-request-generator
Based on the OpenAPI specification, generate request and response type declarations and request method bodies for APIs
Installation
npm install open-api-typescript-request-generator
Initialize Configuration File
apits-gener init
Generate APIs
apits-gener gen
Generate Only Specified Name Configuration
apits-gener gen --name=test
# or
apits-gener gen -n testTips
- If you have code formatting requirements, you should ignore the generated code in /api in your configuration
