Skip to content

Instantly share code, notes, and snippets.

Jarrod nevros

Block or report user

Report or block nevros

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
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.