Creates PlantUml diagrams from OpenApi spec files.
OpenApi spec taken from here
Use futurum.openapi-to-plantuml-console project
Use file followed by file path
file --path "../../../../openapi/openapi-petstore.json"
Use directory followed by directory path
directory --path "../../../../openapi"
Use --theme to specify the PlantUml theme
--theme "blueprint"
NOTE - defaults to no theme
Use --shownotes to specify if PlantUml should show notes
--shownotes "true"
NOTE - defaults to no notes
docker run --rm -it -v $(pwd)/openapi:/openapi futurum.openapi-to-plantuml-directory
Use --theme to specify the PlantUml theme
--theme "blueprint"
NOTE - defaults to no theme
e.g.
docker run --rm -it -v $(pwd)/openapi:/openapi futurum.openapi-to-plantuml-directory --theme "blueprint"
Use --shownotes to specify if PlantUml should show notes
--shownotes "true"
NOTE - defaults to no notes
e.g.
docker run --rm -it -v $(pwd)/openapi:/openapi futurum.openapi-to-plantuml-directory --shownotes "true"
cat ./openapi/openapi-petstore.json | docker run --rm -a stdin -a stdout -i futurum.openapi-to-plantuml-std-in-out openapi |> ./openapi/openapi-petstore-openapi.puml
cat ./openapi/openapi-petstore-simple.yaml | docker run --rm -a stdin -a stdout -i futurum.openapi-to-plantuml-std-in-out openapi |> ./openapi/openapi-petstore-simple-openapi.puml
cat ./openapi/openapi-petstore.json | docker run --rm -a stdin -a stdout -i futurum.openapi-to-plantuml-std-in-out openapi-type |> ./openapi/openapi-petstore-openapi-type.puml
cat ./openapi/openapi-petstore-simple.yaml | docker run --rm -a stdin -a stdout -i futurum.openapi-to-plantuml-std-in-out openapi-type |> ./openapi/openapi-petstore-simple-openapi-type.puml
Use --theme to specify the PlantUml theme
--theme "blueprint"
NOTE - defaults to no theme
e.g.
cat ./openapi/openapi-petstore.json | docker run --rm -a stdin -a stdout -i futurum.openapi-to-plantuml-std-in-out openapi --theme "blueprint" |> ./openapi/openapi-petstore-openapi.puml
Use --shownotes to specify if PlantUml should show notes
--shownotes "true"
NOTE - defaults to no notes
e.g.
cat ./openapi/openapi-petstore.json | docker run --rm -a stdin -a stdout -i futurum.openapi-to-plantuml-std-in-out openapi --shownotes "true" |> ./openapi/openapi-petstore-openapi.puml
docker build -t futurum.openapi-to-plantuml-directory -f futurum.openapi-to-plantuml-directory/Dockerfile .
docker build -t futurum.openapi-to-plantuml-std-in-out -f futurum.openapi-to-plantuml-std-in-out/Dockerfile .
docker rmi futurum.openapi-to-plantuml-directory
docker rmi futurum.openapi-to-plantuml-std-in-out