diff --git a/Makefile b/Makefile index 654f606..2e3e0e0 100644 --- a/Makefile +++ b/Makefile @@ -2,4 +2,4 @@ run: dune build && dune exec ./_build/default/bin/main.exe DREAM_ENV=production run-dev: - dune build && dune exec ./_build/default/bin/main.exe DREAM_ENV=development \ No newline at end of file + find . -name "*.ml" -o -path "./static/*" | entr -r dune exec ./_build/default/bin/main.exe DREAM_ENV=development \ No newline at end of file diff --git a/static/swagger.json b/static/swagger.json index 4a87658..743dd65 100644 --- a/static/swagger.json +++ b/static/swagger.json @@ -6,16 +6,13 @@ "version": "0.0.1" }, "paths": { - "/api/v1/health": { + "/health": { "get": { "summary": "Health Check", - "description": "Health check", + "description": "Health check. Assume that the API is non-functional if any error code other than 200 is returned.", "responses": { "200": { "$ref": "#/paths/~1api~1v1~1pdf/post/responses/200" - }, - "500": { - "$ref": "#/paths/~1api~1v1~1pdf/post/responses/500" } } }