Skip to content

Newest Pydantic generates error for some files #1174

Closed
@rd-andreas-tollkoetter

Description

@rd-andreas-tollkoetter

Describe the bug
Huge error caused by Pydantic; too huge for my terminal to contain, so I can't copy it here.

PydanticUserError: `Parameter` is not fully defined; you should define `Header`, then call `Parameter.model_rebuild()`.

OpenAPI Spec File
catalog_database_registration_v1.yaml.zip

Desktop (please complete the following information):

  • OS: macOS 14.6
  • Python Version: 3.12.7
  • openapi-python-client version 0.21.7

Additional context
This is new in v0.21.7 and does not happen in v0.21.6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions