I am a little confused how to develop the documentation using the drf-yasg library. So I would like to ask exactly:
How can I use a static
swagger.json
file created by swagger editor online with drf-yasg? (There are endpoints in my project that don't have serializers and models, so i created the schema manually!)My project use a permissions control with custom management. Is there any way to manage the endpoints urls in the schema if the user is not allowed permission to view specific endpoint?