mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-10-14 00:13:50 +00:00
* [python] fix #19255 add async httpx support * update docs * 1. "async" parameter for templates 2. hand written tests for python-httpx 3. CI workflow updated * fix mypy
16 lines
559 B
YAML
16 lines
559 B
YAML
generatorName: python
|
|
outputDir: samples/openapi3/client/petstore/python-httpx
|
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/python/petstore-with-fake-endpoints-models-for-testing.yaml
|
|
templateDir: modules/openapi-generator/src/main/resources/python
|
|
library: httpx
|
|
additionalProperties:
|
|
packageName: petstore_api
|
|
mapNumberTo: float
|
|
poetry1: true
|
|
nameMappings:
|
|
_type: underscore_type
|
|
type_: type_with_underscore
|
|
modelNameMappings:
|
|
# The OpenAPI spec ApiResponse conflicts with the internal ApiResponse
|
|
ApiResponse: ModelApiResponse
|