Merge pull request #20393 from edx/nedbat/drf-yasg

Use drf-yasg for Open API documentation
This commit is contained in:
Ned Batchelder
2019-06-11 13:58:13 -04:00
committed by GitHub
27 changed files with 105 additions and 46 deletions

View File

@@ -37,7 +37,7 @@ celery==3.1.25 # Asynchronous task execution library
defusedxml
Django==1.11.21 # Web application framework
django-babel-underscore # underscore template extractor for django-babel (internationalization utilities)
django-config-models>=0.2.2 # Configuration models for Django allowing config management with auditing
django-config-models>=1.0.0 # Configuration models for Django allowing config management with auditing
django-cors-headers==2.1.0 # Used to allow to configure CORS headers for cross-domain requests
django-countries==4.6.1 # Country data for Django forms and model fields
django-crum # Middleware that stores the current request and user in thread local storage
@@ -54,7 +54,6 @@ django-pyfs
django-ratelimit
django-ratelimit-backend==1.1.1
django-require
django-rest-swagger # API documentation
django-sekizai
django-ses==0.8.4
django-simple-history
@@ -64,7 +63,9 @@ django-storages==1.4.1
django-user-tasks
django-waffle==0.12.0
django-webpack-loader # Used to wire webpack bundles into the django asset pipeline
djangorestframework==3.7.7
djangorestframework-jwt
drf-yasg # Replacement for django-rest-swagger
edx-ace==0.1.10
edx-analytics-data-api-client
edx-ccx-keys

View File

@@ -43,8 +43,8 @@ certifi==2019.3.9
cffi==1.12.3
chardet==3.0.4
click==7.0 # via user-util
coreapi==2.3.3 # via django-rest-swagger, openapi-codec
coreschema==0.0.4 # via coreapi
coreapi==2.3.3 # via drf-yasg
coreschema==0.0.4 # via coreapi, drf-yasg
git+https://github.com/edx/crowdsourcehinter.git@518605f0a95190949fe77bd39158450639e2e1dc#egg=crowdsourcehinter-xblock==0.1
cryptography==2.7
cssutils==1.0.2 # via pynliner
@@ -77,7 +77,6 @@ django-pyfs==2.0
django-ratelimit-backend==1.1.1
django-ratelimit==2.0.0
django-require==1.0.11
django-rest-swagger==2.2.0
django-sekizai==1.0.0
django-ses==0.8.4
django-simple-history==2.7.0
@@ -91,9 +90,10 @@ django==1.11.21
djangorestframework-jwt==1.11.0
git+https://github.com/edx/django-rest-framework-oauth.git@0a43e8525f1e3048efe4bc70c03de308a277197c#egg=djangorestframework-oauth==1.1.1
djangorestframework-xml==1.3.0 # via edx-enterprise
git+https://github.com/edx/django-rest-framework.git@1ceda7c086fddffd1c440cc86856441bbf0bd9cb#egg=djangorestframework==3.6.3
djangorestframework==3.7.7
docopt==0.6.2
docutils==0.14 # via botocore
drf-yasg==1.15.0
edx-ace==0.1.10
edx-analytics-data-api-client==0.15.3
edx-ccx-keys==0.2.1
@@ -136,6 +136,7 @@ help-tokens==1.0.3
html5lib==1.0.1
httplib2==0.13.0 # via oauth2, zendesk
idna==2.8
inflection==0.3.1 # via drf-yasg
ipaddress==1.0.22
isodate==0.6.0 # via python3-saml
itypes==1.1.0 # via coreapi
@@ -168,7 +169,6 @@ nodeenv==1.1.1
numpy==1.16.4
oauth2==1.9.0.post1
oauthlib==2.1.0
openapi-codec==1.3.2 # via django-rest-swagger
git+https://github.com/edx/edx-ora2.git@2.2.3#egg=ora2==2.2.3
path.py==8.2.1
pathtools==0.1.2
@@ -210,6 +210,8 @@ requests-oauthlib==1.1.0
requests==2.22.0
rest-condition==1.0.3
rfc6266-parser==0.0.5.post2
ruamel.ordereddict==0.4.13 # via ruamel.yaml
ruamel.yaml==0.15.96 # via drf-yasg
rules==2.0.1
s3transfer==0.1.13 # via boto3
sailthru-client==2.2.3
@@ -217,7 +219,7 @@ scipy==1.2.1
semantic-version==2.6.0 # via edx-drf-extensions
shapely==1.6.4.post2
shortuuid==0.5.0 # via edx-django-oauth2-provider
simplejson==3.16.0 # via django-rest-swagger, mailsnake, sailthru-client, zendesk
simplejson==3.16.0 # via mailsnake, sailthru-client, zendesk
singledispatch==3.4.0.3
six==1.11.0
slumber==0.7.1 # via edx-rest-api-client
@@ -231,7 +233,7 @@ stevedore==1.30.1
sympy==1.4
tincan==0.0.5 # via edx-enterprise
unicodecsv==0.14.1
uritemplate==3.0.0 # via coreapi
uritemplate==3.0.0 # via coreapi, drf-yasg
urllib3==1.23
user-util==0.1.5
voluptuous==0.11.5

