From 0c8de3de63cfce79a0d2a4f83a828af4ffa8e8b1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 5 Jun 2020 17:39:39 +0000 Subject: [PATCH 1/2] Bump django from 2.2.10 to 2.2.13 Bumps [django](https://github.com/django/django) from 2.2.10 to 2.2.13. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/2.2.10...2.2.13) Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index caafbe6..b9b7173 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ #Django==1.11.7 -Django==2.2.10 +Django==2.2.13 oauthlib==2.0.0 requests==2.20.0 requests-oauthlib==0.6.2 From 3e58fa4cdde8bcea97803a6d3f73501cfa8d8a88 Mon Sep 17 00:00:00 2001 From: hongwei Date: Tue, 9 Jun 2020 14:27:46 +0200 Subject: [PATCH 2/2] tweaked the json boolean string "true" --> True --- apimanager/dynamicendpoints/views.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apimanager/dynamicendpoints/views.py b/apimanager/dynamicendpoints/views.py index f1c7a95..a0495e0 100644 --- a/apimanager/dynamicendpoints/views.py +++ b/apimanager/dynamicendpoints/views.py @@ -63,7 +63,7 @@ class IndexView(LoginRequiredMixin, FormView): "parameters":[{ "name":"body", "in":"body", - "required":"true", + "required":True, "schema":{ "$ref":"#/definitions/user" } @@ -144,7 +144,7 @@ class IndexView(LoginRequiredMixin, FormView): "parameters":[{ "name":"body", "in":"body", - "required":"true", + "required":True, "schema":{ "$ref":"#/definitions/user" } @@ -255,7 +255,7 @@ class IndexView(LoginRequiredMixin, FormView): "userId":{ "name":"userId", "in":"path", - "required":"true", + "required":True, "type":"string", "description":"user ID" }