Cristi Vîjdea
3d3b7899e5
Update swagger-ui to 3.12.0 and ReDoc to 1.21.2
2018-03-05 17:07:45 +02:00
Cristi Vîjdea
6ea8711a1f
Fix in-place modification of swagger_auto_schema arguments ( #75 )
...
Fixes #74
2018-03-05 11:51:51 +02:00
Cristi Vîjdea
ee46f59fb1
Infer ChoiceField type from model field when in ModelSerializer
...
Fixes part of issue #69
2018-02-26 20:32:57 +02:00
Santiago Castro
3f7ad62950
Make 1.10.0 the min six version ( #71 )
2018-02-26 17:18:52 +02:00
Cristi Vîjdea
b38d3e6805
Do not set pattern on non-string values
...
Fixes #68
2018-02-23 18:51:55 +02:00
Cristi Vîjdea
058fd7096d
Change README link from pypi.python.org to pypi.org
...
Description rendering is prettier on the new version.
2018-02-22 20:46:26 +02:00
Cristi Vîjdea
a32321d43a
Add release dates to changelog
2018-02-22 20:46:22 +02:00
Cristi Vîjdea
f15e70b7db
Fix missing assignment for default in openapi.Parameter
2018-02-22 20:33:47 +02:00
Cristi Vîjdea
64c280e222
Allow Response objects with no schema
...
Fixes #66 .
2018-02-22 03:46:44 +02:00
Cristi Vîjdea
d5073081d9
Fix ModelViewSet Nested bug ( #65 )
...
* Add todo repro app
* Add explicit test against model named "Nested"
* Force serializers named NestedSerializer to be output as inline models
* Allow ref_name to rescue a NestedSerializer
* Add tests and documentation
2018-02-22 03:46:16 +02:00
Cristi Vîjdea
10c7e22940
Merge pull request #64 from axnsan12/release/1.4.1
...
Release version 1.4.1
2018-02-21 05:17:57 +02:00
Cristi Vîjdea
6c497b32b4
Use TemplateHTMLRenderer for error responses in UIRenderer
...
Closes #58 .
2018-02-21 04:59:03 +02:00
Cristi Vîjdea
73c60a8fda
Add assertion against mistaken swagger_auto_schema `methods` usage
2018-02-21 04:42:56 +02:00
Cristi Vîjdea
97082e8898
Update swagger-ui to 3.10.0 and ReDoc to 1.21.0
2018-02-21 04:42:54 +02:00
Cristi Vîjdea
743396617e
Upgrade sphinx to 1.7.0
2018-02-21 04:42:53 +02:00
Cristi Vîjdea
97cd1b63d9
Take coerce_to_string into account when handling DecimalField
...
Closes #62 .
2018-02-21 04:42:34 +02:00
Cristi Vîjdea
71dee6eb45
Add OAuth2 client configuration for swagger-ui ( #57 )
2018-02-04 14:36:54 +02:00
Cristi Vîjdea
7fa0cc0639
Make DRF master test run with stable Django
2018-02-04 14:36:16 +02:00
Cristi Vîjdea
e8c688f981
Update swagger-ui to 3.9.3
2018-02-04 14:23:00 +02:00
Cristi Vîjdea
c01a6ead26
Bring project into 2018
2018-01-29 00:18:53 +02:00
Cristi Vîjdea
05901e99aa
Add 1.3.1 changelog
2018-01-24 17:43:38 +02:00
Cristi Vîjdea
a211184478
Add documentation about excluding endpoints
...
Closes #50 .
2018-01-24 17:38:10 +02:00
Cristi Vîjdea
a3e81ef7f6
Improve handling of consumes and produces attributes ( #55 )
...
* Fix get_consumes
* Generate produces for Operation
* Set global consumes and produces from rest framework DEFAULT_ settings
2018-01-24 14:44:00 +02:00
Cristi Vîjdea
a46b684fea
Add 1.3.0 changelog
2018-01-23 12:44:16 +02:00
Cristi Vîjdea
fc35d9043e
Add security requirements handling ( #54 )
...
* Add security requirements handling
* Update swagger-ui to 3.9.2, ReDoc to 1.20.0
Closes #39 .
2018-01-23 12:43:25 +02:00
Cristi Vîjdea
f18ff60ae7
Update swagger-ui to 3.9.1
2018-01-19 18:37:44 +01:00
Daniel Hahler
a82730d32b
Fix logging message in get_path_from_regex ( #49 )
...
Adds the missing param.
2018-01-17 21:49:22 +01:00
Cristi Vîjdea
e30af0287f
Fix README and CONTRIBUTING
2018-01-12 15:18:18 +01:00
Cristi Vîjdea
fc253665dd
Release 1.2.2
2018-01-12 09:44:42 +01:00
h-hirokawa
33199aec59
Update the minimum required version of DRF to 3.7.7
...
Closes #44 , #45 .
2018-01-12 09:40:26 +01:00
Cristi Vîjdea
9d1150f1ab
Fix travis deployment
2018-01-12 04:38:30 +01:00
Cristi Vîjdea
bc4037f721
Fix coverage problems
2018-01-12 04:36:04 +01:00
Cristi Vîjdea
6c4dcb18bb
Improve basePath and versioning documentation
2018-01-12 04:18:40 +01:00
Cristi Vîjdea
4445137d55
Add release checklist
2018-01-12 04:06:17 +01:00
Cristi Vîjdea
57870d12a4
Add 1.2.0 changelog
2018-01-12 03:45:32 +01:00
Cristi Vîjdea
7a3fe8ec0c
Improve host, schemes and basePath handling ( #42 )
...
* added handling of basePath by taking into account SCRIPT_NAME and the longest common prefix
* improved handling of NamespaceVersioning by excluding URLs of differing versions
* added documentation and error messages for the problem reported in #37
2018-01-12 03:37:04 +01:00
Cristi Vîjdea
757d47e1c0
Add py3-django111 testing combination
...
Tests are also now run in parallel using detox and pytest-xdist.
2018-01-12 03:35:36 +01:00
Cristi Vîjdea
59a51ba4a7
Remove inline style from redoc
2018-01-11 23:37:23 +01:00
Cristi Vîjdea
55223e32e2
Add some assertions to check for common mistakes like #40
2018-01-11 22:40:42 +01:00
Cristi Vîjdea
6a478e14d7
Add overriden path parameter example
2018-01-11 21:20:54 +01:00
Cristi Vîjdea
57d77cc48a
Improve validator error handling
2018-01-11 21:20:07 +01:00
Cristi Vîjdea
c225f66fb7
Bundle redoc-alpha renderer
2018-01-11 21:19:16 +01:00
Cristi Vîjdea
47de6f2f6f
Add Django and djangorestframework to install requirements
2018-01-11 20:41:12 +01:00
Cristi Vîjdea
8dbf3fe984
Remove some inline scripts and styles
2018-01-10 22:54:56 +01:00
Cristi Vîjdea
1c3fba6e54
Add python_requires for pypi
...
Stolen from encode/django-rest-framework#5739
2018-01-10 21:59:16 +01:00
Cristi Vîjdea
c4379dc6a7
Run testproj in a Heroku demo app ( #38 )
...
* Add Heroku configuration
* Add links in API description
* Read database connection string from DATABASE_URL environment variable
* Restructure settings files for production
* Run server using gunicorn and servce static files with whitenoise
* Install drf-yasg from source instead of pypi in testproj
* Add readme links to demo app
2018-01-10 10:18:22 +01:00
Cristi Vîjdea
6b38a3b6c1
Update swagger-ui to 3.9.0
2018-01-09 14:43:15 +01:00
Cristi Vîjdea
464a518ae5
Add bdist_wheel distribution
2018-01-09 13:43:22 +01:00
Cristi Vîjdea
15c67891c6
Optimize requirements ( #35 )
2018-01-03 23:11:27 +01:00
Cristi Vîjdea
917ccd1f56
Restructure travis & tox configuration ( #34 )
...
Also removed useless python 3.7-dev build
2018-01-03 20:30:17 +01:00