This sample project demonstrates all the API endpoints of drf-user. It integrates with swagger so that all the API's can be exported in openapi format.
- Create and activate your virtual environment
- Install requirements:
(.venv) $ pip install -r requirements.txt
- Run testing server:
(.venv) $ python manage.py runserver
- Take a look at
http:https://localhost:8000/swagger
. Swagger will list all the APIs of drf-user. - Go to
http:https://localhost:8000/swagger/?format=openapi
. From here you can export all the APIs in openapi format. Exported APIs can be easily imported into tools like Postman.