Skip to content

Releases: Himenon/openapi-typescript-code-generator

@himenon/openapi-typescript-code-generator@0.27.4

@himenon/openapi-typescript-code-generator@0.27.3

29 Nov 07:03
Compare
Choose a tag to compare

@himenon/openapi-typescript-code-generator@0.27.2

@himenon/openapi-typescript-code-generator@0.27.1

@himenon/openapi-typescript-code-generator@0.27.0

@himenon/openapi-typescript-code-generator@0.26.1

04 Apr 10:17
Compare
Choose a tag to compare

@himenon/openapi-typescript-code-generator@0.26.0

@himenon/openapi-typescript-code-generator@0.25.0

@himenon/openapi-typescript-code-generator@0.24.0

01 Apr 10:07
Compare
Choose a tag to compare

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/openapi-typescript-code-generator@0.22.3...@himenon/openapi-typescript-code-generator@0.24.0

@himenon/openapi-typescript-code-generator@0.22.3