From fe84fccae6391181bf17c7472ecf490ee423b768 Mon Sep 17 00:00:00 2001 From: Kyle Hall Date: Thu, 7 Oct 2021 14:42:33 -0400 Subject: [PATCH] Bug 28948: Remove query params, 'q' param covers everything needed --- api/v1/swagger/paths/libraries.json | 244 ++++++++++++++-------------- 1 file changed, 125 insertions(+), 119 deletions(-) diff --git a/api/v1/swagger/paths/libraries.json b/api/v1/swagger/paths/libraries.json index dfea9bee5b2..01ba3950094 100644 --- a/api/v1/swagger/paths/libraries.json +++ b/api/v1/swagger/paths/libraries.json @@ -8,6 +8,131 @@ ], "summary": "List libraries", "parameters": [ + { + "name": "name", + "in": "query", + "description": "Case insensitive 'starts-with' search on name", + "required": false, + "type": "string" + }, + { + "name": "address1", + "in": "query", + "description": "Case insensitive 'starts-with' search on address1", + "required": false, + "type": "string" + }, + { + "name": "address2", + "in": "query", + "description": "Case insensitive 'starts-with' search on address2", + "required": false, + "type": "string" + }, + { + "name": "address3", + "in": "query", + "description": "Case insensitive 'starts-with' search on address3", + "required": false, + "type": "string" + }, + { + "name": "postal_code", + "in": "query", + "description": "Case insensitive 'starts-with' search on postal code", + "required": false, + "type": "string" + }, + { + "name": "city", + "in": "query", + "description": "Case insensitive 'starts-with' search on city", + "required": false, + "type": "string" + }, + { + "name": "state", + "in": "query", + "description": "Case insensitive 'starts-with' search on state", + "required": false, + "type": "string" + }, + { + "name": "country", + "in": "query", + "description": "Case insensitive 'starts_with' search on country", + "required": false, + "type": "string" + }, + { + "name": "phone", + "in": "query", + "description": "Case insensitive 'starts_with' search on phone number", + "required": false, + "type": "string" + }, + { + "name": "fax", + "in": "query", + "description": "Case insensitive 'starts_with' search on fax number", + "required": false, + "type": "string" + }, + { + "name": "email", + "in": "query", + "description": "Case insensitive 'starts_with' search on email address", + "required": false, + "type": "string" + }, + { + "name": "reply_to_email", + "in": "query", + "description": "Case insensitive 'starts_with' search on Reply-To email address", + "required": false, + "type": "string" + }, + { + "name": "return_path_email", + "in": "query", + "description": "Case insensitive 'starts_with' search on Return-Path email address", + "required": false, + "type": "string" + }, + { + "name": "url", + "in": "query", + "description": "Case insensitive 'starts_with' search on website URL", + "required": false, + "type": "string" + }, + { + "name": "ip", + "in": "query", + "description": "Case insensitive 'starts_with' search on IP address", + "required": false, + "type": "string" + }, + { + "name": "notes", + "in": "query", + "description": "Case insensitive 'starts_with' search on notes", + "required": false, + "type": "string" + }, + { + "name": "opac_info", + "in": "query", + "description": "Case insensitive 'starts-with' search on OPAC info", + "required": false, + "type": "string" + }, + { + "$ref": "../parameters.json#/match" + }, + { + "$ref": "../parameters.json#/order_by" + }, { "$ref": "../parameters.json#/page" }, @@ -316,125 +441,6 @@ ], "summary": "List libraries", "parameters": [ - { - "name": "name", - "in": "query", - "description": "Case insensitive 'starts-with' search on name", - "required": false, - "type": "string" - }, - { - "name": "address1", - "in": "query", - "description": "Case insensitive 'starts-with' search on address1", - "required": false, - "type": "string" - }, - { - "name": "address2", - "in": "query", - "description": "Case insensitive 'starts-with' search on address2", - "required": false, - "type": "string" - }, - { - "name": "address3", - "in": "query", - "description": "Case insensitive 'starts-with' search on address3", - "required": false, - "type": "string" - }, - { - "name": "postal_code", - "in": "query", - "description": "Case insensitive 'starts-with' search on postal code", - "required": false, - "type": "string" - }, - { - "name": "city", - "in": "query", - "description": "Case insensitive 'starts-with' search on city", - "required": false, - "type": "string" - }, - { - "name": "state", - "in": "query", - "description": "Case insensitive 'starts-with' search on state", - "required": false, - "type": "string" - }, - { - "name": "country", - "in": "query", - "description": "Case insensitive 'starts_with' search on country", - "required": false, - "type": "string" - }, - { - "name": "phone", - "in": "query", - "description": "Case insensitive 'starts_with' search on phone number", - "required": false, - "type": "string" - }, - { - "name": "fax", - "in": "query", - "description": "Case insensitive 'starts_with' search on fax number", - "required": false, - "type": "string" - }, - { - "name": "email", - "in": "query", - "description": "Case insensitive 'starts_with' search on email address", - "required": false, - "type": "string" - }, - { - "name": "reply_to_email", - "in": "query", - "description": "Case insensitive 'starts_with' search on Reply-To email address", - "required": false, - "type": "string" - }, - { - "name": "return_path_email", - "in": "query", - "description": "Case insensitive 'starts_with' search on Return-Path email address", - "required": false, - "type": "string" - }, - { - "name": "url", - "in": "query", - "description": "Case insensitive 'starts_with' search on website URL", - "required": false, - "type": "string" - }, - { - "name": "ip", - "in": "query", - "description": "Case insensitive 'starts_with' search on IP address", - "required": false, - "type": "string" - }, - { - "name": "notes", - "in": "query", - "description": "Case insensitive 'starts_with' search on notes", - "required": false, - "type": "string" - }, - { - "name": "opac_info", - "in": "query", - "description": "Case insensitive 'starts-with' search on OPAC info", - "required": false, - "type": "string" - }, { "$ref": "../parameters.json#/match" }, -- 2.30.2