add subspesialis query
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
definitions:
|
||||
models.Response:
|
||||
properties:
|
||||
response_code:
|
||||
type: string
|
||||
response_message:
|
||||
type: string
|
||||
type: object
|
||||
models.User:
|
||||
properties:
|
||||
agama:
|
||||
@@ -21,7 +28,7 @@ info:
|
||||
title: Crud User
|
||||
version: "1"
|
||||
paths:
|
||||
/api/v1/user:
|
||||
/api/user:
|
||||
get:
|
||||
description: returs list of all users from the database
|
||||
responses:
|
||||
@@ -32,4 +39,37 @@ paths:
|
||||
summary: return list of all
|
||||
tags:
|
||||
- Users
|
||||
/api/user/create:
|
||||
post:
|
||||
description: Insert Data User
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
$ref: '#/definitions/models.Response'
|
||||
summary: Insert Data User
|
||||
tags:
|
||||
- Users
|
||||
/api/user/delete/:id:
|
||||
delete:
|
||||
description: Delete Data User
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
$ref: '#/definitions/models.Response'
|
||||
summary: Delete Data User
|
||||
tags:
|
||||
- Users
|
||||
/api/user/update/:id:
|
||||
put:
|
||||
description: Update Data User
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
$ref: '#/definitions/models.Response'
|
||||
summary: Update Data User
|
||||
tags:
|
||||
- Users
|
||||
swagger: "2.0"
|
||||
|
||||
Reference in New Issue
Block a user