Add API docs

This commit is contained in:
MartinBraquet
2025-09-15 18:45:03 +02:00
parent 240361b55b
commit 2cd102ef0b
3 changed files with 200 additions and 8 deletions

29
backend/api/openapi.json Normal file
View File

@@ -0,0 +1,29 @@
{
"openapi": "3.0.0",
"info": {
"title": "Compass API",
"version": "1.0.0"
},
"paths": {
"/health": {
"get": {
"summary": "Health",
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/get-profiles": {
"get": {
"summary": "List profiles",
"responses": {
"200": {
"description": "OK"
}
}
}
}
}
}