API dashboard antrian per spesialis
This commit is contained in:
@@ -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": {
|
||||
|
||||
@@ -130,6 +130,31 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/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": [
|
||||
@@ -620,6 +645,40 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"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": {
|
||||
|
||||
@@ -158,6 +158,28 @@ definitions:
|
||||
kategori:
|
||||
type: string
|
||||
type: object
|
||||
dashboard.AntrianPerSpesialisResponse:
|
||||
properties:
|
||||
idSpesialis:
|
||||
type: integer
|
||||
jmlAntrian:
|
||||
type: integer
|
||||
spesialis:
|
||||
type: string
|
||||
subSpesialis:
|
||||
items:
|
||||
$ref: '#/definitions/dashboard.AntrianPerSubSpesialisResponse'
|
||||
type: array
|
||||
type: object
|
||||
dashboard.AntrianPerSubSpesialisResponse:
|
||||
properties:
|
||||
idSubSpesialis:
|
||||
type: integer
|
||||
jmlAntrian:
|
||||
type: integer
|
||||
subSpesialis:
|
||||
type: string
|
||||
type: object
|
||||
diagnosa.DiagnosaResponse:
|
||||
properties:
|
||||
keterangan:
|
||||
@@ -375,6 +397,22 @@ paths:
|
||||
summary: Get Antrian Per Kategori
|
||||
tags:
|
||||
- Dashboard
|
||||
/dashboard/antrian-per-spesialis/:
|
||||
get:
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
items:
|
||||
$ref: '#/definitions/dashboard.AntrianPerSpesialisResponse'
|
||||
type: array
|
||||
"500":
|
||||
description: Internal Server Error
|
||||
schema:
|
||||
$ref: '#/definitions/shared.BaseErrorResponse'
|
||||
summary: Get Antrian Per Spesialis
|
||||
tags:
|
||||
- Dashboard
|
||||
/reference/diagnosa/:
|
||||
get:
|
||||
parameters:
|
||||
|
||||
Reference in New Issue
Block a user