h-hirokawa
cae07f3eaf
Add `read_only` to FileField response.
2017-12-18 20:30:14 +09:00
h-hirokawa
8a0d5a964d
Add support for serializers.FileField response.
2017-12-18 19:03:40 +09:00
Cristi Vîjdea
521172c195
Clean up Django 2 path backslashes
...
In Django 2, routes defines via urls.path are aggresively escaped when converted into regex.
This is a naive fix which unescapes all characters outside capture groups, but in the context of OpenAPI is okay because regular expressions inside paths are not supported anyway.
This issue affects django-rest-framework as well, as outlined in encode/django-rest-framework#5672 , encode/django-rest-framework#5675 .
2017-12-18 01:06:14 +01:00
Cristi Vîjdea
6346d855cf
Update swagger-ui to 3.7.0 and add UI update script
2017-12-17 02:34:53 +01:00
Cristi Vîjdea
738326ac43
Fix crash caused by read-only nested Serializers
2017-12-17 01:43:57 +01:00
Cristi Vîjdea
a2c21539f7
Prepare release 1.0.4
2017-12-16 18:18:21 +01:00
Cristi Vîjdea
73bd7a136d
Add query_serializer argument to swagger_auto_schema ( #17 )
...
Closes #16 .
2017-12-16 15:37:42 +01:00
Cristi Vîjdea
bdf7e8a4ae
Prepare release 1.0.3
2017-12-15 19:25:25 +01:00
Cristi Vîjdea
174f1153b4
Fix broken SwaggerDict pickling ( #15 )
...
Closes #14 .
2017-12-15 18:47:10 +01:00
Cristi Vîjdea
af2a44e1e9
Update documentation about Responses and form data
2017-12-15 12:13:09 +01:00
Cristi Vîjdea
f6a535eb45
Do not attempt to generate a response schema for form-only requests
...
It would probably fail because Schema objects cannot represent files
2017-12-15 11:14:47 +01:00
Cristi Vîjdea
c66f7e8e01
Rename to drf-yasg
...
drf-swagger was already taken
2017-12-13 10:22:03 +01:00