swagger-typescript-api-nextgen
Version:
Nextgen TypeScript/JavaScript API generator from Swagger schema
14 lines (11 loc) • 1.75 kB
Markdown
# swagger-typescript-api-nextgen
# templates
Templates:
- `api.eta` - Api class module (locations: [default](https://github.com/grandsilence/swagger-typescript-api-nextgen/tree/master/templates/default/api.eta), [modular](https://github.com/grandsilence/swagger-typescript-api-nextgen/tree/master/templates/modular/api.eta))
- `data-contracts.eta` - all types (data contracts) from swagger schema (locations: [base](https://github.com/grandsilence/swagger-typescript-api-nextgen/tree/master/templates/base/data-contracts.eta))
- `http-client.eta` - HttpClient class module (locations: [base](https://github.com/grandsilence/swagger-typescript-api-nextgen/tree/master/templates/base/http-client.eta))
- `procedure-call.eta` - route in Api class (locations: [default](https://github.com/grandsilence/swagger-typescript-api-nextgen/tree/master/templates/default/procedure-call.eta), [modular](https://github.com/grandsilence/swagger-typescript-api-nextgen/tree/master/templates/modular/procedure-call.eta))
- `route-docs.eta` - documentation for route in Api class (locations: [base](https://github.com/grandsilence/swagger-typescript-api-nextgen/tree/master/templates/base/route-docs.eta))
- `route-name.eta` - route name for route in Api class (locations: [base](https://github.com/grandsilence/swagger-typescript-api-nextgen/tree/master/templates/base/route-name.eta))
- `route-type.eta` - *(`--route-types` option)* (locations: [base](https://github.com/grandsilence/swagger-typescript-api-nextgen/tree/master/templates/base/route-type.eta))
- `route-types.eta` - *(`--route-types` option)* (locations: [base](https://github.com/grandsilence/swagger-typescript-api-nextgen/tree/master/templates/base/route-types.eta))