This PR includes OpenAPI documentation for the endpoints. The docs can be seen by visiting localhost:8000/ or api.unrated.no/ when it gets deployed.
Also includes some added serialzied fields to each rating when query getWhiskey(id) is called:
# Rating
votedThumb: Thumb # This will be populated when getWhiskey is used and user has liked a the rating.
goodThumbs: Int # Populated when getWhiskey is used and counts thumbs that isGood is true
badThumbs: Int # Populated when getWhiskey is used and counts thumbs that isGood is false
This PR includes OpenAPI documentation for the endpoints. The docs can be seen by visiting
localhost:8000/
orapi.unrated.no/
when it gets deployed.Also includes some added serialzied fields to each rating when query
getWhiskey(id)
is called: