Generate documentation

This commit is contained in:
Guilhem Bonnefille 2020-07-28 20:00:06 +02:00
parent f55ce0834c
commit ff7896e856
2 changed files with 15 additions and 0 deletions

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
# Tools
# Tools
swagger-codegen-cli.jar
# Generated directory
html

10
Makefile Normal file
View File

@ -0,0 +1,10 @@
all:
download: swagger-codegen-cli.jar
swagger-codegen-cli.jar:
wget https://repo1.maven.org/maven2/io/swagger/codegen/v3/swagger-codegen-cli/3.0.20/swagger-codegen-cli-3.0.20.jar -O swagger-codegen-cli.jar
doc:
mkdir -p html
java -jar swagger-codegen-cli.jar generate -i openkarotz-openapi.json -l html -o html