swagger-api/swagger-codegen

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

オープン

#4,976 opened on 2017/03/08

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)HTML (5,474 件のフォーク)batch import
Enhancement: GeneralServer: Scalahelp wanted

Repository metrics

Stars
 (12,701 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド