Fix GET /duck method

This commit is contained in:
Gábor Barna 2016-10-28 03:55:36 +02:00
parent 4ebc4d7e0f
commit 707a5c41cd
2 changed files with 5 additions and 0 deletions

View File

@ -1,2 +1,6 @@
def ducks_get():
return 'do some magic!'
def duck_get():
return 'do some duck magic!'

View File

@ -29,6 +29,7 @@ paths:
get:
tags:
- "default_controller"
operationId: "controllers.default_controller.duck_get"
responses:
200:
description: "All data regarding the specified duck"