Partial OpenAPI spec for admin API with a viewer

This commit is contained in:
Quentin Dufour
2022-09-12 16:47:18 +02:00
parent 66f2daa025
commit 0a01b34e81
17 changed files with 2466 additions and 0 deletions
+17
View File
@@ -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
```