API Docs improvements (#46)
This commit is contained in:
1
Makefile
1
Makefile
@ -166,6 +166,7 @@ do-the-swag:
|
||||
# Fix the generated swagger file, currently a workaround until swaggo can properly use go mod
|
||||
sed -i '/"definitions": {/a "code.vikunja.io.web.HTTPError": {"type": "object","properties": {"code": {"type": "integer"},"message": {"type": "string"}}},' docs/docs.go;
|
||||
sed -i 's/code.vikunja.io\/web.HTTPError/code.vikunja.io.web.HTTPError/g' docs/docs.go;
|
||||
sed -i 's/` + \\"`\\" + `/` + "`" + `/g' docs/docs.go; # Replace replacements
|
||||
|
||||
.PHONY: misspell-check
|
||||
misspell-check:
|
||||
|
Reference in New Issue
Block a user