ankicommunity / ankicommunity-api-server

Django-based Anki Sync and API server
GNU Affero General Public License v3.0
46 stars 15 forks source link

feat: OpenAPI documentation #9

Open VikashKothary opened 3 years ago

VikashKothary commented 3 years ago
VikashKothary commented 2 years ago

The hope is to switch over to FastAPI which should do this out-of-the-box (see: https://github.com/ankicommunity/anki-api-server/issues/27). But there may be value in doing this in parallel. It wouldn't be code-first but the openapi documentation may be useful to users.

It's important to note that the API is likely to change (see: https://github.com/ankicommunity/anki-api-server/issues/22). So it could either be done after this change or before as a way of communicating the change of the API to users.