Skip to content

Instantly share code, notes, and snippets.

Jarrod nevros

View GitHub Profile
@nevros
nevros / inspector.py
Created Apr 26, 2019
drf-yasg JSON API support for swagger
View inspector.py
"""
This has been created to answer the following question on stackoverflow
https://stackoverflow.com/questions/46157710/django-swagger-and-json-api-render-issues
This file lives in the folder 'jsonapi'. The following is code is added into the settings.py to enable the
code contained within this file.
# DRF-yasg settings
SWAGGER_SETTINGS = {
You can’t perform that action at this time.