View File

@@ -97,7 +97,6 @@ django-pyfs==2.0
django-ratelimit-backend==1.1.1
django-ratelimit==2.0.0
django-require==1.0.11
django-rest-swagger==2.2.0
django-sekizai==1.0.0
django-ses==0.8.4
django-simple-history==2.7.0
@@ -111,9 +110,10 @@ django==1.11.21
djangorestframework-jwt==1.11.0
git+https://github.com/edx/django-rest-framework-oauth.git@0a43e8525f1e3048efe4bc70c03de308a277197c#egg=djangorestframework-oauth==1.1.1
djangorestframework-xml==1.3.0
git+https://github.com/edx/django-rest-framework.git@1ceda7c086fddffd1c440cc86856441bbf0bd9cb#egg=djangorestframework==3.6.3
djangorestframework==3.7.7
docopt==0.6.2
docutils==0.14
drf-yasg==1.15.0
edx-ace==0.1.10
edx-analytics-data-api-client==0.15.3
edx-ccx-keys==0.2.1
@@ -173,6 +173,7 @@ idna==2.8
imagesize==1.1.0 # via sphinx
importlib-metadata==0.17
inflect==2.1.0
inflection==0.3.1
ipaddress==1.0.22
isodate==0.6.0
isort==4.3.20
@@ -214,7 +215,6 @@ nodeenv==1.1.1
numpy==1.16.4
oauth2==1.9.0.post1
oauthlib==2.1.0
openapi-codec==1.3.2
git+https://github.com/edx/edx-ora2.git@2.2.3#egg=ora2==2.2.3
packaging==19.0
path.py==8.2.1
@@ -279,6 +279,8 @@ requests-oauthlib==1.1.0
requests==2.22.0
rest-condition==1.0.3
rfc6266-parser==0.0.5.post2
ruamel.ordereddict==0.4.13
ruamel.yaml==0.15.96
rules==2.0.1
s3transfer==0.1.13
sailthru-client==2.2.3

View File

@@ -66,9 +66,6 @@ git+https://github.com/edx/MongoDBProxy.git@25b99097615bda06bd7cdfe5669ed80dc2a7
# This can go away when we update auth to not use django-rest-framework-oauth
git+https://github.com/edx/django-oauth-plus.git@01ec2a161dfc3465f9d35b9211ae790177418316#egg=django-oauth-plus==2.2.9.edx-1
# Why a DRF fork? See: https://openedx.atlassian.net/browse/PLAT-1581
git+https://github.com/edx/django-rest-framework.git@1ceda7c086fddffd1c440cc86856441bbf0bd9cb#egg=djangorestframework==3.6.3
# Why a drf-oauth fork? To add Django 1.11 compatibility to the abandoned repo.
# This dependency will be removed by this work: https://openedx.atlassian.net/browse/PLAT-1660
git+https://github.com/edx/django-rest-framework-oauth.git@0a43e8525f1e3048efe4bc70c03de308a277197c#egg=djangorestframework-oauth==1.1.1

View File

@@ -94,7 +94,6 @@ django-pyfs==2.0
django-ratelimit-backend==1.1.1
django-ratelimit==2.0.0
django-require==1.0.11
django-rest-swagger==2.2.0
django-sekizai==1.0.0
django-ses==0.8.4
django-simple-history==2.7.0
@@ -107,9 +106,10 @@ django-webpack-loader==0.6.0
djangorestframework-jwt==1.11.0
git+https://github.com/edx/django-rest-framework-oauth.git@0a43e8525f1e3048efe4bc70c03de308a277197c#egg=djangorestframework-oauth==1.1.1
djangorestframework-xml==1.3.0
git+https://github.com/edx/django-rest-framework.git@1ceda7c086fddffd1c440cc86856441bbf0bd9cb#egg=djangorestframework==3.6.3
djangorestframework==3.7.7
docopt==0.6.2
docutils==0.14
drf-yasg==1.15.0
edx-ace==0.1.10
edx-analytics-data-api-client==0.15.3
edx-ccx-keys==0.2.1
@@ -167,6 +167,7 @@ httpretty==0.9.6
idna==2.8
importlib-metadata==0.17 # via pluggy
inflect==2.1.0
inflection==0.3.1
ipaddress==1.0.22
isodate==0.6.0
isort==4.3.20
@@ -207,7 +208,6 @@ nodeenv==1.1.1
numpy==1.16.4
oauth2==1.9.0.post1
oauthlib==2.1.0
openapi-codec==1.3.2
git+https://github.com/edx/edx-ora2.git@2.2.3#egg=ora2==2.2.3
packaging==19.0 # via caniusepython3
path.py==8.2.1
@@ -270,6 +270,8 @@ requests-oauthlib==1.1.0
requests==2.22.0
rest-condition==1.0.3
rfc6266-parser==0.0.5.post2
ruamel.ordereddict==0.4.13
ruamel.yaml==0.15.96
rules==2.0.1
s3transfer==0.1.13
sailthru-client==2.2.3