1.8.1 • Published 5 days ago
@sebspark/openapi-typegen v1.8.1
@sebspark/openapi-typegen
Generates types and a routerdefinition from OpenAPI specs
Usage
This is an example assuming that you have one schema, marketdata.json
. The name
of this file will be used to generate Server and Client names.
This example can be found in @sebspark/openapi-e2e
yarn openapi-typegen -i ./src/schemas/ -o ./src/schemas/
The schema will export all types defined in the OpenAPI spec as well as:
MarketdataAPIServer
- a server definition meant to be used with @sebspark/openapi-express
MarketDataAPIClient
- a client definition meant to be used with @sebspark/openapi-client
1.8.1
5 days ago
1.8.0
10 days ago
1.7.3
13 days ago
1.7.2
13 days ago
1.7.1
2 months ago
1.7.0
2 months ago
1.6.0
3 months ago
1.5.1
3 months ago
1.5.0
3 months ago
1.4.1
3 months ago
1.4.0
3 months ago
1.3.0
3 months ago
1.2.1
3 months ago
1.2.0
3 months ago
1.1.0
3 months ago
1.0.0
4 months ago
0.2.0
6 months ago
0.1.1
6 months ago
0.1.0
6 months ago