openapi-typescript-code-generator

TypeScript code generator via OpenAPI scheme.

MIT License

Downloads
11.8K
Stars
196
Committers
9

Bot releases are visible (Hide)

openapi-typescript-code-generator - @himenon/[email protected] Latest Release

Published by Himenon 8 months ago

openapi-typescript-code-generator - @himenon/[email protected]

Published by Himenon 8 months ago

openapi-typescript-code-generator - @himenon/[email protected]

Published by Himenon 8 months ago

What's Changed

Full Changelog: https://github.com/Himenon/openapi-typescript-code-generator/compare/@himenon/[email protected]...@himenon/[email protected]

openapi-typescript-code-generator - @himenon/[email protected]

Published by Himenon 9 months ago

openapi-typescript-code-generator - @himenon/[email protected]

Published by Himenon 9 months ago

openapi-typescript-code-generator - @himenon/[email protected]

Published by Himenon 9 months ago

openapi-typescript-code-generator - @himenon/[email protected]

Published by Himenon 9 months ago

What's Changed

Breaking Changes

Requirements

  • TypeScript >= 5

Change improt Paths:

- import * as Templates from "@himenon/openapi-typescript-code-generator/templates";
+ import * as Templates from "@himenon/openapi-typescript-code-generator/dist/templates";

- import type * as Types from "@himenon/openapi-typescript-code-generator/types";
+ import type * as Types from "@himenon/openapi-typescript-code-generator/dist/types";

- import type * as Meta from "@himenon/openapi-typescript-code-generator/meta";
+ import type * as Meta from "@himenon/openapi-typescript-code-generator/dist/meta";

- import type * as Api from "@himenon/openapi-typescript-code-generator/api";
+ import type * as Api from "@himenon/openapi-typescript-code-generator/dist/api";

Full Changelog: https://github.com/Himenon/openapi-typescript-code-generator/compare/@himenon/[email protected]...@himenon/[email protected]

openapi-typescript-code-generator - @himenon/[email protected]

Published by Himenon 11 months ago

openapi-typescript-code-generator - @himenon/[email protected]

Published by Himenon 11 months ago

openapi-typescript-code-generator - @himenon/[email protected]

Published by Himenon over 1 year ago

openapi-typescript-code-generator - @himenon/[email protected]

Published by Himenon over 1 year ago

openapi-typescript-code-generator - @himenon/[email protected]

Published by Himenon over 1 year ago

openapi-typescript-code-generator - @himenon/[email protected]

Published by Himenon over 1 year ago

Breaking Change

  • Update Api Client Arguments Interface #106

Playground: v0.24.0

New

export interface RequestArgs {
    httpMethod: HttpMethod;
    url: string;
    headers: ObjectLike | any;
    requestBody: ObjectLike | any;
    queryParameters: QueryParameters | undefined;
}
export interface ApiClient<RequestOption> {
    request: <T = SuccessResponses>(requestArgs: RequestArgs, options?: RequestOption) => T;
}

Old

export interface ApiClient<RequestOption> {
    request: <T = SuccessResponses>(httpMethod: HttpMethod, url: string, headers: ObjectLike | any, requestBody: ObjectLike | any, queryParameters: QueryParameters | undefined, options?: RequestOption) => Promise<T>;
}

What's Changed

Full Changelog: https://github.com/Himenon/openapi-typescript-code-generator/compare/@himenon/[email protected]...@himenon/[email protected]

openapi-typescript-code-generator - @himenon/[email protected]

Published by Himenon over 1 year ago

openapi-typescript-code-generator - @himenon/[email protected]

Published by Himenon over 1 year ago