Rewrite schema generation (#1)

* Completeley rewritten schema generation
* Added support for python 2.7 and 3.4
* Restructured testing and build configuration
* Added nested request schemas

This rewrite completely replaces the public interface of the django rest schema generation library, so 
further changes will be needed to re-enable and further extend the customization points one might want.
This commit is contained in:
Cristi Vîjdea
2017-12-05 19:46:02 +01:00
committed by GitHub
parent 5658910711
commit dce00156d5
55 changed files with 1512 additions and 346 deletions
+6
View File
@@ -0,0 +1,6 @@
coreapi>=2.3.3
coreschema>=0.0.4
openapi_codec>=1.3.2
ruamel.yaml>=0.15.34
inflection>=0.3.1
future>=0.16.0
+4
View File
@@ -0,0 +1,4 @@
# requirements for CI test suite
-r dev.txt
tox-travis>=0.10
codecov>=2.0.9
+3
View File
@@ -0,0 +1,3 @@
# requirements for local development
tox>=2.9.1
tox-battery>=0.5
+11
View File
@@ -0,0 +1,11 @@
# pytest runner + plugins
pytest-django>=3.1.2
pytest-pythonpath>=0.7.1
pytest-cov>=2.5.1
# test project requirements
Pillow>=4.3.0
pygments>=2.2.0
django-cors-headers>=2.1.0
django-filter>=1.1.0,<2.0; python_version == "2.7"
django-filter>=1.1.0; python_version >= "3.4"
+3
View File
@@ -0,0 +1,3 @@
# requirements for the validation feature
flex>=6.11.1
swagger-spec-validator>=2.1.0