0.1.8 • Published 2 years ago

arthrex-openapigen v0.1.8

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
2 years ago

OpenApi Generator

This nodejs tool generates an API client from a API specification, with a focus on simplicity and code size for the generated code.

Usage

Usage:
	npm run generate -- <generator> <swaggerFile or URL> <output file>

Available generators:
	- angularjs
	- angular

Example:
	npm run generate -- angularjs https://val-productbrowser.azurewebsites.net/swagger/v1/swagger.json product-browser-client.ts

Development

Setup

npm i # alias for npm install
npm run watch # Run tsc --watch

Adding a generator

  1. Copy src/generators/angular.ts as a base
  2. Modify the code to your liking

Note: Please keep the generator code as simple as possible

TODO

  • Webpack plugin?
  • Generate multiple clients in one file
  • (Authentication?)
0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.2

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.5

2 years ago

0.1.1

3 years ago

0.1.0

3 years ago