Skip to content

Commit

Permalink
feat: Bump djangorestframework from 3.9.4 to 3.11.2 (#340)
Browse files Browse the repository at this point in the history
* [Security] Bump djangorestframework from 3.9.4 to 3.11.2

Bumps [djangorestframework](https://github.com/encode/django-rest-framework) from 3.9.4 to 3.11.2. **This update includes a security fix.**
- [Release notes](https://github.com/encode/django-rest-framework/releases)
- [Commits](encode/django-rest-framework@3.9.4...3.11.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Fix issue with drf-yasg schema generator

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: jefmoura <jefmoura@protonmail.com>
  • Loading branch information
dependabot-preview[bot] and jefmoura committed Jun 30, 2021
1 parent 12c4550 commit cf723ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gateway/generator.py
Expand Up @@ -26,7 +26,7 @@ def get_schema(self, request=None, public=False):
swagger_spec = sw_aggregator.generate_swagger()

endpoints = self.get_endpoints(request)
components = openapi.ReferenceResolver(openapi.SCHEMA_DEFINITIONS)
components = self.reference_resolver_class(openapi.SCHEMA_DEFINITIONS, force_init=True)
paths, prefix = self.get_paths(endpoints, components, request, public)
paths.update(swagger_spec['paths'])
components['definitions'].update(swagger_spec['definitions'])
Expand Down
4 changes: 2 additions & 2 deletions requirements/base.txt
Expand Up @@ -2,15 +2,15 @@ Django==2.2.24
django-filter==2.2.0
django-health-check==3.6.1
git+https://github.com/buildlyio/django-oauth-toolkit-jwt@v0.5.2#egg=django-oauth-toolkit-jwt
djangorestframework==3.9.4
djangorestframework==3.11.2
psycopg2-binary==2.8.6
social-auth-app-django==3.1.0
django-oauth-toolkit==1.3.2
futures==3.1.1
django-cors-headers==2.5.3
pyswagger==0.8.39
bravado-core==5.13.1
drf-yasg==1.10.2
drf-yasg==1.20.0
requests==2.21.0
aiohttp==3.7.4
django-auth-ldap==2.1.0

0 comments on commit cf723ac

Please sign in to comment.