Skip to content

Add format: uuid in the openapi spec generation for UUID strings #868

Description

@NicoleStrel

Hello!

Looks like uuid string validation is supported in huma, however when the openapi spec is generated it is not mentioned as a validation requirement for the string with format: uuid. Heres the openapi spec for uuid: https://spec.openapis.org/registry/format/uuid.html

Can we fix openapi generation for string formats (uuid, and any others)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions