Skip to content

Version Packages - #1836

Merged
js2me merged 1 commit into
mainfrom
changeset-release/main
Sep 18, 2026
Merged

js2me merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

swagger-typescript-api@13.13.0

Minor Changes

  • #1830 e7b418d Thanks @Upgrade220! - Add importFileExtension and typeOnlyImports options

    importFileExtension ("" | ".js" | ".ts") appends a file extension to
    generated relative imports, for projects using moduleResolution: node16/nodenext
    (.js) or allowImportingTsExtensions (.ts).

    typeOnlyImports emits import type for type-only imports (and inline type on
    mixed imports such as the http-client import, where HttpClient stays a value
    import) for projects using verbatimModuleSyntax / isolatedModules. ContentType
    is only marked type for enumStyle: "union", where it is a pure type.

Patch Changes

  • #1835 18023ad Thanks @ryanb93! - Fix extractRequestParams overwriting a component schema whose name matches <operationId>Params.

    Since path-only routes started producing an extracted params type (13.2.9), a spec with an operation
    getOrder and a component schema GetOrderParams (for example the operation's request body) would have
    the model silently replaced by the route's path/query params, so the generated method typed its data
    argument as the path params instead of the body.

    createRequestParamsSchema now goes through the same schema-key collision guard already used by
    extractResponseBody and extractResponseError, so the existing model keeps its name and the route
    params fall back to the next free name (GetOrderParams1).

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 3 times, most recently from 0c8061a to 441dde5 Compare September 18, 2026 07:34
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 441dde5 to 6a186b3 Compare September 18, 2026 08:13
@js2me
js2me merged commit 220e6fa into main Sep 18, 2026
9 checks passed
@js2me
js2me deleted the changeset-release/main branch September 18, 2026 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant