apiclient-pydantic-generator
apiclient-pydantic-generator copied to clipboard
This code generator creates APIClient app from an openapi file.
201 and 202 response codes are not correctly generated and will result in an endpoint returning "None"
Not sure it will work as I can't get poetry to work locally
Example: ``` /audience_experts:query: post: operationId: audience_experts:query_create description: Query audience_experts across projects parameters: - in: query name: format schema: type: string enum: - csv - json We don't have any problem...
Poetry saying generator doesn't support api-client-pydantic >v2.0
I'm trying to generate a client for the [Smartcat API][1] ([smartcat.json.txt][2] from https://smartcat.com/api/methods/v1/swagger.json) but I'm getting this error: ``` Exception: Modular references are not supported in this version ``` I...
Is there a way to change how the query_params and path_params class names are generated without modifying the parser? I would like them to be named with the camelcase endpoint...
Not certain if it's an issue with python 3.10 or not but I always get a validation error with your example and also the code that is generated from my...
Here's what gets generated in the `client.py` for the endpoint: ```python def status_status_get(self, **kwargs) -> Any: """Status""" return self.get(Endpoints.status_status_get) ``` There's no `from typing import Any` at the top of...
Fixed #8
[Bad response handler](https://github.com/MikeWooster/api-client/pull/56)