All Projects → kicksolutions → swagger2puml

kicksolutions / swagger2puml

Licence: Apache-2.0 license
Generate Class Diagrams (UML) for Given Swagger Definition

Programming Languages

java
68154 projects - #9 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to swagger2puml

PlantUml-Language-Service
PlantUml Language Service extension for Visual Studio 2017 and 2019
Stars: ✭ 24 (-44.19%)
Mutual labels:  graphviz, uml, plantuml, uml-diagram
Kroki
Creates diagrams from textual descriptions!
Stars: ✭ 774 (+1700%)
Mutual labels:  graphviz, uml, plantuml
C4 Plantuml
C4-PlantUML combines the benefits of PlantUML and the C4 model for providing a simple way of describing and communicate software architectures
Stars: ✭ 3,522 (+8090.7%)
Mutual labels:  graphviz, uml, plantuml
Azure Plantuml
PlantUML sprites, macros, and other includes for Azure services
Stars: ✭ 247 (+474.42%)
Mutual labels:  graphviz, uml, plantuml
Aws Plantuml
PlantUML sprites, macros, and other includes for AWS components.
Stars: ✭ 565 (+1213.95%)
Mutual labels:  graphviz, uml, plantuml
ecto erd
A mix task for generating Entity Relationship Diagram from Ecto schemas available in your project.
Stars: ✭ 173 (+302.33%)
Mutual labels:  graphviz, uml, plantuml
Asciidoctor Kroki
Asciidoctor.js extension to convert diagrams to images using Kroki!
Stars: ✭ 55 (+27.91%)
Mutual labels:  graphviz, uml, plantuml
C4-PlantumlSkin
This library provides skinning to create C4 diagrams using PlantUml
Stars: ✭ 74 (+72.09%)
Mutual labels:  uml, plantuml, uml-diagrams
PlantUML-colors
This script is to show all named color suggested by PlantUML
Stars: ✭ 52 (+20.93%)
Mutual labels:  uml, plantuml, uml-diagram
dcdg.dart
Dart Class Diagram Generator
Stars: ✭ 98 (+127.91%)
Mutual labels:  uml, plantuml, uml-diagram
IPlantUML
A Python package which defines a PlantUML cell magic for IPython.
Stars: ✭ 85 (+97.67%)
Mutual labels:  uml, plantuml, uml-diagram
doteur
Tool to automate the visualisation of SQL schemas from a SQL file
Stars: ✭ 80 (+86.05%)
Mutual labels:  graphviz, uml
phuml
phUML is a UML diagram generator. It takes arbitrary object oriented PHP code and creates fully blown class diagrams of it.
Stars: ✭ 75 (+74.42%)
Mutual labels:  graphviz, uml-class-diagram
xumlidot
RUBY UML class diagram generator with XMI and DOT output.
Stars: ✭ 28 (-34.88%)
Mutual labels:  uml, uml-diagram
Plantuml Icon Font Sprites
plantuml-font-icon-sprites
Stars: ✭ 242 (+462.79%)
Mutual labels:  uml, plantuml
Protobuf Uml Diagram
Create UML diagrams from Protobuf compiled .proto files using Python
Stars: ✭ 17 (-60.47%)
Mutual labels:  graphviz, uml
Markdeck
presentations as code - author cool slide decks, text-only, offline-ready, collaborative
Stars: ✭ 1,159 (+2595.35%)
Mutual labels:  graphviz, plantuml
typeorm-uml
Generate Entity Relationship diagrams for Typeorm powered projects.
Stars: ✭ 207 (+381.4%)
Mutual labels:  plantuml, uml-diagrams
plantuml2mysql
This utility parses PlantUML class diagram and generates SQL DDL for MySQL
Stars: ✭ 110 (+155.81%)
Mutual labels:  plantuml, uml-diagram
Plantuml Service
High-performance HTTP service for PlantUML, used in Kibela
Stars: ✭ 86 (+100%)
Mutual labels:  uml, plantuml

Build Status Maven Central codecov

Swagger2Puml

Swagger to Puml convertion tool helps to generate Class Diagrams from Swagger Definition.

This Project is based on Maven and plan to support Gradle also in future. Following are modules we currently have

  • swagger2puml-core
  • swagger2puml-maven

Following are the tools which this project internally uses:

Please install Graphviz on your machines, ensure you edit PATH varible of your machine and add bin folder of graphviz.

Create a new System Variable called GRAPHVIZ_DOT and point to dot.exe for windows and dot in case of Linux in bin folder of graphviz.

How does it work

  • Swagger2Puml internally reads the swagger definition using Swagger Parser which then converts the Swagger Definition to swagger.puml
  • Once the swagger.puml gets generated sucessfully it then calls Plant UML to generate swagger.svg

swagger2puml-core:

This utility takes Swagger Yaml as input and as response it generates swagger.puml and swagger.svg files as output.

Below is the Sample Class Diagram which gets generated. To see the generated PUML file, please click here

Swagger-Class-Diagram-Sample

Usage:

java -cp swagger2puml.jar com.kicksolutions.swagger.Swagger2PlantUML [options]

-i {Path of Swagger Definition (Can be either Yaml or json)}
-o {Target location where Puml File and Image should generated}
-generateDefinitionModelOnly {true/flase Defult False (Optional)}
-includeCardinality {true/flase Defult true (Optional)}
-includeCardinality {true/flase Defult true (Optional)}

swagger2puml-maven

This Maven plugin is Mojo, which internally calls swagger2puml-core to generate swagger.puml and swagger.svg for given Swagger Definition. Swagger Definition can be either yaml or json extensions.

License

Apacahe 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].