1.10.0 • Published 9 months ago

@sebspark/openapi-typegen v1.10.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
9 months ago

@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.10.0

9 months ago

1.9.0

10 months ago

1.8.5

10 months ago

1.8.2

1 year ago

1.8.4

11 months ago

1.8.3

1 year ago

1.8.1

1 year ago

1.8.0

1 year ago

1.7.3

1 year ago

1.7.2

1 year ago

1.7.1

1 year ago

1.7.0

1 year ago

1.6.0

1 year ago

1.5.1

1 year ago

1.5.0

1 year ago

1.4.1

1 year ago

1.4.0

1 year ago

1.3.0

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago