0.7.0 • Published 9 months ago

@principlestudios/openapi-codegen-typescript v0.7.0

Weekly downloads
-
License
BSD-2-Clause
Repository
github
Last release
9 months ago

OpenAPI Codegen for a TypeScript-friendly Open API clients

Uses Microsoft.OpenApi.Readers along with custom templates in order to generate generalized TypeScript objects for creating clients of many shapes. Delivered via an npm package.

npm i -D @principlestudios/openapi-codegen-typescript

You must also have dotnet 7.0 runtime installed on your machine.

This will provide a corresponding bin to generate the typescript files.

openapi-codegen-typescript api.yaml api-generated/ -c

The above example will take as input an api.yaml, output an api-generated/ folder with all the typescript files and a gitignore. You should add this as part of your CI process with only the OpenAPI spec checked in, or download the spec as part of the CI process.

Written in C#.

0.6.3

9 months ago

0.7.0

9 months ago

0.6.2

11 months ago

0.5.0

1 year ago

0.6.1

11 months ago

0.6.0

11 months ago

0.4.0

2 years ago

0.3.2

2 years ago

0.3.0-beta.2

2 years ago

0.3.0

2 years ago

0.2.1

2 years ago

0.3.0-beta.1

2 years ago

0.2.0

2 years ago

0.3.1

2 years ago

0.1.2

3 years ago

0.1.3

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago