swagger-typescript-api-generator

0.18.0 • Public • Published

swagger-typescript-api-generator

Angular 2 API Typescript client generator from swagger json

Description

This package generates a angular2 typescript class from a swagger v2.0 specification file. The code is generated using mustache templates.

How to get it working

Installation

  1. npm install swagger-typescript-api-generator

Usage

From commandline run:

a2apigen -s [yopur/path/to/swagger.json]

or

a2apigen -u [url/of/your/swagger.json]

Example usage:

This command will generate API client described in swagger.json file to ./out folder

a2apigen -s .\tests\apis\swagger.json -o ./out

Note:

This project was inspired by:

swagger-js-codegen project

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.18.08latest

Version History

VersionDownloads (Last 7 Days)Published
0.18.08
0.17.01
0.16.11
0.16.00
0.15.71
0.15.61
0.15.59
0.15.40
0.15.31
0.15.21
0.15.11
0.15.01
0.14.01
0.13.11
0.12.01
0.11.91
0.11.84
0.11.72
0.11.61
0.11.50
0.11.41
0.11.31
0.11.21
0.11.11
0.10.30
0.10.21
0.10.12
0.9.71
0.9.61
0.9.51
0.9.41
0.9.31
0.9.21
0.9.11
0.8.21
0.8.11
0.7.11
0.6.11
0.5.10
0.4.11
0.3.21
0.3.11
0.3.01
0.2.52
0.2.41
0.2.31
0.2.21
0.2.11
0.0.211

Package Sidebar

Install

npm i swagger-typescript-api-generator

Weekly Downloads

65

Version

0.18.0

License

APACHE

Unpacked Size

55.6 kB

Total Files

13

Last publish

Collaborators

  • mdast