Skip to content

fix(api): restore metadata endpoint type enums - #866

Merged
kevincador merged 1 commit into
masterfrom
fix/api-metadata-type-enums
Jul 30, 2026
Merged

fix(api): restore metadata endpoint type enums#866
kevincador merged 1 commit into
masterfrom
fix/api-metadata-type-enums

Conversation

@kevincador

Copy link
Copy Markdown
Contributor

Closes #860.

What

Restricts the type path parameter to movies or shows for:

  • /languages/{type}
  • /countries/{type}
  • /genres/{type}
  • /certifications/{type}

This restores the enum metadata in the generated OpenAPI definition and narrows the corresponding client input types.

Why

These endpoints were modeled with unrestricted strings during the API Blueprint-to-OpenAPI migration, causing the generated documentation to omit their supported values.

@kevincador
kevincador requested a review from vladjerca July 17, 2026 08:26
@kevincador
kevincador merged commit 3443348 into master Jul 30, 2026
3 checks passed
@kevincador
kevincador deleted the fix/api-metadata-type-enums branch July 30, 2026 12:25
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.

Get Languages Documentation

1 participant