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
  • #630
Closed
Open
Issue created Jul 23, 2018 by Administrator@rootContributor

[all] Shared parameters in paths are ignored

Created by: javadch

The following spec that helps to reuse a set of parameters for all the verbs of a path is supported in OAS3 but the spring (with delegate) code-gen (version 3.1.0) ignores it.

  '/rooms/{id}':
      parameters:
        - $ref: '#/components/parameters/entityId'
      get:
         summary: Get a room
         operationId: getRoom

However, when I move the parameters to each verb, the code-gen works.

  '/rooms/{id}':
      get:
         summary: Get a room
         operationId: getRoom
         parameters:
            - $ref: '#/components/parameters/entityId'
Assignee
Assign to
Time tracking