mirror of
https://github.com/TheRealOwenRees/chess-scribe-api.git
synced 2026-07-23 01:06:56 +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
|
dune build && dune exec ./_build/default/bin/main.exe DREAM_ENV=production
|
||||||
|
|
||||||
run-dev:
|
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"
|
"version": "0.0.1"
|
||||||
},
|
},
|
||||||
"paths": {
|
"paths": {
|
||||||
"/api/v1/health": {
|
"/health": {
|
||||||
"get": {
|
"get": {
|
||||||
"summary": "Health Check",
|
"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": {
|
"responses": {
|
||||||
"200": {
|
"200": {
|
||||||
"$ref": "#/paths/~1api~1v1~1pdf/post/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