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
Cristi Vîjdea
e9f27442fc
Remove unused import
2019-06-13 16:58:41 +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
8acab171ea
Fix isort
...
[ci skip]
2019-06-13 16:43:16 +03:00
Cristi Vîjdea
acc204e4ea
Add test for #382
2019-06-13 16:34:23 +03:00
Cristi Vîjdea
d04f27f40f
Add test for serializer field label
...
Closes #353 .
2019-06-13 03:15:24 +03:00
Cristi Vîjdea
64d9d42aa9
Remove pygments test dependency
2019-06-13 01:54:22 +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
548489a539
Add missing migration for test
2019-04-01 03:29:10 +03:00
Cristi Vijdea
b57413023b
Fix isort
2019-04-01 02:58:42 +03:00
Cristi Vijdea
4014c69689
Add test for #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
Cristi Vijdea
340a60324c
Add special exclusion for FileUploadParser
...
Fixes #288
2019-03-04 00:48:55 +02:00
Cristi Vijdea
75a5d866be
Run makemigrations
2019-03-02 05:51:15 +02:00
Cristi Vijdea
b4900ebd6a
Add tests for #310
2019-03-02 05:35:10 +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
Cristi Vîjdea
8e2228fe5f
Fix py37 test
2019-01-14 14:58:16 +02:00
Cristi Vîjdea
7ce62616d2
Re-add test for DELETE form param
2018-12-23 18:28:13 +02:00
Cristi Vîjdea
b15535995f
Add assertion against TYPE_ARRAY with no items
2018-12-23 15:32:06 +02:00
Cristi Vîjdea
bfd13668cc
Fix deprecation warnings
2018-12-21 16:07:48 +02:00
Cristi Vîjdea
01391ca9eb
Remove comment links to Django 1.11 docs
2018-12-21 15:55:23 +02:00
Cristi Vîjdea
66026d3483
Fix lint errors
2018-12-21 15:07:38 +02:00
Cristi Vîjdea
f77672875d
Add /admin/ and /o/ urls to test urlconfs
2018-12-21 12:58:41 +02:00
Cristi Vîjdea
de950461c7
Fix absolute urls for swagger-ui oauth settings
2018-12-21 12:40:31 +02:00
Cristi Vîjdea
5418415300
Remove bad NoneType usage
2018-12-21 01:39:29 +02:00
Cristi Vîjdea
85db6c9d79
Fix django-oauth-toolkit python version dependency
...
django-oauth-toolkit 1.1 is the last version to support Python 2.7/Django 1.11
Source: https://github.com/jazzband/django-oauth-toolkit/issues/579
2018-12-21 01:31:05 +02:00
Cristi Vîjdea
b385228f7d
Add mock OAuth2 provider to testproj
2018-12-21 01:07:11 +02:00
Cristi Vîjdea
a7d3066677
Create testproj default user in data migration
2018-12-21 01:07:10 +02:00
Cristi Vîjdea
c5d4e6ca53
Do not generate form parameters for read_only serializer fields
...
Fixes #261 .
2018-12-19 03:22:43 +02:00
Cristi Vîjdea
852742baa9
Remove bad test case
2018-12-12 16:43:19 +02:00
Vitali Fokin
f415a96aa6
Tags override support ( #259 )
2018-12-11 20:13:37 +02:00
Cristi Vîjdea
708e70a526
Use collectionFormat=multi for MultiChoiceField in query and formData
...
Fixes #257 .
2018-11-29 01:38:40 +02:00
Cristi Vîjdea
c5f6a79cc8
Fix heroku build
2018-10-14 21:44:32 +03:00
Cristi Vîjdea
060fe1881a
Add auth hook settings and apiKey query support
2018-10-14 17:38:39 +03:00
Cristi Vîjdea
a419eec071
Add swagger-ui auth hooks
...
Save authorization to local storage, refetch spec on auth, etc.
2018-10-14 04:28:42 +03: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
Cristi Vîjdea
9d330d9509
Use the first line of view method docstring as Operation summary
...
Closes #205 .
2018-09-13 04:18:55 +03:00
Cristi Vîjdea
857ef05b07
Handle reverse_lazy
...
Fixes #209 .
2018-09-13 03:38:13 +03:00
Cristi Vîjdea
41b1ca4483
Do not bail on response when request body is formData
2018-09-10 00:02:39 +03:00
Cristi Vîjdea
b109d4c847
Fix bad test for no_body
2018-09-09 23:14:09 +03:00
Nour Chawich
0837873f55
Add missing overrides to `swagger_auto_schema` ( #194 )
...
Add missing `operation_summary` and `deprecated` to `swagger_auto_schema` decorator data. The previous PR missed adding these to extra overrides.
- Added tests
- Updated reference.yaml
Refs #149 , #173 .
Closes #194 , #198 .
2018-09-09 22:15:50 +03:00
Cristi Vîjdea
1ca401959c
Fix tests
2018-08-09 03:40:35 +03:00
Cristi Vîjdea
cd4bd4a18e
Add SPEC_URL setting
2018-08-09 03:32:04 +03:00
Cristi Vîjdea
23ebba4207
Rename swagger_serializer_method parameter and update docs
2018-08-08 01:41:54 +03:00
Cristi Vîjdea
37c00ab3fb
Make swagger_schema_fields work on serializer Fields
...
Closes #167 .
2018-08-07 22:54:24 +03:00
John Carter
748b5d3c2f
Add support for SerializerMethodField ( #179 )
...
Closes #137 , #179 .
2018-08-07 21:23:36 +03:00
Cristi Vîjdea
9eb0db466c
Fix Identity field names
2018-08-06 16:37:20 +03:00