@crazyfactory/tinka-generator-openapi
This repo takes a spec file and generate ts-http-client sdk
Last updated 2 years ago by cf-demon .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @crazyfactory/tinka-generator-openapi 
SYNC missed versions from official npm registry.

tinka-generator-openapi

Greenkeeper badge This repo takes a spec file and generate ts-http-client sdk

In crazy factory, we have

  1. api -> the actual API that connects to database
  2. api-client -> an sdk that provides meaningful classes and methods that call api using ts-http-client
  3. shop, erp, logistics, handbag -> use api-client
  4. ts-http-client -> technology for stack and talking, but no api specs
  5. tinka-generator-openapi -> takes a spec file and generates stuff

Here's the process

  1. each api has its own spec.json file
  2. once spec.json in api is updated, spec.json in api-client is automatically updated according to the former one, with meaningful tag.
  3. then api-client will use the functionality of tinka-generator-openapi to generate a new sdk according to the updated spec
  4. api-client automatically published to NPM (via semantic-release?)

Current Tags

  • 1.1.0                                ...           latest (2 years ago)

4 Versions

  • 1.1.0                                ...           2 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 5
Dependencies (1)
Dev Dependencies (12)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |