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
  • #742
Closed
Open
Issue created Aug 06, 2018 by Administrator@rootContributor

[ASPNETCORE] Multiple files

Created by: johnfg2610

Description

I am trying to split my project up and in doing so I'm using $ref quite extensively but when I run the generator it does seem to build it, I suspect I'm doing something incorrect as this is the first time I've created a project with openapi 3. it generates no controllers or models.

openapi-generator version

3.1.2

OpenAPI declaration file content or url
paths: 
  /seller/{sellerId}:
    $ref: 'seller.yml#/paths/get'

which links to another file in the same directory: https://gist.github.com/johnfg10/53f1ccc88fc57d91474c93fad965639c

Command line used for generation

generate -i schemas.yml -i store.yml -i seller.yml -i jshop.yml -g aspnetcore -o ./out

Assignee
Assign to
Time tracking