diff --git a/app/controllers/horoscope_ctr_get.py b/app/controllers/horoscope_ctr_get.py index aac6c3b..660df10 100644 --- a/app/controllers/horoscope_ctr_get.py +++ b/app/controllers/horoscope_ctr_get.py @@ -34,7 +34,9 @@ def get_horoscope(sign=None): responses: 200: description: OK - schema: + schema: + type: array + items: type: object properties: sign: diff --git a/app/controllers/horoscope_ctr_post.py b/app/controllers/horoscope_ctr_post.py index 1d35188..dabd260 100644 --- a/app/controllers/horoscope_ctr_post.py +++ b/app/controllers/horoscope_ctr_post.py @@ -40,7 +40,9 @@ def post_horoscope(): 200: description: OK schema: - type: object + type: array + items: + type: object properties: sign: type: string