Installation
npm install swagger-typescript-generate --save-dev --registry=http://10.216.78.100:4873
How to use
swagger-typescript-generate -S ${finalJsonPath} -D ${destinationPath} -T ${templateName}
Template name may be one of:
- typescript-angular
- typescript-node
- typescript-react-native
Original project
The typescript template files in this folder are modified versions of the ones found in https://github.com/swagger-api/swagger-codegen/tree/master/modules/swagger-codegen/src/main/resources