From 0a2fa67c13ded84d56a6b6643d180006fb0eaf1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mu=C3=B1oz=20Bustamante?= Date: Tue, 5 Sep 2023 12:40:16 -0300 Subject: [PATCH] fix --- app/controllers/horoscope_ctr_get.py | 5 +---- app/controllers/horoscope_ctr_post.py | 4 +--- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/app/controllers/horoscope_ctr_get.py b/app/controllers/horoscope_ctr_get.py index 8195edf..7b038de 100644 --- a/app/controllers/horoscope_ctr_get.py +++ b/app/controllers/horoscope_ctr_get.py @@ -34,10 +34,7 @@ def get_horoscope(sign=None): responses: 200: description: OK - schema: - type: object - items: - type: object + schema: object properties: sign: type: string diff --git a/app/controllers/horoscope_ctr_post.py b/app/controllers/horoscope_ctr_post.py index dabd260..1d35188 100644 --- a/app/controllers/horoscope_ctr_post.py +++ b/app/controllers/horoscope_ctr_post.py @@ -40,9 +40,7 @@ def post_horoscope(): 200: description: OK schema: - type: array - items: - type: object + type: object properties: sign: type: string