API perbandingan kategori antrean
This commit is contained in:
+58
-3
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user