add api documentation for router and server

Signed-off-by: Harsha Narayana <harsha2k4@gmail.com>
This commit is contained in:
Harsha Narayana
2018-12-09 00:04:14 +05:30
parent f6355bd075
commit efa77cf5ec
4 changed files with 81 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ def test_versioned_routes_get(app, method):
return text('OK')
else:
print(func)
raise
raise Exception("Method: {} is not callable".format(method))
client_method = getattr(app.test_client, method)