Skip to content

Releases: Fredx87/openapi-io-ts

@openapi-io-ts/[email protected]

04 Feb 15:45
9dee9cb
Compare
Choose a tag to compare

Minor Changes

@openapi-io-ts/[email protected]

03 Feb 10:19
fe95f90
Compare
Choose a tag to compare

Patch Changes

  • #14 2d5a207 Thanks @Fredx87! - Fixed a bug for serializing of Date parameters and added some tests

@openapi-io-ts/[email protected]

03 Feb 11:26
0b16592
Compare
Choose a tag to compare

Patch Changes

@openapi-io-ts/[email protected]

03 Feb 10:19
fe95f90
Compare
Choose a tag to compare

Minor Changes

@openapi-io-ts/[email protected]

31 Jan 11:18
20c3e69
Compare
Choose a tag to compare

Minor Changes

  • #12 1df5450 Thanks @Fredx87! - Changed types of generated request functions. Simplified types in runtime package, removed operation types and
    added generation of request function types.

@openapi-io-ts/[email protected]

31 Jan 11:18
20c3e69
Compare
Choose a tag to compare

Minor Changes

  • #12 1df5450 Thanks @Fredx87! - Changed types of generated request functions. Simplified types in runtime package, removed operation types and
    added generation of request function types.

@openapi-io-ts/[email protected]

28 Jan 11:30
Compare
Choose a tag to compare

Minor Changes

  • #9 84d6bf1 Thanks @Fredx87! - Changed types of request functions and operations.

    BREAKING CHANGE
    Request functions now have only one parameter: an object containing params and body (they can be optional if the operation
    does not have parameters or body).

    Example of operation with { id: string } params and {name: string; age: number } body:

    // Before:
    operation({ id: "abc123" }, { name: "Jonh Doe", age: 35 });
    // After:
    operation({ params: { id: "abc123" }, body: { name: "Jonh Doe", age: 35 } });

@openapi-io-ts/[email protected]

28 Jan 11:29
Compare
Choose a tag to compare

Minor Changes

  • #9 84d6bf1 Thanks @Fredx87! - Changes in codegen for generating new request functions for runtime.

    BREAKING CHANGE
    The generated code will not have single request function anymore, but a single requestFunctionsBuilder function that creates all the request functions.
    The generated services builder will now take the object returned by the requestFunctionsBuilder function instead of an HttpRequestAdapter.

Patch Changes