swagger-codegen-ts
swagger-codegen-ts copied to clipboard
Typesafe Swagger API generator for TypeScript
problem: If I send the payload with extra fields, then I get an error in the rest. rest does not expect extra fields. ```typescript interface ProductModify { name: string; }...
I suggest adding support `anyOf` to codegen. the difference between `anyOf` and `oneOf` is discussed here: https://stackoverflow.com/a/56039838
fixes #179
schema.yaml ``` ... components: schemas: BaseSchema: type: object properties: type: type: string enum: - FOO - BAR - BAZ required: - type FooSchema: allOf: - $ref: '#/components/schemas/BaseSchema' - type: object...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @OlafConijn in...
Bumps [semver](https://github.com/npm/node-semver) from 5.5.0 to 5.7.2. Release notes Sourced from semver's releases. v5.7.2 5.7.2 (2023-07-10) Bug Fixes 2f8fd41 #585 better handling of whitespace (#585) (@joaomoreno, @lukekarrys) Changelog Sourced from semver's...
This PR adds the ability to customize codecs for some primitive types. For example, this change was requested for this use-case: using Decimal.js instead of regular numbers to support arbitrary...
It seems that this project doesn't expose a cli tool to quickly create typescript files from a spec. It would be really useful, as I want a replacement of https://github.com/swagger-api/swagger-codegen...