api dashboard antrian per kategori
This commit is contained in:
@@ -111,6 +111,31 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/dashboard/antrian-per-kategori/": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"Dashboard"
|
||||
],
|
||||
"summary": "Get Antrian Per Kategori",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/dashboard.AntrianPerKategori"
|
||||
}
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal Server Error",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/shared.BaseErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/reference/dokter/": {
|
||||
"get": {
|
||||
"tags": [
|
||||
@@ -494,6 +519,20 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"dashboard.AntrianPerKategori": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id_kategori": {
|
||||
"type": "integer"
|
||||
},
|
||||
"jumlah_antrean": {
|
||||
"type": "integer"
|
||||
},
|
||||
"kategori": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dokter.DokterResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
@@ -105,6 +105,31 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/dashboard/antrian-per-kategori/": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"Dashboard"
|
||||
],
|
||||
"summary": "Get Antrian Per Kategori",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/dashboard.AntrianPerKategori"
|
||||
}
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal Server Error",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/shared.BaseErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/reference/dokter/": {
|
||||
"get": {
|
||||
"tags": [
|
||||
@@ -488,6 +513,20 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"dashboard.AntrianPerKategori": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id_kategori": {
|
||||
"type": "integer"
|
||||
},
|
||||
"jumlah_antrean": {
|
||||
"type": "integer"
|
||||
},
|
||||
"kategori": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dokter.DokterResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
@@ -128,6 +128,15 @@ definitions:
|
||||
tindakanTambahan:
|
||||
type: string
|
||||
type: object
|
||||
dashboard.AntrianPerKategori:
|
||||
properties:
|
||||
id_kategori:
|
||||
type: integer
|
||||
jumlah_antrean:
|
||||
type: integer
|
||||
kategori:
|
||||
type: string
|
||||
type: object
|
||||
dokter.DokterResponse:
|
||||
properties:
|
||||
hfis_code:
|
||||
@@ -294,6 +303,22 @@ paths:
|
||||
summary: Create Antrian Operasi
|
||||
tags:
|
||||
- Antrian Operasi
|
||||
/dashboard/antrian-per-kategori/:
|
||||
get:
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
items:
|
||||
$ref: '#/definitions/dashboard.AntrianPerKategori'
|
||||
type: array
|
||||
"500":
|
||||
description: Internal Server Error
|
||||
schema:
|
||||
$ref: '#/definitions/shared.BaseErrorResponse'
|
||||
summary: Get Antrian Per Kategori
|
||||
tags:
|
||||
- Dashboard
|
||||
/reference/dokter/:
|
||||
get:
|
||||
parameters:
|
||||
|
||||
Reference in New Issue
Block a user