How do I specify the data type of URL Query String Parameters in REST API Gateway Method Requests?

0

We can specify the name as well as control if it's required or not but I can't find out how the change the data type. When I export my API, the query parameters always have the data type of string. I even tried specifying it in my query string documentation but it gets ignored.

E.x.: The documentation { "description": "blah blah blah.", "schema": { "type": "boolean" } }

gets exported as

"parameters": [ { "name": "blahblahblah", "in": "query", "description": "blah blah blah.", "schema": { "type": "string" } },

hb2638
已提問 2 年前檢視次數 1684 次