OpenAPITools / openapi-generator

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
https://openapi-generator.tech
Apache License 2.0
22k stars 6.6k forks source link

[BUG] [Python] [Documentation] Incorrect supported library listed in Documentation for the python Generator #13338

Open adriantam opened 2 years ago

adriantam commented 2 years ago

Bug Report Checklist

Description

The generated documentation in https://openapi-generator.tech/docs/generators/python/ is incorrect. In the documentation, it is listed that the library supports library template (sub-template) to use: asyncio, tornado, urllib3. However, the generator only supports urllib3 (https://github.com/OpenAPITools/openapi-generator/blob/fea42b547ed61dcfdfc479cab6f68a601ec5adde/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/PythonClientCodegen.java#L202).

openapi-generator version
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
Related issues/PRs
Suggest a fix
spacether commented 2 years ago

In master branch python generator docs now list that only urllib3 is an option. https://github.com/OpenAPITools/openapi-generator/blob/master/docs/generators/python.md

python-prior has this bug though https://github.com/OpenAPITools/openapi-generator/blob/master/docs/generators/python-prior.md