mirror of
https://github.com/TheRealOwenRees/chess-scribe-api.git
synced 2026-07-22 16:56:57 +00:00
recompile on file changes in dev mode
This commit is contained in:
@@ -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
|
||||
find . -name "*.ml" -o -path "./static/*" | entr -r dune exec ./_build/default/bin/main.exe DREAM_ENV=development
|
||||
+2
-5
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user