swagger-api/swagger-codegen

[Python] support type hints

開放

#5,429 建立於 2017年4月19日

 (19 則留言) (34 個反應) (0 位負責人)HTML (5,474 個分叉)batch import
Client: PythonEnhancement: FeatureServer: Pythonhelp wanted

倉庫指標

星標
 (12,701 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南