-
-
Notifications
You must be signed in to change notification settings - Fork 262
Closed
Labels
🍭 OpenAPI ComplianceSupporting a new bit of the OpenAPI specSupporting a new bit of the OpenAPI spec
Description
Describe the bug
Error(s) encountered while generating, client was not created
Failed to parse OpenAPI document
4 validation errors for OpenAPI
components -> schemas -> ErrorResponse -> $ref
field required (type=value_error.missing)
components -> schemas -> ErrorResponse -> properties -> error -> $ref
field required (type=value_error.missing)
components -> schemas -> ErrorResponse -> properties -> error -> enum -> 0
value is not a valid integer (type=type_error.integer)
components -> schemas -> ErrorResponse -> properties -> error -> enum -> 0
str type expected (type=type_error.str)
To Reproduce
Steps to reproduce the behavior:
openapi-python-client generate --url https://topaz.grv.org.au/docs/swagger.json
Expected behavior
API Client generation.
OpenAPI Spec File
A link to your openapi.json which produces this issue.
I tried converting this to OpenAPI3.0 with the same issue.
Desktop (please complete the following information):
- OS: Windows 11
- Python Version: 3.11
- openapi-python-client version 0.15.0
Additional context
Is this an issue with the spec file?
Metadata
Metadata
Assignees
Labels
🍭 OpenAPI ComplianceSupporting a new bit of the OpenAPI specSupporting a new bit of the OpenAPI spec