add filter status list antrian, add filter by type id

This commit is contained in:
renaldybrada
2026-02-03 09:16:09 +07:00
parent 046903c7a1
commit f9bdde187e
6 changed files with 76 additions and 3 deletions
+18
View File
@@ -34,6 +34,18 @@ const docTemplate = `{
"name": "type",
"in": "query"
},
{
"type": "string",
"description": "Type id :id kategori, id spesialis, id sub-spesialis",
"name": "type_id",
"in": "query"
},
{
"type": "string",
"description": "Status : 1, 2, 3, 4",
"name": "status",
"in": "query"
},
{
"type": "string",
"default": "10",
@@ -343,6 +355,9 @@ const docTemplate = `{
"id": {
"type": "string"
},
"jenisKelamin": {
"type": "string"
},
"kategori": {
"type": "string"
},
@@ -370,6 +385,9 @@ const docTemplate = `{
"spesialis": {
"type": "string"
},
"statusOperasi": {
"type": "string"
},
"subSpesialis": {
"type": "string"
},
+18
View File
@@ -28,6 +28,18 @@
"name": "type",
"in": "query"
},
{
"type": "string",
"description": "Type id :id kategori, id spesialis, id sub-spesialis",
"name": "type_id",
"in": "query"
},
{
"type": "string",
"description": "Status : 1, 2, 3, 4",
"name": "status",
"in": "query"
},
{
"type": "string",
"default": "10",
@@ -337,6 +349,9 @@
"id": {
"type": "string"
},
"jenisKelamin": {
"type": "string"
},
"kategori": {
"type": "string"
},
@@ -364,6 +379,9 @@
"spesialis": {
"type": "string"
},
"statusOperasi": {
"type": "string"
},
"subSpesialis": {
"type": "string"
},
+12
View File
@@ -68,6 +68,8 @@ definitions:
type: string
id:
type: string
jenisKelamin:
type: string
kategori:
type: string
kodeDiagnosa:
@@ -86,6 +88,8 @@ definitions:
type: integer
spesialis:
type: string
statusOperasi:
type: string
subSpesialis:
type: string
tglDaftar:
@@ -219,6 +223,14 @@ paths:
in: query
name: type
type: string
- description: Type id :id kategori, id spesialis, id sub-spesialis
in: query
name: type_id
type: string
- description: 'Status : 1, 2, 3, 4'
in: query
name: status
type: string
- default: "10"
description: Limit
in: query