From 81bcf385518142af7d19be835f05c0f38b20c46a Mon Sep 17 00:00:00 2001
From: Agustin Moyano <agustinmoyano@theke.io>
Date: Thu, 30 Jan 2020 19:20:42 +0000
Subject: [PATCH] Bug 24502: (follow-up) Add default q parameter in api
definition
---
api/v1/swagger/parameters.json | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/api/v1/swagger/parameters.json b/api/v1/swagger/parameters.json
index adc455018c..5a70ab1efb 100644
--- a/api/v1/swagger/parameters.json
+++ b/api/v1/swagger/parameters.json
@@ -70,6 +70,20 @@
"description": "Page size, for paginated object listing",
"type": "integer"
},
+ "q": {
+ "name": "q",
+ "in": "body",
+ "required": false,
+ "description": "Query filter",
+ "schema": {
+ "type": "object",
+ "properties": {
+ "q": {
+ "type": ["object", "array"]
+ }
+ }
+ }
+ },
"fundidPathParam": {
"$ref": "parameters/fund.json#/fundidPathParam"
}
--
2.17.1