API perbandingan kategori antrean

This commit is contained in:
renaldybrada
2026-02-11 11:32:17 +07:00
parent 4c98b6a7fd
commit d87474484f
7 changed files with 251 additions and 11 deletions
+58 -3
View File
@@ -223,6 +223,47 @@ const docTemplate = `{
}
}
},
"/dashboard/perbandingan-kategori-antrian/": {
"get": {
"tags": [
"Dashboard"
],
"summary": "Get Perbandingan Kategori Antrean",
"parameters": [
{
"type": "integer",
"description": "tahun dalam int",
"name": "year",
"in": "query",
"required": true
},
{
"type": "integer",
"description": "bulan dalam int",
"name": "month",
"in": "query",
"required": true
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/dashboard.PerbandinganKategoriAntrean"
}
}
},
"500": {
"description": "Internal Server Error",
"schema": {
"$ref": "#/definitions/shared.BaseErrorResponse"
}
}
}
}
},
"/dashboard/perbandingan-status-antrian/": {
"get": {
"tags": [
@@ -852,16 +893,30 @@ const docTemplate = `{
}
}
},
"dashboard.PerbandinganStatusAntreanResponse": {
"dashboard.PerbandinganKategoriAntrean": {
"type": "object",
"properties": {
"idStatus": {
"id_kategori": {
"type": "integer"
},
"jumlah": {
"type": "integer"
},
"status": {
"kategori": {
"type": "string"
}
}
},
"dashboard.PerbandinganStatusAntreanResponse": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"jumlah": {
"type": "integer"
},
"statust": {
"type": "string"
}
}