https://github.com/tefra/xsdata-plantuml
xsData PlantUML Plugin that generates class diagrams from xml schemas, wsdl definitions and directly from xml documents
https://github.com/tefra/xsdata-plantuml
class-diagram plantuml plugin schema uml wsdl xml xsd xsdata
Last synced: about 1 month ago
JSON representation
xsData PlantUML Plugin that generates class diagrams from xml schemas, wsdl definitions and directly from xml documents
- Host: GitHub
- URL: https://github.com/tefra/xsdata-plantuml
- Owner: tefra
- License: mit
- Created: 2021-03-16T21:30:34.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-01T09:46:48.000Z (10 months ago)
- Last Synced: 2024-12-01T10:38:56.677Z (10 months ago)
- Topics: class-diagram, plantuml, plugin, schema, uml, wsdl, xml, xsd, xsdata
- Language: Python
- Homepage:
- Size: 37.1 KB
- Stars: 21
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [xsdata](https://pypi.org/project/xsdata/) - PlantUML plugin
Generate [PlantUML](https://plantuml.com/class-diagram) class diagrams from xml schemas,
wsdl definitions and directly from xml documents.[](https://github.com/tefra/xsdata-plantuml/actions)
[](https://codecov.io/gh/tefra/xsdata-plantuml)
[](https://www.codefactor.io/repository/github/tefra/xsdata-plantuml)
[](https://pypi.org/pypi/xsdata-plantuml/)
[](https://pypi.org/pypi/xsdata-plantuml/)---
## Usage
```console
$ pip install xsdata-plantuml$ xsdata samples/order.xsd --output plantuml --package samples
``````
@startumlclass Items {
+item : item[]
}
Items +-- item
class item {
+productName : string
+quantity : positiveInteger
+USPrice : decimal
+comment : comment
+shipDate : date
+partNum : string
}
class PurchaseOrderType {
+shipTo : USAddress
+billTo : USAddress
+comment : comment
+items : Items
+orderDate : date
}
class USAddress {
+name : string
+street : string
+city : string
+state : string
+zip : decimal
+country : NMTOKEN
}
class comment {
+value : string
}
class purchaseOrder {
}
purchaseOrder *- PurchaseOrderType@enduml
```