Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DerSarco committed Sep 5, 2023
1 parent 7b99cb6 commit 156048d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 26 deletions.
46 changes: 22 additions & 24 deletions app/controllers/horoscope_ctr_get.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,30 +35,28 @@ def get_horoscope(sign=None):
200:
description: OK
schema:
type: array
items:
type: object
properties:
sign:
type: string
description: Signo
example: aries
date:
type: string
description: fecha del horoscopo
example: 12/12/2022
horoscope:
type: string
description: Horoscopo del signo
example: Hoy será un día asqueroso para ti.
icon:
type: string
description: imagen del signo
example: ...assets/img/horoscope/aries.png
id:
type: string
description: id del signo
example: 10
type: object
properties:
sign:
type: string
description: Signo
example: aries
date:
type: string
description: fecha del horoscopo
example: 2020-01-01
horoscope:
type: string
description: Horoscopo del signo
example: Hoy será un día asqueroso para ti.
icon:
type: string
description: imagen del signo
example: ...assets/img/horoscope/aries.png
id:
type: id
description: id del signo
example: 10
400:
description: Bad Request
schema:
Expand Down
4 changes: 2 additions & 2 deletions app/controllers/horoscope_ctr_post.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def post_horoscope():
date:
type: string
description: fecha del horoscopo
example: 12/12/2022
example: 2020-01-01
horoscope:
type: string
description: Horoscopo del signo
Expand All @@ -59,7 +59,7 @@ def post_horoscope():
description: imagen del signo
example: ...assets/img/horoscope/aries.png
id:
type: string
type: int
description: id del signo
example: 10
400:
Expand Down

1 comment on commit 156048d

@vercel
Copy link

@vercel vercel bot commented on 156048d Sep 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

newastro – ./

newastro-git-main-elsarco.vercel.app
newastro-elsarco.vercel.app
newastro.vercel.app

Please sign in to comment.