swagger-api/swagger-codegen

[scala] collectionFormat not supported for tsv, pipes, ssv, multi

开放

#4,976 创建于 2017年3月8日

 (3 条评论) (0 个反应) (0 位负责人)HTML (5,474 个派生)batch import
Enhancement: GeneralServer: Scalahelp wanted

仓库指标

星标
 (12,701 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Description

This is for the scalatra server (-l scalatra).

Generated code for collection parameters can only parse the csv format at the moment. Other formats, such as pipes, are not supported.

Swagger-codegen version

Latest github snapshot as of 2017-03-08

Swagger declaration file content or url

  /pathologies:
    get:
      summary: "Information about pathological findings."
      parameters:
        - name: sampleIdFilter
          description: "Sample IDs to get pathologies for"
          in: query
          type: array
          collectionFormat: pipes
          required: false
          items:
            type: string

Related issues

https://github.com/swagger-api/swagger-codegen/pull/4426

Suggest a Fix

I will try to submit a PR soon.

贡献者指南