api list tindakan
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}`
|
||||
|
||||
Reference in New Issue
Block a user