openapi-generator/samples/server/petstore/flaskConnexion/controllers/pet_controller.py
wing328 f69d1500c3 [Python][Flask] use tags to organize Python Flask controllers (#3767)
* use tag to organize flask controller

* fix typo in python flask code gen

* fix operationId for flask generator
2016-09-20 21:11:06 +08:00

25 lines
580 B
Python

def add_pet(body) -> str:
return 'do some magic!'
def delete_pet(petId, apiKey = None) -> str:
return 'do some magic!'
def find_pets_by_status(status) -> str:
return 'do some magic!'
def find_pets_by_tags(tags) -> str:
return 'do some magic!'
def get_pet_by_id(petId) -> str:
return 'do some magic!'
def update_pet(body) -> str:
return 'do some magic!'
def update_pet_with_form(petId, name = None, status = None) -> str:
return 'do some magic!'
def upload_file(petId, additionalMetadata = None, file = None) -> str:
return 'do some magic!'