diff options
Diffstat (limited to 'doc/api/README.md')
-rw-r--r-- | doc/api/README.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/api/README.md b/doc/api/README.md new file mode 100644 index 00000000..d0edb4af --- /dev/null +++ b/doc/api/README.md @@ -0,0 +1,17 @@ +# Browse doc + +Run in this directory: + +``` +python3 -m http.server +``` + +And open in your browser: + - http://localhost:8000/garage-admin-v0.html + +# Validate doc + +``` +wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/6.1.0/openapi-generator-cli-6.1.0.jar -O openapi-generator-cli.jar +java -jar openapi-generator-cli.jar validate -i garage-admin-v0.yml +``` |