Skip to content

fix(controlplane): declare eventTypeId path param on UpdateEventType#2728

Merged
mekilis merged 1 commit into
mainfrom
cursor/fix-event-type-path-param-ee6f
Jul 18, 2026
Merged

fix(controlplane): declare eventTypeId path param on UpdateEventType#2728
mekilis merged 1 commit into
mainfrom
cursor/fix-event-type-path-param-ee6f

Conversation

@mekilis

@mekilis mekilis commented Jul 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

The first Speakeasy generation run failed OpenAPI linting in both SDK repos with:

validation error: [line 1251:7] generator-path-params - PUT must define parameter eventTypeId
  as expected by path /v1/projects/{projectID}/event-types/{eventTypeId}

UpdateEventType's swag annotation declared the route with {eventTypeId} but no matching @Param. This adds the missing path parameter and regenerates the OpenAPI artifacts.

Also audited the whole spec programmatically: this was the only operation missing a declared path parameter.

Note: Speakeasy's linter is stricter than the openapi spec validate used in the convoy-side check (which passes both before and after), so this class of error only surfaces at generation time.

After merge

Merging this changes docs/v3/openapi3.* on main, which auto-triggers speakeasy-sdk.yml — no manual dispatch needed. Generation should proceed past linting in both SDK repos.

Related: PDE-755 / follow-up to #2724

Open in Web Open in Cursor 

Speakeasy generation failed linting: PUT /event-types/{eventTypeId} did
not declare its path parameter. Add the missing swag @Param and
regenerate OpenAPI artifacts. Audited the full spec: no other operation
is missing path params.

Co-authored-by: Smart Mekiliuwa <mekilis@users.noreply.github.com>
@mekilis
mekilis merged commit d6a436c into main Jul 18, 2026
33 checks passed
@mekilis
mekilis deleted the cursor/fix-event-type-path-param-ee6f branch July 18, 2026 06:04
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.

2 participants