Skip to content

Regenerate from corrected spec (tsoa 6.6.8): drop *Response1 collisions, v5.0.3#14

Open
winrid wants to merge 1 commit into
mainfrom
regen-corrected-spec
Open

Regenerate from corrected spec (tsoa 6.6.8): drop *Response1 collisions, v5.0.3#14
winrid wants to merge 1 commit into
mainfrom
regen-corrected-spec

Conversation

@winrid

@winrid winrid commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Regenerates fastcomments-sdk from the current corrected OpenAPI spec (fastcomments on @fastcomments/tsoa@6.6.8).

5.0.2 (currently on npm) was built from the old tsoa 6.6.7 spec, which emitted every T | APIError return as a union wrapper -- producing 60 colliding *Response1 models (e.g. both GetEventLogResponse and GetEventLogResponse1) and X | APIError wrapper return types. 6.6.8 splits those (182 union responses -> 0), so this regen:

  • Drops the 60 *Response1 collision models (GetEventLogResponse1 etc.); only 3 legitimate *ResponseAnyOf models remain (genuine domain-config anyOf unions).
  • Switches the affected moderation/event-log method return types from X | APIError wrappers to the clean success types.
  • Keeps the moderation tenantId (43) + broadcastId (13) query params.
  • Bumps 5.0.2 -> 5.0.3. Compiles clean.

Mirrors the corrected-spec regen the 10 language SDK PRs received. Not published/tagged -- publish 5.0.3 to npm + git tag + GitHub release after merge.

Note: switching the wrapper return types to clean types is a consumer-visible type change for TS consumers who referenced the wrapper types -- bump to 5.1.0 instead if you'd rather signal that.

5.0.2 was generated from the tsoa 6.6.7 spec, which emitted every T | APIError return
as a union-wrapper response -- producing 60 colliding *Response1 models (e.g. both
GetEventLogResponse and GetEventLogResponse1) and X | APIError wrapper return types.
fastcomments is now on tsoa 6.6.8, which splits those (182 union responses -> 0).
Regenerated from the corrected spec: drops the 60 collision models and switches the
affected method return types to the real success types. Keeps moderation tenantId (43)
+ broadcastId (13) params. Bump 5.0.2 -> 5.0.3.
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