openapi_to_plantuml

Module to check and fetch openapi_to_plantuml.

Functions

Summary

_find_java_executable

Find java executable using lookup order JAVA_HOME, PATH.

_get_latest_openapi_to_plantuml_version

Get latest openapi-to-plantuml version on maven repo.

_get_openapi_to_plantuml_download_url

Get latest openapi-to-plantuml version on maven repo.

download_openapi_to_plantuml

Download openapi-to-plantuml jar file with dependencies to cache folder.

get_openapi_to_plantuml_path

Get path to cached openapi-to-plantuml file.

run_openapi_to_plantuml

Run openapi-to-plantuml.

Exceptions

Exception Summary

DownloadVerificationError

Error thrown if download does not match hash.

MissingDependecyError

Error thrown when an essential dependency is missing.

MissingDependecyWarning

Warn when a non essential dependency is missing.