API dashboard antrian per spesialis

This commit is contained in:
renaldybrada
2026-02-06 07:56:21 +07:00
parent 53242ae2ff
commit f230f0a6cc
7 changed files with 308 additions and 0 deletions
+59
View File
@@ -136,6 +136,31 @@ const docTemplate = `{
}
}
},
"/dashboard/antrian-per-spesialis/": {
"get": {
"tags": [
"Dashboard"
],
"summary": "Get Antrian Per Spesialis",
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/dashboard.AntrianPerSpesialisResponse"
}
}
},
"500": {
"description": "Internal Server Error",
"schema": {
"$ref": "#/definitions/shared.BaseErrorResponse"
}
}
}
}
},
"/reference/diagnosa/": {
"get": {
"tags": [
@@ -626,6 +651,40 @@ const docTemplate = `{
}
}
},
"dashboard.AntrianPerSpesialisResponse": {
"type": "object",
"properties": {
"idSpesialis": {
"type": "integer"
},
"jmlAntrian": {
"type": "integer"
},
"spesialis": {
"type": "string"
},
"subSpesialis": {
"type": "array",
"items": {
"$ref": "#/definitions/dashboard.AntrianPerSubSpesialisResponse"
}
}
}
},
"dashboard.AntrianPerSubSpesialisResponse": {
"type": "object",
"properties": {
"idSubSpesialis": {
"type": "integer"
},
"jmlAntrian": {
"type": "integer"
},
"subSpesialis": {
"type": "string"
}
}
},
"diagnosa.DiagnosaResponse": {
"type": "object",
"properties": {