swagger-api/swagger-codegen

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

Open

#4,976 建立於 2017年3月8日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)HTML (5,474 fork)batch import
Enhancement: GeneralServer: Scalahelp wanted

倉庫指標

Star
 (12,701 star)
PR 合併指標
 (30 天內沒有已合併 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.

貢獻者指南