api list tindakan

This commit is contained in:
renaldybrada
2026-02-05 10:16:31 +07:00
parent 18a3509933
commit 0cbaba6a4d
9 changed files with 253 additions and 2 deletions
+44
View File
@@ -353,6 +353,39 @@ const docTemplate = `{
}
}
}
},
"/reference/tindakan/": {
"get": {
"tags": [
"Reference"
],
"summary": "Get List Tindakan",
"parameters": [
{
"type": "string",
"description": "Search keyword",
"name": "search",
"in": "query"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/tindakan.TindakanModel"
}
}
},
"500": {
"description": "Internal Server Error",
"schema": {
"$ref": "#/definitions/shared.BaseErrorResponse"
}
}
}
}
}
},
"definitions": {
@@ -753,6 +786,17 @@ const docTemplate = `{
"type": "string"
}
}
},
"tindakan.TindakanModel": {
"type": "object",
"properties": {
"KodeTindakan": {
"type": "string"
},
"Tindakan": {
"type": "string"
}
}
}
}
}`