Add openapi-generate-html
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
parent
7ef0759b2e
commit
d1bc669c26
4 changed files with 35 additions and 0 deletions
12
openapi/build-docs
Executable file
12
openapi/build-docs
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
rm -fr out
|
||||
mkdir out
|
||||
|
||||
openapi-generate-html \
|
||||
--input petstore.yaml \
|
||||
--output out/docs.html \
|
||||
--ui swagger \
|
||||
"$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue