Skip to content
/ yaml2uml Public

Convert Swagger YAML files (definitions) to an XML file that can be opened on draw.io website

License

Notifications You must be signed in to change notification settings

sefo/yaml2uml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yaml2uml

Convert Swagger YAML files (definitions part) to an XML file that can be opened on https://www.draw.io/

Head over to https://sefo.github.io/yaml2uml/ and try it out.

Supports swagger 2.0 and OpenApi 3 models (definitions vs components.schemas)

Supports array refs

  TestArray:
    type: "array"
    items:
      $ref: "#/definitions/Tag"

Supports allOf

  Dog:
    allOf:
      - $ref: '#/components/schemas/Pet'
      - type: object
        properties:
          bark:
            type: boolean
          breed:
            type: string
            enum: [Dingo, Husky, Retriever, Shepherd]

Current TODOS:

  • Fix position problem
    • Class diagrams are not aligned correctly on the grid at the moment
  • Add relationships between classes
    • Parsing category: $ref: "#/definitions/Category"

About

Convert Swagger YAML files (definitions) to an XML file that can be opened on draw.io website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published