Closed as not planned
Closed as not planned
Description
Describe the bug
Generating the the (valid) eGauge WebAPI schema that can be downloaded from here ouputs the following error:
Error(s) encountered while generating, client was not created
Failed to parse OpenAPI document
29 validation errors for OpenAPI
...
The schema is valid when using https://editor-next.swagger.io and a (python) client can be generate on the site.
OpenAPI Spec File
eGauge_openapi.json please note the Common Documentation License 1.0.
Desktop (please complete the following information):
- OS: Windows with Ubuntu Subsystem + Debian [two different physical systems]
- Python Version: 3.9.2 and 3.10.12
- openapi-python-client version 0.16.0
Additional context
generate_eGauge_errors.txt
Reverting to pydantic 2.0 does nothing for the errors.
pydantic 1.x doesn't work with openapi-python-client, but the errors reminds me of issues I had when migrating from pydatic v1 to v2.
Metadata
Metadata
Assignees
Labels
No labels