I need to create documentation API for Django with MongoDB project? - django

I need to create documentation API using swagger or anything
I'm using drf-spectacular but do not support mongodb

Related

WSO2 AM API DOCS - Is there a way to use swagger as API Documentation in DevPortal?

The company that i work for is developing an API to allow an integration with our applications. We're using WSO2 AM as our gateway. I hava to document the API and they want me to use WSO2 devportal to do so. But the problem is that they also wanna use Swagger to create this documentation. Is there a way to add Swagger in the API Docs?
One workaround would be, you can add document type of Markdown and add the swagger content as code.
So it can be viewed from Devportal as shown below:

Django rest framework and frontend

I want to use Django Rest Framework to create RESTAPI to integrate with the payment gateway API like stripe. For the frontend part I can only see project using React for the frontend. Cant i use Django as a frontend?
Looking for suggestions if i really just need to use React or Vue. Or is it possible to use django as frontend as well.
Looking for your suggestions. Thank you.
To use Stripe in Django, you may refer to this package https://github.com/dj-stripe/dj-stripe which supports Stripe out-of-the box specific for Django
For replacing React with Django for front-end, it is possible and you can use Django template, however, it depends on your use-case.

Is there a django-avatar app with REST API support?

I am working on a django project that uses django avatar. But we also have other clients that are communicating with APIs. Does the django-avatar app have API endpoints or do I have to implement that myself?
You would have to implement endpoint using the Django rest framework or you can write your own custom endpoint, but there is no API endpoint already available in the market.

How can i use other apps api in my own project?

Let's say i wanted to use the weather api to implement in my django code. I know how to create Rest-api in django but how can i use api of other sources to django itself?

How to use API Auth using Django MongoEngine REST?

I'm building an API REST using Django and MongoDB with django-rest-framework-mongoengine package from https://github.com/umutbozkurt/django-rest-framework-mongoengine
How can I use Django Rest Framework API TokenAuthentication if this package does not use Django's built in ORM ?
I solve it by handling TokenAuthentication or any other type of DRF auth using Django's build in ORM with MySQL database (Just to handle API authentication). I use MongoDB as my primary system database. So yes, i'm using two databases, one for auth API and the other for transactions.
Don't know if this is the best way to achieve this but it works.
I hope this helps to anyone who's trying or thinking to work with this architecture :)