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
  • #6236
Closed
Open
Issue created May 09, 2020 by Administrator@rootContributor

[REQ] Generate a Class Diagram for complex Schemas

Created by: pburls

Is your feature request related to a problem? Please describe.

I work on a project with a large, rich data model exposed over several interfaces and I am busy trying to create OpenAPI specifications for these existing interfaces for the first time.

I've taken the opportunity to introduce some additional abstractions and data types to really leverage inheritance and composition to reduce repetition of properties without changing the actual structure of the final messages.

To help everyone involved understand these abstractions I've added, I would really like to be able to generate some kind of Class/Entity Diagram to show all the attributes and relationships from all the schemas in the OpenAPI spec files I have created. It will also be useful to add to the documentation for the interfaces going forward.

Describe the solution you'd like

I would really like to be able to generate a PlantUML Class or Entity diagram from the schames in a given OpenAPI file.

Describe alternatives you've considered

I have thought about generating the model code for a language as already supported and then using an appropriate class diagram generating tool using the code. It does seem like a bit of a round about approach and requires the language to support multiple inheritance. This doesn't seem ideal.

Assignee
Assign to
Time tracking