Releases: Himenon/openapi-typescript-code-generator
Releases · Himenon/openapi-typescript-code-generator
@himenon/openapi-typescript-code-generator@0.22.2
What's Changed
@himenon/openapi-typescript-code-generator@0.22.1
What's Changed
@himenon/openapi-typescript-code-generator@0.22.0
New Features
Templates.FunctionalApiClient 🎉🎉🎉
import * as Templates from "@himenon/openapi-typescript-code-generator/templates";
const apiClientGeneratorTemplate: Types.CodeGenerator.CustomGenerator<Templates.FunctionalApiClient.Option> = {
generator: Templates.FunctionalApiClient.generator,
option: {},
};
BREAKING CHANGE
Templates.ApiClient used to provide templates for Classes, but with the provision of FunctionalApiClient, the namespace is now separated.
import * as Templates from "@himenon/openapi-typescript-code-generator/templates";
- Templates.ApiClient
+ Templates.ClassApiClient
What's Changed
@himenon/openapi-typescript-code-generator@0.21.0
BREAKING CHANGE: require typescript >= 4.8
@himenon/openapi-typescript-code-generator@0.19.3
@himenon/openapi-typescript-code-generator@0.19.3
@himenon/openapi-typescript-code-generator@0.19.2
What's Changed
@himenon/openapi-typescript-code-generator@0.19.1
Bug Fix
The following schemas reported in #86 are now handled correctly
components:
schemas:
Foo:
type: object
properties:
bar:
type: object
properties:
baz:
type: string
Bar:
$ref: '#/components/schemas/Foo/properties/bar'
Baz:
$ref: '#/components/schemas/Bar/properties/baz'
What's Changed
@himenon/openapi-typescript-code-generator@0.19.0
Features
References that include Fragments(#
) now work.
schema:
$ref: "v0.yml#/components/schemas/Book/properties/metadata/properties/description"
What's Changed
- feat: supports fragment in remote reference by @karupanerura in #83, #87
@himenon/openapi-typescript-code-generator@0.18.3
@himenon/openapi-typescript-code-generator@0.18.3
@himenon/openapi-typescript-code-generator@0.18.2
Bug Fix
- fix: remove require import #80