pythogen
pythogen copied to clipboard
Awesome python HTTP-clients from OpenAPI
Error message: `Unable to parse responses, "default" not implemented yet`
It would be nice to have a parameter as following ```python class Client: def __init__(self, ..., raise_for_status: bool=False): ... self.raise_for_status = raise_for_status ``` So we can raise exceptions for all...
Fixes #85
[Django ninja](https://github.com/vitalik/django-ninja) sets format to `ipvanyadress` for IP addresses. To reproduce: ```json { "openapi": "3.1.0", "info": { "title": "NinjaAPI", "version": "1.0.0", "description": "" }, "components": { "schemas": { "Proxy": {...
Fixes #83 Add parent_schema_id before anyOf schema to avoid conflict between anyOf schemas with same name. ```py class Schema2ValueObj(RootModel): """ None """ root: str | None class Schema1ValueObj(RootModel): """ None...
OpenAPI json to reproduce the bug. ```json { "openapi": "3.1.0", "info": { "title": "NinjaAPI", "version": "1.0.0", "description": "" }, "components": { "schemas": { "Schema1": { "properties": { "value": { "anyOf":...