def getSwaggerJson():
json_file = open(os.path.join(
"./", "messages.swagger.json"), "r")
json = json_file.read()
json_file.close()
resp = Response(response=json,
status=200,
mimetype="application/json")
return resp
文章目录