AWS Api 网关查询字符串集合格式多

AWS Api Gateway querystring collection format multi

我们目前正在从一个 swagger 文件中导入我们的 API,其中我们将查询字符串参数定义为

- name: sort
  in: query
  description: The sort key and direction.
  required: false
  type: string
  collectionFormat: multi

但是似乎没有 x-amazon-apigateway-integration.requestParameters 支持 collectionsFormat: multi。当我发送像 ?sort=price,DESC&sort=created,ASC 这样的 API 请求时,它只会将最后一个排序参数传递给我的集成。

有人知道这是否受支持吗?

很遗憾,API 网关目前不支持此功能。

谢谢! 日提莎.