OpenAPITools / OpenAPITools/openapi-generator

[Announcement] Deprecation of PromiseKit in Swift 6 Generator

Open
#22,791 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Announcement
Dominant language
Java
Stars
26.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

With the transition to Swift 6 and the maturity of native async/await, we suspect that PromiseKit usage within the generator has significantly declined.

To gauge community reliance on this integration and streamline the codebase, we are taking the following steps:

The Plan

  • Deprecation: PromiseKit will be formally marked as deprecated in the next release. The deprecation warning will include a link leading back to this issue for context.

  • Feedback Period: We are looking for community input. If your project still relies on PromiseKit integration within the Swift 6 generator, please leave a comment below explaining your use case.

  • Timeline: If there is no significant feedback or objection by the end of 2026, we plan to permanently remove PromiseKit support in early 2027.

Why this change?

As Swift 6 emphasizes structured concurrency, maintaining legacy promise libraries increases maintenance overhead. We want to ensure the generator remains modern and efficient while still providing a window for users to transition their projects.

We value your feedback—please let us know if this change impacts your workflow!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with this issue, which requests community feedback about PromiseKit usage in the Swift 6 generator and proposes deprecation followed by possible removal. No implementation files, tests, or entry points are identified, and the completion criteria depend on feedback through the end of 2026.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
tooling
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.