add swagger

This commit is contained in:
Fran Jurmanović
2024-07-11 18:49:14 +02:00
parent df70999d13
commit 8307a60913
9 changed files with 249 additions and 10 deletions

28
docs/swagger.json Normal file
View File

@@ -0,0 +1,28 @@
{
"swagger": "2.0",
"info": {
"contact": {}
},
"paths": {
"/v1/api": {
"get": {
"description": "Return API",
"tags": [
"api"
],
"summary": "Return API",
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
}
}