openapi-python-client
openapi-python-client copied to clipboard
Generate modern Python clients from OpenAPI
**Is your feature request related to a problem? Please describe.** When printing out models, we often get extremely verbose strings, such as: ``` CustomEntityUpdate(entity_registry_id=, author_ids=, aliases=, custom_fields= , fields=Fields(additional_properties={'Request 1':...
**Describe the bug** The generator doesn't seem to support array indices in `$ref`. **To Reproduce** ``` openapi-python-client generate --path /tmp/bug.json Generating bug-client Warning(s) encountered while generating. Client was generated, but...
**Is your feature request related to a problem? Please describe.** Sometimes when looking at generated clients I notice weird/missing behavior and have no idea what version of openapi-python-client was used...
**Is your feature request related to a problem? Please describe.** https://github.com/influxdata/openapi ``` PS E:\PythonLibs\etcd\ht_ncp\ncp\test\influxdb_test\openapi-master\src> openapi-python-client generate --path .\oss.yml Generating influx-oss-api-service-client Warning(s) encountered while generating. Client was generated, but some pieces...
**Is your feature request related to a problem? Please describe.** It would be nice if the generated client could allow for retry hooks out of the box. For instance, currently...
**Is your feature request related to a problem? Please describe.** `yaml` is a common media type in APIs for serving/accepting openapi specs, manifests, k8s configs, etc. For example: https://github.com/APIs-guru/openapi-directory/blob/8af5478deebb70c01dc8155825528c18353d9deb/APIs/stoplight.io/api-v1/openapi.yaml#L171-L177 **Describe...
**Describe the solution you'd like** Could you provide other request examples (besides just GET) either in the repo or generated in the docs?
First of all, thank you for this great project, the code is very nice and I think it really has a lot of potential. **Is your feature request related to...
README does its best to explain what you get in concise terms. It would probably be nicer to have a more expressive reference doc which walks through most of the...
Right now if you have types specified for `additionalProperties` you get something like this: ```python additional_properties = {} for prop_name, prop_dict in d.items(): def _parse_additional_property( data: Any, ) -> Union[List[str],...