openapi-generators / openapi-generators/openapi-python-client
tonapi.io generate errors
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2k
- Forks
- 293
- Avg merge
- 34m
- Merged PRs (30d)
- 1
Description
Describe the bug
3 validation errors for OpenAPI
paths./v2/openapi.json.get.responses.200.other.description
Field required [type=missing, input_value={'content': {'application/json': {'schema': {}}}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.11/v/missing
paths./v2/openapi.yml.get.responses.200.other.description
Field required [type=missing, input_value={'content': {'application...y', 'type': 'string'}}}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.11/v/missing
components.schemas.ChartPoints.other.items.other
Input should be a valid dictionary or instance of Schema [type=model_type, input_value=[{'description': 'Unix ti...ncy', 'type': 'number'}], input_type=list]
For further information visit https://errors.pydantic.dev/2.11/v/model_type
OpenAPI Spec File
https://tonapi.io/v2/openapi.json
Desktop (please complete the following information):
MacOS
python 3.12
openapi-python-client version 0.24.3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the validation errors against the linked tonapi.io OpenAPI JSON and YAML specifications with openapi-python-client 0.24.3 on Python 3.12. Investigate the reported response descriptions and ChartPoints schema, then confirm that generation and OpenAPI validation complete without these three errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi, python
- Domain
- api, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100