Skip to content

[REQ] Support pydantic v2 in python-fastapi generator #17703

@FChmiel

Description

@FChmiel

Is your feature request related to a problem? Please describe.

The python-fastapi generator constructs models with pydantic v1.

Describe the solution you'd like

It would be nice to have an option to use pydantic v2, such as discussed in this comment.

Describe alternatives you've considered

I've considered using the python generator but it doesn't match my use-case as seemlessly as the python-fastapi generator.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions