Skip to content

[PYTHON] update to pydantic v2 #16468

@oshmoun

Description

@oshmoun
Description

Recently, pydantic v2 was released, with changes that deprecate/remove some configs and functions.
In order to keep the generator up-to-date, and avoid generating deprecated code, a template update is in order to produce pydantic v2 models.

openapi-generator version

latest master

OpenAPI declaration file content or url

N/A

Command line used for generation

N/A

Steps to reproduce

N/A

Related issues/PRs

#16176

Suggest a fix/enhancement

N/A

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