0.6.0 • Published 11 months ago

@principlestudios/openapi-codegen-typescript-rxjs v0.6.0

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

OpenAPI Codegen for a TypeScript-friendly RxJS client

Provides an adapter layer method for @principlestudios/openapi-codegen-typescript to integrate with rxjs.

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

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

You can then create an API wrapper such as:

import { toRxjsApi } from '@principlestudios/openapi-codegen-typescript-rxjs';
import operations from './api-generated/operations';

export default toRxjsApi(operations);

This API will use the type safety from OpenAPI along with rxjs.

0.4.0

12 months ago

0.6.0

11 months ago

0.3.0

2 years ago

0.1.2

3 years ago

0.1.3

3 years ago

0.1.0

3 years ago

0.1.1

3 years ago

0.0.3

4 years ago

0.0.2

4 years ago