Pietro Brenna
728c02356c
fix #559 : recursively resolve type of one2one using target_field
2020-03-18 19:15:18 +01:00
Cristi Vîjdea
17da098940
Fix lint errors
2020-02-17 03:06:37 +02:00
Cristi Vîjdea
a872eb66d6
Add Django 3.0, DRF 3.11, drop Python 3.5, Django 2.1
2020-02-17 02:58:55 +02:00
Yannick Chabbert
b700191f46
add comments on why we returns non form media types by default ( #436 )
2019-11-14 15:03:11 +02:00
Jethro Lee
5c25ecd8f2
Edit type check for swagger_auto_schema ( #490 )
2019-11-14 14:57:49 +02:00
johnthagen
8fd27664f1
Fix typo in docstring ( #479 )
2019-11-14 14:17:53 +02:00
yurihs
456b697ca2
Apply dedent to descriptions ( #416 ) ( #464 )
2019-11-14 14:13:40 +02:00
Carlos Martinez
27007a9cf4
Fix #485 ( #486 )
2019-11-14 00:13:29 +02:00
Ned Batchelder
a72e5b2899
Write multi-line strings in block style ( #466 )
...
Closes #439
2019-10-03 02:06:05 +03:00
Aliaksei Urbanski
9a89d8ccb0
Improve testing ( #415 )
...
These changes:
- Fix the lint and the djmaster jobs
- Fix compatibility with upcoming Django 3.0
- Replace jobs with matrix in .travis.yml
- Add a test job for Python 3.8
- Allow running tests on any branch
2019-10-03 01:38:02 +03:00
Étienne Noss
1352c2a23b
fix Optional typing hint for SerializerMethodField ( #428 )
2019-09-29 19:01:28 +03:00
Cristi Vîjdea
8578b93eba
Update swagger-ui to 3.23.11 and ReDoc to 2.0.0-rc.14
...
Supersedes #434
Fixes #398
2019-09-29 18:57:54 +03:00
Étienne Noss
ab6444a32e
inspectors: add support for JSONField ( #417 )
2019-07-19 14:13:26 +03:00
Cristi Vijdea
2e0f9a19a9
Update swagger-ui to 3.23.1
2019-07-16 21:22:44 +03:00
Cristi Vijdea
cda808fe11
Fix isort errors
2019-07-16 21:20:46 +03:00
tfranzel
1904b0499e
Fix imports for DRF 3.10 ( #408 )
...
Fixes #410
Fixes #411
2019-07-16 20:39:44 +03:00
Étienne Noss
6417bb3770
Handle enum type for nested ChoiceFields ( #400 )
2019-07-15 12:14:23 +03:00
Cristi Vîjdea
3a37c4a019
Drop Django 2.0 and DRF 3.7 support
2019-06-13 16:49:46 +03:00
Cristi Vîjdea
753be1a8bd
Fix potential issubclass crash
2019-06-13 13:43:16 +03:00
Pavel White
2656696a0f
generators: support custom ReferenceResolver class ( #350 )
2019-06-13 03:38:17 +03:00
Hugo Duroux
a083d3cf7c
Add operation_keys to SwaggerAutoSchema constructor ( #355 )
2019-06-13 03:37:06 +03:00
Cristi Vîjdea
69b628a7af
Fix python 3.7 typing
...
Closes #371
2019-06-13 02:26:36 +03:00
Cristi Vîjdea
e9d5344de3
Update swagger-ui to 3.22.3 and ReDoc to 2.0.0-rc.8-1
2019-06-13 01:28:31 +03:00
elliott-omosheye
b5aba7243d
Fix unicode attribute error if typing installed on py2.7 ( #363 )
2019-06-13 00:51:47 +03:00
Cristi Vijdea
887b53300a
Add 1.15.0 changelog
2019-04-01 03:29:03 +03:00
Cristi Vijdea
017ae3d240
Update swagger-ui to 3.22.0 and ReDoc to 2.0.0-rc.4
2019-04-01 03:19:26 +03:00
Cristi Vijdea
b57413023b
Fix isort
2019-04-01 02:58:42 +03:00
Cristi Vijdea
7bb4700003
Apply to_representation on choices
...
Fixes #340
2019-04-01 02:58:07 +03:00
Dimas Ari
86c1675c58
make sure all ListModelMixin views considered as list view ( #306 )
...
* make sure all ListModelMixin views considered as list view
* test to make sure all ListModelMixin views considered as list view added
2019-04-01 02:57:14 +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 Vijdea
652a33a54d
Fix lint errors
2019-03-04 00:49:28 +02:00
Cristi Vijdea
340a60324c
Add special exclusion for FileUploadParser
...
Fixes #288
2019-03-04 00:48:55 +02:00
Cristi Vijdea
f348084d85
Fix Python 2.7 compat
2019-03-04 00:46:00 +02:00
Cristi Vijdea
34ed1e20a2
Update swagger-ui to 3.21.0
2019-03-03 18:08:25 +02:00
Cristi Vijdea
62d97a80bc
Fix _serializer pickle bugs
2019-03-03 17:23:04 +02:00
Cristi Vijdea
e108ddbb48
Add force_init argument to ReferenceResolver constructor
...
Closes #325
2019-03-03 16:40:19 +02:00
Cristi Vijdea
f189426901
Update swagger-ui to 3.20.9
2019-03-02 05:42:39 +02:00
Cristi Vijdea
c593b3fcfb
Remove _summary_and_description_compat
2019-02-27 21:51:01 +02:00
Cristi Vijdea
9caeed781e
Fix duplicate ref_name detection and promote to error
2019-02-27 21:47:31 +02:00
Cristi Vijdea
3377ef08ea
Fix Schema limits for ListField and ListSerializer
...
Fixes #324
2019-02-27 21:23:25 +02:00
Roman Sichny
e538e0713a
Support RecursiveField with 'many' option ( #321 )
2019-02-25 20:59:35 +02:00
Roman Sichny
76c8fe0646
Fix union type hint checks ( #318 )
...
Fix some obscure edge cases related to typing.Union type args.
Fixes #304 .
2019-02-22 01:00:14 +02:00
Paul Wayper
3d43ee6748
Fix `items` field conflict with dict.items() ( #308 )
...
Closes #307
2019-02-22 00:57:52 +02:00
Cristi Vijdea
d2bd838325
Add 1.13.0 changelog
2019-01-29 09:11:28 +02:00
Cristi Vijdea
bacab20f0b
Update swagger-ui to 3.20.5 and ReDoc to 2.0.0-rc.2
2019-01-29 09:05:26 +02:00
Cristi Vijdea
df82fe59d7
Remove recommandations for unmaintained flex library
...
Fixes #285
2019-01-29 09:04:10 +02:00
Cristi Vijdea
7c5a0b7176
Promote deprecation warning to exception
2019-01-29 08:51:02 +02:00
Cristi Vijdea
69a1e62ed3
Add x-nullable to Optional
2019-01-29 08:46:33 +02:00
Alexander Egorov
3806d6efd5
Add support for custom and collection type hint classes ( #272 )
2019-01-29 08:39:29 +02:00