npm swagger-typescript-api 13.14.0
v13.14.0

2 hours ago

Minor Changes

  • #1844 ad7b7ef Thanks @TheeCoderAhmed! - Add emptyNotAsNever (--empty-not-as-never) to generate never instead of any for not: {} and not: true, which no value can satisfy. It is off by default, so generated output does not change unless you enable it.

Patch Changes

  • #1839 e67c3a7 Thanks @cpruijsen! - Stop treating a colon inside a path segment as an Express-style path parameter.

    Routes using AIP-136 custom methods, such as /v1/items:search or /v1/items/{itemId}:archive,
    generated a bogus required string argument for the :suffix and dropped it from the request URL.
    The generated method could only produce the correct path if the caller passed the literal ":search".

    :paramName is now recognized only at the start of a path segment, so /users/:userId keeps working
    while mid-segment colons stay part of the literal path.

Don't miss a new swagger-typescript-api release

NewReleases is sending notifications on new releases.