Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rust-server] lacks collectionFormat support #315

Open
bjgill opened this issue Jun 14, 2018 · 1 comment
Open

[rust-server] lacks collectionFormat support #315

bjgill opened this issue Jun 14, 2018 · 1 comment

Comments

@bjgill
Copy link
Contributor

bjgill commented Jun 14, 2018

Description

See swagger-api/swagger-codegen#8173 (comment). I no longer remember what the problem was, but it seems as if we generate invalid Rust when faced with a collectionFormat.

e.g.

      parameters:
        - in: query
          name: color
          type: array
          collectionFormat: csv
          items:
            type: string

(Note: this part of a set of issues from swagger-codegen. I didn't fix this as part of the move to openapi-generator. Thus I strongly suspect rust-server in openapi-generator also suffers the same problem. I'm not planning on working on this at the moment - contributions gratefully welcomed)

openapi-generator version
OpenAPI declaration file content or url
Command line used for generation
Steps to reproduce
Related issues/PRs
Suggest a fix/enhancement
@PiDelport
Copy link
Contributor

This applies to the Rust client, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants