Add YAML export from APISpec

This commit is contained in:
Richard 2021-06-27 21:08:48 +01:00
parent 5279becce7
commit 8157fa6d58
4 changed files with 29 additions and 0 deletions

View file

@ -13,6 +13,11 @@ help:
.PHONY: help Makefile
openapi: $(BUILDDIR)/swagger.yaml
$(BUILDDIR)/swagger.yaml: Makefile
curl http://localhost:5000/api/v2/docs/swagger.yaml > $@
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile