PrayTeam / scriptured-prayer

GNU Affero General Public License v3.0
1 stars 0 forks source link

feat: add api documentation and add limits for cards/usercards #53

Closed Soyokaze-42 closed 10 months ago

Soyokaze-42 commented 10 months ago

I thought the whole api was documented by the default router in Django Rest Framework, but that is not true. After I added the limits, I was frustrated by a few things. One was not being able to see the whole api in a dev-consumable way.

So, now we have two different views for the api docs : /api/schema/redoc /api/schema/swagger-ui

I really like the swagger-ui one.

I believe those are going to help you guys on the frontend very much!

Soyokaze-42 commented 10 months ago

Any issues with me merging this?