update swagger done
This commit is contained in:
@ -9,6 +9,47 @@ const doc = {
|
||||
},
|
||||
host: config.get('server.host_swagger') + ':' + config.get('server.port'),
|
||||
components: {
|
||||
schemas: {
|
||||
login: {
|
||||
$username: "admin",
|
||||
$password: "123456"
|
||||
},
|
||||
user: {
|
||||
$email: "admin@gmail.com",
|
||||
$username: "admin",
|
||||
$password: "123456",
|
||||
$retype_password: "123456",
|
||||
$name: "Administrator",
|
||||
$id_role: "4a6991b6-78a0-4b3b-bf5c-fa0af5f69be8",
|
||||
$status: "Y"
|
||||
},
|
||||
user_profile: {
|
||||
$email: "admin@gmail.com",
|
||||
$username: "admin",
|
||||
$name: "Administrator"
|
||||
},
|
||||
user_password: {
|
||||
$password: "123456",
|
||||
$retype_password: "123456"
|
||||
},
|
||||
user_role: {
|
||||
$name: "Administrator",
|
||||
$roles: ["dashboard"],
|
||||
$status: "Y"
|
||||
},
|
||||
user_activity: {
|
||||
$id_user: "4a6991b6-78a0-4b3b-bf5c-fa0af5f69be8",
|
||||
$refresh_token: "1a1221b6-78a0-4b3b-bf5c-fa0af5f69be8",
|
||||
$module: "dashboard",
|
||||
$description: "Main Dashboard",
|
||||
$action: "V",
|
||||
$url: "https://bri-dev.shiblysolution.id/",
|
||||
$data_body: "{\"from\":\"2024-11-01\",\"to\":\"2024-11-26\"}"
|
||||
}
|
||||
},
|
||||
parameters: {
|
||||
|
||||
},
|
||||
securitySchemes: {
|
||||
bearerAuth: {
|
||||
type: 'http',
|
||||
|
||||
Reference in New Issue
Block a user