Cristi Vijdea
887b53300a
Add 1.15.0 changelog
2019-04-01 03:29:03 +03:00
AndreaFox93
81f0b1a2ea
Use getattr for 'help_text' ( #342 )
2019-04-01 02:24:00 +03:00
Cristi Vijdea
298a9745df
Add `is_list_view` and `has_list_response` methods
2019-03-22 14:27:15 +02:00
Cristi Vîjdea
1fe8c2c03c
Add 1.12.1 changelog
2018-12-28 16:26:17 +02:00
Cristi Vîjdea
b8512bda8e
Fix call_view_method warnings for view classes
2018-12-28 16:20:37 +02:00
Cristi Vîjdea
bebcc982e6
Call APIView get_ methods instead of direct attribute access
...
queryset -> get_queryset
renderer_classes -> get_renderers
parser_classes -> get_parsers
2018-12-23 18:19:45 +02:00
Cristi Vîjdea
dd5965fa92
Fix tuple types in sphinx docstrings
2018-12-21 18:18:58 +02:00
Cristi Vîjdea
db61c39ab1
Fix union types in sphinx docstrings
2018-12-21 15:04:25 +02:00
Rémi Lapeyre
d41f0c5ac4
Set x-nullable based on allow_null ( #217 )
...
Many fields may be set a nullable in an API. While not covered explicitly by Swagger 2, this information is usually indicated as a [vendor extension](https://swagger.io/docs/specification/2-0/swagger-extensions/ ) using the x-nullable field.
2018-10-10 01:24:42 +03:00
Terence D. Honles
f9b215deab
Fix missing backslashes found via pytest 3.8 ( #202 )
...
See: https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals
Changed in version 3.6: Unrecognized escape sequences produce a DeprecationWarning
Closes #202 .
2018-09-09 22:17:04 +03:00
Cristi Vîjdea
37c00ab3fb
Make swagger_schema_fields work on serializer Fields
...
Closes #167 .
2018-08-07 22:54:24 +03:00
Cristi Vîjdea
904895ba3c
Add 1.9.2 changelog
2018-08-03 23:43:52 +03:00
Cristi Vîjdea
2965e08e39
Force descriptions to be str objects
...
Fixes #159
2018-08-03 20:27:31 +03:00
Cristi Vîjdea
aca0c4713e
Allow body on HTTP DELETE view methods ( #122 )
...
* Allow body in delete requests
* Do not add request body to DELETE by default
* Check manual form parameters against body_methods
* Add tests
* Add changelog
Closes #118
2018-05-14 19:15:14 +03: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
97cd1b63d9
Take coerce_to_string into account when handling DecimalField
...
Closes #62 .
2018-02-21 04:42:34 +02:00
Cristi Vîjdea
faf81e7b6d
Simplify should_filter and should_page
2018-01-01 19:17:37 +01:00
Cristi Vîjdea
02b72c466e
Do not generate readOnly outside Schema properties
2018-01-01 19:16:20 +01:00
Cristi Vîjdea
d39764d383
Add isort
2017-12-27 20:23:05 +01:00
Cristi Vîjdea
c89f96fcb0
Prepare for 1.1.0 ( #30 )
...
* refactor the view inspection process to be more modular and allow recursive customization
* add operation_id argument to @swagger_auto_
* add inspections for min/max validators
* add support for URLPathVersioning and NamespaceVersioning
* integrate with djangorestframework-camel-case
* fix bugs, improve tests and documentation
2017-12-26 22:50:59 +01:00