Skip to content
This repository has been archived by the owner on Sep 3, 2023. It is now read-only.

Document API #12

Open
djbusstop opened this issue Mar 17, 2020 · 4 comments
Open

Document API #12

djbusstop opened this issue Mar 17, 2020 · 4 comments
Assignees

Comments

@djbusstop
Copy link

Is your feature request related to a problem? Please describe.
It's much easier to develop the frontend when we know how the API works. We have had problems of not knowing what to expect from the API and it led to developing the frontend for features we didn't actually have.

Describe the solution you'd like
Implement documentation for the API. Ideally with a self documenting API plugin on django

Describe alternatives you've considered
Writing the docs by hand.

Additional context
N/A

@djbusstop
Copy link
Author

https://github.com/opt-out-tools/public_api/blob/master/README.md

The readme is already pretty good, actually. But would be best to generate.

@Cheukting
Copy link
Member

I will give it a go, can someone assign it to me?

@djbusstop
Copy link
Author

@Cheukting done :)

@lucie-docs
Copy link
Member

Thought this could help for this issue: https://medium.com/@arjunsinghy96/customised-api-documentation-for-django-rest-framework-projects-using-drf-yasg-d6db9ba5cff3

We've built the API docs using Redoc in my company, this is how it looks like: https://api-documentation.relayr.io/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants