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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}`
|
||||
|
||||
@@ -347,6 +347,39 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/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": {
|
||||
@@ -747,6 +780,17 @@
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"tindakan.TindakanModel": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"KodeTindakan": {
|
||||
"type": "string"
|
||||
},
|
||||
"Tindakan": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -263,6 +263,13 @@ definitions:
|
||||
sub_spesialis:
|
||||
type: string
|
||||
type: object
|
||||
tindakan.TindakanModel:
|
||||
properties:
|
||||
KodeTindakan:
|
||||
type: string
|
||||
Tindakan:
|
||||
type: string
|
||||
type: object
|
||||
host: localhost:8080
|
||||
info:
|
||||
contact: {}
|
||||
@@ -489,4 +496,25 @@ paths:
|
||||
summary: Get List Sub Spesialis
|
||||
tags:
|
||||
- Reference
|
||||
/reference/tindakan/:
|
||||
get:
|
||||
parameters:
|
||||
- description: Search keyword
|
||||
in: query
|
||||
name: search
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
items:
|
||||
$ref: '#/definitions/tindakan.TindakanModel'
|
||||
type: array
|
||||
"500":
|
||||
description: Internal Server Error
|
||||
schema:
|
||||
$ref: '#/definitions/shared.BaseErrorResponse'
|
||||
summary: Get List Tindakan
|
||||
tags:
|
||||
- Reference
|
||||
swagger: "2.0"
|
||||
|
||||
Reference in New Issue
Block a user