Skip to content

Releases: astahmer/typed-openapi

[email protected]

08 Nov 20:03
078df9b
Compare
Choose a tag to compare

Minor Changes

  • be0ba5f: Bump @sinclair/typebox-codegen version

Patch Changes

  • 739e5b5: Add options to Method type in generateApiClient function as fix for
    #55

[email protected]

16 Aug 14:38
e3cd9b8
Compare
Choose a tag to compare

Minor Changes

  • b122616: Add requestFormat property to endpoint schema.

    • json
    • form-data
    • form-url
    • binary
    • text

[email protected]

09 Aug 15:20
Compare
Choose a tag to compare

Minor Changes

  • d260cd4: Fix zod and yup runtime generated endpoint schema type errors due to long operationId

[email protected]

09 Aug 08:32
Compare
Choose a tag to compare

Minor Changes

  • cf83e52: Add type cast in ApiClient methods to match the desired type

[email protected]

04 Aug 21:23
Compare
Choose a tag to compare

Minor Changes

  • c5daa58: Upgraded codegen dependency to provide newer runtime validator output

    This is a BREAKING CHANGE for valibot/yup users

[email protected]

24 May 13:50
Compare
Choose a tag to compare

Minor Changes

  • f0886a0: Thanks to @0237h:

    Allow for finer marking of optional parameters Current behavior allows only for marking all parameters as optional,
    or none.

    This change checks first if all parameters are optional, keeping the old behavior if that's the case, otherwise
    iterates through the parameters to mark only those that should be optional from the OpenAPI spec.

[email protected]

22 Dec 10:03
Compare
Choose a tag to compare

Patch Changes

  • 4fac0aa: Fix typecast in zod-based ApiClient methods

[email protected]

22 Dec 08:55
Compare
Choose a tag to compare

Minor Changes

  • ffcdaa7: zod-runtime: add typecast in ApiClient methods to match the desired type

[email protected]

22 Nov 15:01
Compare
Choose a tag to compare

Minor Changes

  • b9b4772: Fix default response behavior (only use "default" as a fallback)
  • 23f3dc3: Support path parameters

Patch Changes

  • bb937d4: fix: refer Schema namespace in generated body type

[email protected]

31 Oct 16:26
Compare
Choose a tag to compare

Minor Changes

  • 00eb659: Fixed parameter.body on post endpoints - #8.