API Docs improvements (#46)
This commit is contained in:
parent
3183d10dbe
commit
607dbd6ae8
100 changed files with 1306 additions and 9201 deletions
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 a new issue