Revert "Use drf-yasg for Open API documentation"

This commit is contained in:
Ned Batchelder
2019-06-11 16:05:00 -04:00
committed by GitHub
parent a7bc22eb9c
commit 39c7a2db7c
27 changed files with 46 additions and 105 deletions

View File

@@ -28,10 +28,6 @@ class CourseModeSerializer(serializers.Serializer):
sku = serializers.CharField(required=False)
bulk_sku = serializers.CharField(required=False)
class Meta(object):
# For disambiguating within the drf-yasg swagger schema
ref_name = 'course_modes.CourseMode'
def create(self, validated_data):
"""
This method must be implemented for use in our