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" } },

回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