Skip to content

Update example to examples in pydantic models when Swagger fixes bug #428

@MrCreosote

Description

@MrCreosote

example is now deprecated in FastAPI but the replacement, examples, does not show up in the Swagger docs, so we can't switch to it for now.

swagger-api/swagger-ui#9045

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions