Skip to content

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

@jtnystrom

Description

@jtnystrom
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

#4426

Suggest a Fix

I will try to submit a PR soon.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions