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"
|
||||
}
|
||||
}
|
||||
|
||||
+58
-3
@@ -217,6 +217,47 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/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": [
|
||||
@@ -846,16 +887,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
|
||||
+39
-3
@@ -226,13 +226,22 @@ definitions:
|
||||
subSpesialis:
|
||||
type: string
|
||||
type: object
|
||||
dashboard.PerbandinganStatusAntreanResponse:
|
||||
dashboard.PerbandinganKategoriAntrean:
|
||||
properties:
|
||||
idStatus:
|
||||
id_kategori:
|
||||
type: integer
|
||||
jumlah:
|
||||
type: integer
|
||||
status:
|
||||
kategori:
|
||||
type: string
|
||||
type: object
|
||||
dashboard.PerbandinganStatusAntreanResponse:
|
||||
properties:
|
||||
id:
|
||||
type: integer
|
||||
jumlah:
|
||||
type: integer
|
||||
statust:
|
||||
type: string
|
||||
type: object
|
||||
diagnosa.DiagnosaResponse:
|
||||
@@ -508,6 +517,33 @@ paths:
|
||||
summary: Get Antrian Per Spesialis
|
||||
tags:
|
||||
- Dashboard
|
||||
/dashboard/perbandingan-kategori-antrian/:
|
||||
get:
|
||||
parameters:
|
||||
- description: tahun dalam int
|
||||
in: query
|
||||
name: year
|
||||
required: true
|
||||
type: integer
|
||||
- description: bulan dalam int
|
||||
in: query
|
||||
name: month
|
||||
required: true
|
||||
type: integer
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
items:
|
||||
$ref: '#/definitions/dashboard.PerbandinganKategoriAntrean'
|
||||
type: array
|
||||
"500":
|
||||
description: Internal Server Error
|
||||
schema:
|
||||
$ref: '#/definitions/shared.BaseErrorResponse'
|
||||
summary: Get Perbandingan Kategori Antrean
|
||||
tags:
|
||||
- Dashboard
|
||||
/dashboard/perbandingan-status-antrian/:
|
||||
get:
|
||||
parameters:
|
||||
|
||||
Reference in New Issue
Block a user