forked from loafle/openapi-generator-original
* add hasConsumes/hasProduces to python api template * remove unused code in python * fix isFile in the api doc (python)
* add hasConsumes/hasProduces to python api template * remove unused code in python * fix isFile in the api doc (python)