Cristi Vîjdea
aa90723703
Switch to redoc 2.0 alpha
...
Update redoc to 2.0.0-alpha.17
2018-04-25 22:55:25 +03:00
Cristi Vîjdea
301511bebc
Update swagger-ui to 3.13.6
2018-04-25 22:44:49 +03:00
Cristi Vîjdea
c0f37f6ec1
Avoid crash when hitting unknown model fields
...
Fixes #102
2018-04-25 22:41:06 +03:00
Tobias Krönke
5e684549a1
Correct values in swagger-ui docs ( #108 )
2018-04-25 17:53:22 +03:00
John Carter
322971f3e7
Make parameters order stable for multi-parameter URLs ( #106 )
...
Fixes #105
* Added intermittently failing test for #105
* Make parameter order stable for urls with multiple params
2018-04-23 19:16:22 +03:00
Cristi Vîjdea
6dd8ded05d
Update swagger-ui to 3.13.3
2018-04-09 13:55:17 +03:00
Cristi Vîjdea
7270154828
Test with Django Rest Framework 3.8 ( #96 )
...
* Add djangorestframework 3.8 to tox and travis
* Add @action tests
* Limit tox to <3.0.0
2018-04-04 22:59:57 +03:00
Cristi Vîjdea
6f7d14fdb2
Add 1.6.1 changelog
2018-04-01 12:08:14 +03:00
shahha
941ec8fdaf
Added SUPPORTED_SUBMIT_METHODS swagger ui setting ( #91 )
2018-03-26 11:15:28 +03:00
Cristi Vîjdea
51ec07261d
Improve OAuth2 behaviour and documentation ( #90 )
...
* Set OAUTH2_REDIRECT_URL to oauth2-redirect.html by default
* Add example SWAGGER_SETTINGS for OAuth
* Add note about redirect URL
2018-03-24 13:05:37 +02:00
Cristi Vîjdea
a9cdf6d561
Fix type of properties in Schema docstring
...
Fixes #87 .
2018-03-21 13:39:14 +02:00
Cristi Vîjdea
a64ce95e3c
Reset testproj migrations
...
Heroku deployment issues...
2018-03-18 20:35:02 +02:00
Cristi Vîjdea
c9147a5746
Fix testproj people app
2018-03-18 20:20:04 +02:00
Cristi Vîjdea
ccdf646c0e
Run isort
2018-03-18 20:01:21 +02:00
Cristi Vîjdea
04252ebec3
Remove reodc-alpha artifacts
2018-03-18 19:52:16 +02:00
Cristi Vîjdea
848fb69009
Update swagger-ui to 3.13.0
2018-03-18 19:32:21 +02:00
ko-pp
309a6eb8cd
Fix schema generation with OneToOneFields ( #81 )
...
* Fix: OneToOneRel, used by OneToOneField doesn't have help_text nor primary_key attributes, thus breaking OpenAPISchemaGenerator; use hasattr() as safe-guard.
* Fix: use getattr() with a default value instead of hasattr() + acessing the value
* Add: 'people' app that breaks drf_yasg without previous commits
* Update tests/references.yaml + run isort and flake8
* Fix: set on_delete for Person.identity as Django-2+ requires it
2018-03-18 19:30:36 +02:00
Cristi Vîjdea
a7fbba4967
Update changelog for 1.5.0
2018-03-12 19:26:12 +02:00
Cristi Vîjdea
66785b1ee8
Update swagger-ui to 3.12.1
2018-03-12 19:06:20 +02:00
John Carter
fb240f6a5b
Detect type of SlugRelatedField with readonly=True ( #83 )
...
* Added test for #82 - readonly SlugRelatedField not showing format uuid
* Added ArticleGroup model
* Added example of SlugRelatedField to a uuid field with and without readonly
* Check remote_field.model in get_related_model
Closes #82 .
2018-03-10 13:29:20 +02:00
John Carter
2c459024d1
Handle django rest framework HiddenField ( #79 )
...
* Added HiddenFieldInspector (#78 )
* Updated docs + added test for HiddenField
Added HiddenField to testproj (no change in yaml as expected)
Closes #78 .
2018-03-09 22:46:47 +02:00
ko-pp
b62161f762
Escape '.' wildcard in testproj urlregex ( #80 )
...
Fix: Django's URL patterns being regexes, '.' has to be escaped to be used as a literal value and not as a joker.
2018-03-09 18:28:12 +02:00
Cristi Vîjdea
9ad55bac99
Guard against attempted deletion of inexistent attributes
...
Fixes #76
2018-03-05 19:59:03 +02:00
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