Cristi Vîjdea
|
754ec8a779
|
Enable minLength and maxLength for ListSerializer
|
2018-11-29 00:32:31 +02:00 |
|
Cristi Vîjdea
|
c5f6a79cc8
|
Fix heroku build
|
2018-10-14 21:44:32 +03:00 |
|
Cristi Vîjdea
|
1ac85f6eba
|
Release version 1.11.0
|
2018-10-14 21:35:07 +03:00 |
|
Cristi Vîjdea
|
c2e4d7767b
|
Update reference schema
|
2018-10-14 21:25:24 +03:00 |
|
Cristi Vîjdea
|
baaa79a29d
|
Fix IE11 bugs
|
2018-10-14 21:25:17 +03:00 |
|
Cristi Vîjdea
|
8dfab883a5
|
Add 1.11.0 changelog
|
2018-10-14 20:43:26 +03:00 |
|
Cristi Vîjdea
|
dfe06b5c95
|
Copy window query params when fetching the openapi document
Closes #208.
|
2018-10-14 20:40:34 +03:00 |
|
Cristi Vîjdea
|
18ff51a025
|
Improve handling of spec request url
|
2018-10-14 20:23:53 +03:00 |
|
Cristi Vîjdea
|
e1aedab73f
|
Support multiple auth schemes
|
2018-10-14 18:16:09 +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
|
5d8c936956
|
Moar blocks
|
2018-10-14 05:23:45 +03:00 |
|
Cristi Vîjdea
|
25dea81bc6
|
Update swagger-ui to 3.19.3 and ReDoc to 2.0.0-alpha.40
|
2018-10-14 04:30:53 +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 |
|
Cristi Vîjdea
|
c510de13d7
|
Do not try to use inspect.signature on Python 2.7
Fixes #222.
|
2018-10-10 00:35:43 +03:00 |
|
Cristi Vîjdea
|
207a7e2b2d
|
Do not generate full schema in UI views
|
2018-10-09 01:38:12 +03:00 |
|
Cristi Vîjdea
|
cbae10c434
|
Refactor CamelCaseJSONFilter to be more extensible
|
2018-10-09 01:37:32 +03:00 |
|
Cristi Vîjdea
|
81fa4b44c8
|
Remove setup requirements from lint tox env
|
2018-10-09 01:16:58 +03:00 |
|
Cristi Vîjdea
|
20786e53c3
|
Provide more OpenAPISchemaGenerator extension points
Add ``should_include_endpoint`` and ``get_paths_object``.
|
2018-09-13 05:51:34 +03:00 |
|
Cristi Vîjdea
|
120c4dd884
|
Fix IPv4 pattern on Django 1.11
|
2018-09-13 05:14:08 +03:00 |
|
Cristi Vîjdea
|
5bdce56bba
|
Fix docs build with sphinx 1.8
|
2018-09-13 05:12:40 +03:00 |
|
Cristi Vîjdea
|
e761e2da50
|
Add 1.10.2 changelog
|
2018-09-13 04:19:31 +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
|
c8f6d16891
|
Update ReDoc to 2.0.0-alpha.38
|
2018-09-13 03:44:10 +03:00 |
|
Cristi Vîjdea
|
857ef05b07
|
Handle reverse_lazy
Fixes #209.
|
2018-09-13 03:38:13 +03:00 |
|
Cristi Vîjdea
|
586b88d8f3
|
Allow pattern on any field
|
2018-09-13 03:34:01 +03:00 |
|
Cristi Vîjdea
|
27cd5f7f2a
|
Add some convenience methods
|
2018-09-11 02:41:55 +03:00 |
|
Cristi Vîjdea
|
90812f5c43
|
Refactor get_queryset_from_view
|
2018-09-10 14:34:30 +03:00 |
|
Cristi Vîjdea
|
a6ae8b0521
|
Add ReDoc settings descriptions
|
2018-09-10 14:02:37 +03:00 |
|
Cristi Vîjdea
|
91530b64c6
|
Add DISPLAY_OPERATION_ID setting for swagger-ui
Closes #206.
|
2018-09-10 14:02:25 +03:00 |
|
Cristi Vîjdea
|
6820d6bc70
|
Fix RelatedFieldInspector nesting issues
|
2018-09-10 05:04:03 +03:00 |
|
Cristi Vîjdea
|
f50ad29a2b
|
Fix lint errors
|
2018-09-10 02:48:08 +03:00 |
|
Cristi Vîjdea
|
27e38101a4
|
Add customization blocks to ui templates
Closes #178.
|
2018-09-10 02:41:02 +03:00 |
|
Cristi Vîjdea
|
4bac38e67b
|
Update ReDoc settings
|
2018-09-10 01:39:57 +03:00 |
|
Cristi Vîjdea
|
10abf46597
|
Merge pull request #204 from axnsan12/release-1.10.1
Lotsa fixes. Sorry for the long time no see 😄
|
2018-09-10 01:00:26 +03:00 |
|
Cristi Vîjdea
|
42841e3092
|
Add 1.10.1 changelog
|
2018-09-10 00:42:45 +03:00 |
|
Cristi Vîjdea
|
0654aefe58
|
Update swagger-ui to 3.18.2 and ReDoc to 2.0.0-alpha.37
|
2018-09-10 00:13:39 +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 |
|
Cristi Vîjdea
|
591c12f1a7
|
Fix request_body=no_body handling
Fixes #188, #199.
|
2018-09-09 23:14:09 +03:00 |
|
Cristi Vîjdea
|
271918a678
|
Fix empty swagger_auto_schema return value
|
2018-09-09 23:14:09 +03:00 |
|
Cristi Vîjdea
|
c5c40e31c4
|
Log regex compilation failure in find_regex
Closes #193.
|
2018-09-09 22:33:13 +03:00 |
|
Cristi Vîjdea
|
3ac6c9ec3a
|
Remove dependency on future
Sole use was raise_from.
six.raise_from loses exception detail on Python 2, so god help the programmers of the past.
Fixes #196.
|
2018-09-09 22:29:11 +03:00 |
|
Cristi Vîjdea
|
5fa35d5b81
|
Check for None before calling to_representation
Django REST Framework also does this in serializers.
https://github.com/encode/django-rest-framework/issues/2299
https://github.com/encode/django-rest-framework/blob/4d57d46bf89f54f276909219ee06f0a2bf112f9f/rest_framework/serializers.py#L518
Fixes #203.
|
2018-09-09 22:22:58 +03:00 |
|
Cristi Vîjdea
|
6e39a58b2d
|
Defer settings imports to avoid ImportErrors
|
2018-09-09 21:56:26 +03:00 |
|
Cristi Vîjdea
|
e146a9712e
|
Remove minor version from PyCharm python interpreter name
This allows for conflictless development on any supproted python version
|
2018-09-09 21:56:26 +03:00 |
|
Cristi Vîjdea
|
ec7529399e
|
Fix swagger-ui style when session auth is disabled
|
2018-09-09 21:56:26 +03:00 |
|
Cristi Vîjdea
|
824baf7e9d
|
Update PyCharm interpreter to python 3.7
|
2018-08-14 09:54:05 +03:00 |
|
Cristi Vîjdea
|
dd50eb5e12
|
Remove unused requirement
|
2018-08-14 09:53:47 +03:00 |
|
Cristi Vîjdea
|
9b56e1a4c8
|
Avoid invalid usage of readOnly
|
2018-08-09 04:27:08 +03:00 |
|
Cristi Vîjdea
|
608abaf0e1
|
Fuck this test
|
2018-08-09 04:02:35 +03:00 |
|
Cristi Vîjdea
|
64e13a94da
|
Remove tox-battery from CI requirements
|
2018-08-09 03:54:35 +03:00 |
|
Cristi Vîjdea
|
5051f91c97
|
Don't cache .tox on travis
|
2018-08-09 03:52:18 +03:00 |
|
Cristi Vîjdea
|
d1ae81a27e
|
Fix relative imports
|
2018-08-09 03:52:09 +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
|
8a69f08c29
|
Update ReDoc to 2.0.0-alpha.34
|
2018-08-09 03:15:08 +03:00 |
|
Cristi Vîjdea
|
e533b0827a
|
Add ReDoc 1.x.x renderer
|
2018-08-09 03:14:08 +03:00 |
|
Cristi Vîjdea
|
dc78dfdad8
|
Shrink tox envlist
|
2018-08-08 01:53:24 +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
|
afcba582b3
|
Add 1.10.0 changelog
|
2018-08-08 01:27:35 +03:00 |
|
Cristi Vîjdea
|
12f1d23048
|
Fix lint errors
|
2018-08-08 01:24:36 +03:00 |
|
Cristi Vîjdea
|
a5eb3dfa91
|
Add EXCLUDED_MEDIA_TYPES setting
Closes #158.
|
2018-08-08 00:59:01 +03:00 |
|
Cristi Vîjdea
|
5cd642c9a0
|
Show warning on ref_name collisions
Closes #156
|
2018-08-08 00:58:35 +03:00 |
|
Cristi Vîjdea
|
3f2d2871f0
|
Update swagger-ui to 3.18.0
|
2018-08-08 00:58:08 +03:00 |
|
Cristi Vîjdea
|
247c1a306a
|
Add operation_summary and deprecated to swagger_auto_schema
Closes #149, #173.
|
2018-08-08 00:57:30 +03:00 |
|
Cristi Vîjdea
|
4ca634a45b
|
Lint with python 3.6
|
2018-08-07 22:54: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 |
|
Cristi Vîjdea
|
65aac1da2c
|
Make swagger_auto_schema work with action mappings
Fixes #177.
|
2018-08-07 22:38:36 +03:00 |
|
Cristi Vîjdea
|
4c069138e8
|
Fix lint errors
|
2018-08-07 21:24:36 +03:00 |
|
Cristi Vîjdea
|
33eb9d381c
|
Fix for python 2
|
2018-08-07 17:28:03 +03:00 |
|
Cristi Vîjdea
|
e80101d98c
|
Make handling of setuptools-scm in setup more robust
Fixes #181
|
2018-08-07 17:19:58 +03:00 |
|
Cristi Vîjdea
|
8de704d7ae
|
Update Heroku runtime
|
2018-08-07 17:18:05 +03:00 |
|
Cristi Vîjdea
|
165ac6c076
|
Make dummy version string PEP 440 compliant
https://www.python.org/dev/peps/pep-0440/#version-scheme
|
2018-08-07 16:03:39 +03:00 |
|
Cristi Vîjdea
|
9eb0db466c
|
Fix Identity field names
|
2018-08-06 16:37:20 +03:00 |
|
Cristi Vîjdea
|
df0f43084f
|
Reuse pip cache on travis (remove -U)
|
2018-08-06 12:37:58 +03:00 |
|
Cristi Vîjdea
|
16b6ed7fd6
|
Test with Django 2.1 and Python 3.7 (#176)
* Test with Django 2.1 and Python 3.7
* Fix lint errors
* Remove setuptools-scm hack
* Factor out coverage script
* Cache .tox in travis
* Update README & docs
|
2018-08-06 12:24:56 +03:00 |
|
Cristi Vîjdea
|
904895ba3c
|
Add 1.9.2 changelog
|
2018-08-03 23:43:52 +03:00 |
|
Cristi Vîjdea
|
79adfc19be
|
Update swagger-ui to 3.17.6 and ReDoc to 2.0.0-alpha.32
|
2018-08-03 20:27:41 +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
|
f2e05ee4c0
|
Fix ReDoc configuration docs link
Closes #171
|
2018-08-03 16:50:28 +03:00 |
|
Cristi Vîjdea
|
8fbab88bda
|
Fix changelog
|
2018-06-30 01:55:19 +03:00 |
|
Cristi Vîjdea
|
58b979f4ea
|
Fix 1.9.1 tag fuckup
Accidentally disappeared 178390a9a0
|
2018-06-30 01:42:02 +03:00 |
|
Cristi Vîjdea
|
d9b6fbc1b8
|
Add 1.9.1 changelog
|
2018-06-30 00:32:07 +03:00 |
|
Cristi Vîjdea
|
20370d912e
|
Update swagger-ui to 3.17.1 and ReDoc to 2.0.0-alpha.25
|
2018-06-30 00:32:07 +03:00 |
|
Cristi Vîjdea
|
7982f62f38
|
Add LICENSE file to wheel
|
2018-06-30 00:18:19 +03:00 |
|
Cristi Vîjdea
|
9fa4765121
|
Ignore None when passed in as response override
Closes #148
|
2018-06-29 23:13:36 +03:00 |
|
Cristi Vîjdea
|
696ec3a94a
|
Add swagger_fake_view marker to help detect fake views in get_serializer
Cleaner fix for #154
|
2018-06-29 18:00:54 +03:00 |
|
Cristi Vîjdea
|
e0aec3ff45
|
Test that get_serializer is not called when overriden
Views' ``get_serializer`` methods should not be called when the serializer is provided by ``request_body`` or ``responses``.
Closes #154
|
2018-06-29 17:41:41 +03:00 |
|
Cristi Vîjdea
|
0697c415ed
|
Update changelog
|
2018-06-16 17:04:02 +03:00 |
|
Cristi Vîjdea
|
54ad90415d
|
Add 1.9.0 changelog
|
2018-06-16 15:55:36 +03:00 |
|
Cristi Vîjdea
|
1184ea8b46
|
Add --generator-class argument to management command
Closes #140
|
2018-06-16 15:54:51 +03:00 |
|
Cristi Vîjdea
|
6ac58b8cf7
|
Fix testproj duplicate operation id
Fixes #139
|
2018-06-16 15:41:51 +03:00 |
|
Cristi Vîjdea
|
d627a1bc5d
|
Handle coreapi Fields without a schema attribute
Fixes #143
|
2018-06-16 15:08:59 +03:00 |
|
Cristi Vîjdea
|
38e884b5ea
|
Remove wrong 'count' in paginator response required fields
Fixes #141
|
2018-06-16 15:06:09 +03:00 |
|
Cristi Vîjdea
|
2ef7cfbfe3
|
Catch and log exceptions raised from get_serializer
Fixes #135
|
2018-06-01 16:21:25 +03:00 |
|
Cristi Vîjdea
|
58adbb8f4c
|
Coerce read_only into a boolean
|
2018-06-01 15:36:37 +03:00 |
|
Cristi Vîjdea
|
34c7fa2b0e
|
Update swagger-ui to 3.16.0 and ReDoc to 2.0.0-alpha.22
|
2018-05-31 00:35:11 +03:00 |
|
Cristi Vîjdea
|
6b2ce7d0f9
|
Update changelog and release 1.8.0
|
2018-05-31 00:24:48 +03:00 |
|
Cristi Vîjdea
|
256a052564
|
Add ability to set Schema fields through the serializer Meta class (#134)
* Add swagger_schema_fields attribute to serializer Meta class
* Add documentation
Closes #132.
|
2018-05-31 00:15:21 +03:00 |
|
Cristi Vîjdea
|
cc90bc1544
|
Add some coverage exemptions
|
2018-05-30 22:33:36 +03:00 |
|