swagger-api/swagger-codegen

[Python] support type hints

オープン

#5,429 opened on 2017/04/19

 (19 件のコメント) (34 件のリアクション) (0 人の担当者)HTML (5,474 件のフォーク)batch import
Client: PythonEnhancement: FeatureServer: Pythonhelp wanted

Repository metrics

Stars
 (12,701 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Description

We want to support type hints, which was introduced for Python 3.5+. The feature will be added to Python API client as well as server (Flask).

Since this option is for 3.5+ only, we will need to use the option supportPython2 to selectively disable it if supportPython2 (default to false) is set to true

Python version: 3.5+

Ref: https://www.python.org/dev/peps/pep-0484/

Suggest a Fix

If anyone from the community has questions/suggestions or wants to work on it, please reply to let us know. Thank you.

コントリビューターガイド