ksolutions.swagger-plantuml-core.1.0.3.source-code.puml.mustache Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swagger-plantuml-core Show documentation
Show all versions of swagger-plantuml-core Show documentation
Core POM to generate Plant UML from Swagger
The newest version!
@startuml
hide empty members
set namespaceSeparator none
skinparam class {
BackgroundColor PaleGreen
ArrowColor RoyalBlue
BorderColor DimGray
}
{{#classDiagrams}}
{{#isClass}}class{{/isClass}} {{^isClass}}enum{{/isClass}} {{className}} {{#superClass}} < ? extends {{superClass}}> {{/superClass}}{
{{#fields}}
- {{#name}}{{name}}{{/name}} {{#dataType}}:{{dataType}}{{/dataType}}
{{/fields}}
}
{{/classDiagrams}}
{{#interfaceDiagrams}}
interface {{interfaceName}} {
{{#methods}}
+ {{methodDefinition}}:{{returnType}} {{#errorClass}} throws {{errorClass}} {{/errorClass}}
{{/methods}}
}
{{/interfaceDiagrams}}
{{#entityRelations}}
{{sourceClass}} {{#isExtension}}-->{{/isExtension}} {{#isComposition}}*--{{/isComposition}} {{#cardinality}}"{{cardinality}}"{{/cardinality}} {{targetClass}}
{{/entityRelations}}
note as N1
Name: {{title}}
Version: {{version}}
end note
@enduml