Bugzilla – Attachment 121287 Details for
Bug 28370
Routes still missing additionalProperties in spec
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28370: (follow-up) More cases
Bug-28370-follow-up-More-cases.patch (text/plain), 2.73 KB, created by
Tomás Cohen Arazi (tcohen)
on 2021-05-21 20:21:51 UTC
(
hide
)
Description:
Bug 28370: (follow-up) More cases
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2021-05-21 20:21:51 UTC
Size:
2.73 KB
patch
obsolete
>From a548d69980b8d09d8e8ecbd82999fde5d754a09f Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Fri, 21 May 2021 12:52:02 -0300 >Subject: [PATCH] Bug 28370: (follow-up) More cases > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > api/v1/swagger/definitions/error.json | 3 ++- > api/v1/swagger/paths/holds.json | 15 ++++++++++----- > api/v1/swagger/paths/oauth.json | 3 ++- > 3 files changed, 14 insertions(+), 7 deletions(-) > >diff --git a/api/v1/swagger/definitions/error.json b/api/v1/swagger/definitions/error.json >index e43673f2174..3f81255bb10 100644 >--- a/api/v1/swagger/definitions/error.json >+++ b/api/v1/swagger/definitions/error.json >@@ -5,5 +5,6 @@ > "description": "Error message", > "type": "string" > } >- } >+ }, >+ "additionalProperties": true > } >diff --git a/api/v1/swagger/paths/holds.json b/api/v1/swagger/paths/holds.json >index 366cf358380..bb7a0359213 100644 >--- a/api/v1/swagger/paths/holds.json >+++ b/api/v1/swagger/paths/holds.json >@@ -214,7 +214,8 @@ > "type": [ "boolean", "null" ] > } > }, >- "required": [ "patron_id", "pickup_library_id" ] >+ "required": [ "patron_id", "pickup_library_id" ], >+ "additionalProperties": false > } > }, > { >@@ -307,7 +308,8 @@ > "type": "string", > "format": "date" > } >- } >+ }, >+ "additionalProperties": false > } > } > ], >@@ -510,7 +512,8 @@ > "type": "string", > "format": "date" > } >- } >+ }, >+ "additionalProperties": false > } > } > ], >@@ -736,7 +739,8 @@ > "type": "string", > "description": "Internal identifier for the pickup library" > } >- } >+ }, >+ "additionalProperties": false > } > } > ], >@@ -753,7 +757,8 @@ > "type": "string", > "description": "Internal identifier for the pickup library" > } >- } >+ }, >+ "additionalProperties": false > } > }, > "400": { >diff --git a/api/v1/swagger/paths/oauth.json b/api/v1/swagger/paths/oauth.json >index 4b00db605a2..f58f29f8905 100644 >--- a/api/v1/swagger/paths/oauth.json >+++ b/api/v1/swagger/paths/oauth.json >@@ -43,7 +43,8 @@ > "expires_in": { > "type": "integer" > } >- } >+ }, >+ "additionalProperties": false > } > }, > "400": { >-- >2.31.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 28370
:
121110
|
121134
|
121232
|
121270
|
121284
|
121285
|
121286
| 121287 |
121289