Skip to content

Commit

Permalink
add static-html target
Browse files Browse the repository at this point in the history
  • Loading branch information
gbicann committed Mar 21, 2024
1 parent 5f7735d commit 2aff7fa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ spec: tmpdir includes
@echo Generating JSON file...
@yq -o=json eval tmp/rst-api-spec.yaml > tmp/rst-api-spec.json

static-html:
@echo Generating static HTML file...
@openapi-generator generate -g html -i tmp/rst-api-spec.yaml >/dev/null
@mv index.html tmp/rst-api-spec.html

lint:
@openapi-generator validate -i tmp/rst-api-spec.yaml

Expand Down

0 comments on commit 2aff7fa

Please sign in to comment.