如何使用json对象输入来记录swagger查询参数

par*_*axi 5 http-request-parameters jsonobject swagger-2.0

如何为in: query(不in: body)请求参数定义JSON对象值?

示例如下:

paths:
  /schedules:
    get:
      summary: Gets the list of schedules
      description: |
        The schedules endpoint returns information about the configured schedules.
      parameters:
        - name: filter
          in: query
          description: >
          Returns whether alert runs on matching schedule.


          Example request:


              {
                "type": "a",
                "start" : "b",
                "stop" : "c"
              }
          required: true
          type: string
Run Code Online (Sandbox Code Playgroud)

因为它不是in: body,我不能使用schema.