garage/doc/api/README.md
Quentin Dufour bbe38a9b30
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Partial OpenAPI spec for admin API with a viewer
2022-09-12 16:57:34 +02:00

17 lines
379 B
Markdown

# 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
```