Skip to content

fix(openapi): align Swarm/SwarmCommon spec with handler implementations#5452

Merged
martinconic merged 3 commits into
masterfrom
fix/openapi-spec-drift
May 12, 2026
Merged

fix(openapi): align Swarm/SwarmCommon spec with handler implementations#5452
martinconic merged 3 commits into
masterfrom
fix/openapi-spec-drift

Conversation

@martinconic
Copy link
Copy Markdown
Contributor

Checklist

  • I have read the coding guide.
  • My change requires a documentation update, and I have done it.
  • I have added tests to cover my changes.
  • I have filled out the description and linked the related issues.

Description

Issue #4974 — fix accumulated drift between handlers in pkg/api/ and the hand-written OpenAPI spec so generated clients (bee-js) match runtime behavior.

Open API Spec Version Changes (if applicable)

Motivation and Context (Optional)

Related Issue (Optional)

Screenshots (if appropriate):

AI Disclosure

  • This PR contains code that has been generated by an LLM.
  • I have reviewed the AI generated code thoroughly.
  • I possess the technical expertise to responsibly review the code generated in this PR.

@martinconic martinconic requested review from acud, akrem-chabchoub, gacevicljubisa, janos and sbackend123 and removed request for acud May 8, 2026 13:47
Copy link
Copy Markdown
Member

@gacevicljubisa gacevicljubisa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we apply the same GET method handler for the /pss/subscribe/{topic} and /gsoc/subscribe/{address} for consistency?

@martinconic
Copy link
Copy Markdown
Contributor Author

Should we apply the same GET method handler for the /pss/subscribe/{topic} and /gsoc/subscribe/{address} for consistency?

Good catch

@martinconic martinconic merged commit 5d122ba into master May 12, 2026
24 of 28 checks passed
@martinconic martinconic deleted the fix/openapi-spec-drift branch May 12, 2026 18:40
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.

3 participants