Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Issues
  • #312
Closed
Open
Issue created Jun 14, 2018 by Administrator@rootContributor

[rust-server] support multiple tags

Created by: bjgill

Description

See https://github.com/swagger-api/swagger-codegen/issues/8201#issuecomment-389895761 - rust-server cannot cope with the following endpoint:

  /fake/many_tags:
    get:
      tags:
        - user
        - store
      description: Multiple status values can be provided with comma separated strings
      responses:
        '200':
          description: foo

As far as I can tell, this causes rust-server to generate multiple trait methods with the same name.

We should fix this and add a test.

(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
Assignee
Assign to
Time tracking