clear tool generete bpjs

This commit is contained in:
2025-09-01 20:29:25 +07:00
parent 980f890a41
commit 2db9195c89
19 changed files with 2128 additions and 6690 deletions

View File

@@ -702,11 +702,43 @@ const docTemplate = `{
},
"/peserta/:nokartu": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "Get participant eligibility information by card number",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Peserta"
],
"summary": "Get PesertaBynokartu data",
"parameters": [
{
"type": "string",
"description": "Request ID for tracking",
"name": "X-Request-ID",
"in": "header"
},
{
"type": "string",
"example": "\"example_value\"",
"description": "nokartu",
"name": "nokartu",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "Successfully retrieved PesertaBynokartu data",
"schema": {
"$ref": "#/definitions/peserta.PesertaResponse"
"$ref": "#/definitions/api-service_internal_models_vclaim_peserta.PesertaResponse"
}
},
"400": {
@@ -738,11 +770,43 @@ const docTemplate = `{
},
"/peserta/nik/:nik": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "Get participant eligibility information by NIK",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Peserta"
],
"summary": "Get PesertaBynik data",
"parameters": [
{
"type": "string",
"description": "Request ID for tracking",
"name": "X-Request-ID",
"in": "header"
},
{
"type": "string",
"example": "\"example_value\"",
"description": "nik",
"name": "nik",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "Successfully retrieved PesertaBynik data",
"schema": {
"$ref": "#/definitions/peserta.PesertaResponse"
"$ref": "#/definitions/api-service_internal_models_vclaim_peserta.PesertaResponse"
}
},
"400": {
@@ -774,6 +838,22 @@ const docTemplate = `{
},
"/sep": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "Manage SEP (Surat Eligibilitas Peserta)",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Sep"
],
"summary": "Create new SepSep",
"parameters": [
{
"type": "string",
@@ -787,7 +867,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/sep.SepRequest"
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepRequest"
}
}
],
@@ -795,7 +875,7 @@ const docTemplate = `{
"201": {
"description": "Successfully created SepSep",
"schema": {
"$ref": "#/definitions/sep.SepResponse"
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepResponse"
}
},
"400": {
@@ -827,11 +907,43 @@ const docTemplate = `{
},
"/sep/:nosep": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "Manage SEP (Surat Eligibilitas Peserta)",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Sep"
],
"summary": "Get SepSep data",
"parameters": [
{
"type": "string",
"description": "Request ID for tracking",
"name": "X-Request-ID",
"in": "header"
},
{
"type": "string",
"example": "\"example_value\"",
"description": "nosep",
"name": "nosep",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "Successfully retrieved SepSep data",
"schema": {
"$ref": "#/definitions/sep.SepResponse"
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepResponse"
}
},
"400": {
@@ -861,14 +973,44 @@ const docTemplate = `{
}
},
"put": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "Manage SEP (Surat Eligibilitas Peserta)",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Sep"
],
"summary": "Update existing SepSep",
"parameters": [
{
"type": "string",
"description": "Request ID for tracking",
"name": "X-Request-ID",
"in": "header"
},
{
"type": "string",
"example": "\"example_value\"",
"description": "nosep",
"name": "nosep",
"in": "path",
"required": true
},
{
"description": "SepSep data",
"name": "request",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/sep.SepRequest"
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepRequest"
}
}
],
@@ -876,7 +1018,7 @@ const docTemplate = `{
"200": {
"description": "Successfully updated SepSep",
"schema": {
"$ref": "#/definitions/sep.SepResponse"
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepResponse"
}
},
"400": {
@@ -906,11 +1048,43 @@ const docTemplate = `{
}
},
"delete": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "Manage SEP (Surat Eligibilitas Peserta)",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Sep"
],
"summary": "Delete existing SepSep",
"parameters": [
{
"type": "string",
"description": "Request ID for tracking",
"name": "X-Request-ID",
"in": "header"
},
{
"type": "string",
"example": "\"example_value\"",
"description": "nosep",
"name": "nosep",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "Successfully deleted SepSep",
"schema": {
"$ref": "#/definitions/sep.SepResponse"
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepResponse"
}
},
"400": {
@@ -1388,7 +1562,7 @@ const docTemplate = `{
}
}
},
"peserta.PesertaData": {
"api-service_internal_models_vclaim_peserta.PesertaData": {
"type": "object",
"properties": {
"aktif": {
@@ -1476,11 +1650,11 @@ const docTemplate = `{
}
}
},
"peserta.PesertaResponse": {
"api-service_internal_models_vclaim_peserta.PesertaResponse": {
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/peserta.PesertaData"
"$ref": "#/definitions/api-service_internal_models_vclaim_peserta.PesertaData"
},
"message": {
"type": "string"
@@ -1497,7 +1671,7 @@ const docTemplate = `{
}
}
},
"sep.SepData": {
"api-service_internal_models_vclaim_sep.SepData": {
"type": "object",
"properties": {
"catatan": {
@@ -1536,20 +1710,20 @@ const docTemplate = `{
"type": "string"
},
"peserta": {
"$ref": "#/definitions/peserta.PesertaData"
"$ref": "#/definitions/api-service_internal_models_vclaim_peserta.PesertaData"
},
"poli": {
"type": "string"
},
"rujukan": {
"$ref": "#/definitions/sep.SepRujukan"
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepRujukan"
},
"tglSep": {
"type": "string"
}
}
},
"sep.SepRequest": {
"api-service_internal_models_vclaim_sep.SepRequest": {
"type": "object",
"required": [
"diagnosa",
@@ -1603,7 +1777,7 @@ const docTemplate = `{
"type": "string"
},
"rujukan": {
"$ref": "#/definitions/sep.SepRujukan"
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepRujukan"
},
"tglSep": {
"type": "string"
@@ -1616,11 +1790,11 @@ const docTemplate = `{
}
}
},
"sep.SepResponse": {
"api-service_internal_models_vclaim_sep.SepResponse": {
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/sep.SepData"
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepData"
},
"message": {
"type": "string"
@@ -1636,7 +1810,7 @@ const docTemplate = `{
}
}
},
"sep.SepRujukan": {
"api-service_internal_models_vclaim_sep.SepRujukan": {
"type": "object",
"required": [
"asalRujukan",