不允许使用多个主体参数swagger编辑器问题

时间:2019-09-26 07:50:24

标签: swagger swagger-ui swagger-2.0 swagger-editor

我正面临着麻烦的问题,在swagger编辑器中不允许使用多个身体参数。如有任何解决方案,请帮我:

swagger: '2.0'

- name: relationships
          in: body
          description: List of relationships object
          required: false
          schema:
            type: array
            items:
              $ref: '#/definitions/Relationships'
        - name: PVS
          in: body
          description: List of PVS object
          required: false
          schema:
            type: array
            items:
              $ref: '#/definitions/PVS'
      responses:
        '200':
          description: Success!

0 个答案:

没有答案