endpoint refresh token keycloak
This commit is contained in:
+32
-3
@@ -498,6 +498,37 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/keycloak/refresh-token": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"Keycloak"
|
||||
],
|
||||
"summary": "Requesting new token to keycloak using refresh token",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Valid Refresh Token",
|
||||
"name": "refresh_token",
|
||||
"in": "query",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/shared.BaseResponse"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal Server Error",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/shared.BaseErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/reference/diagnosa/": {
|
||||
"get": {
|
||||
"tags": [
|
||||
@@ -869,8 +900,7 @@
|
||||
"jenisKelamin",
|
||||
"namaPasien",
|
||||
"noKtp",
|
||||
"noRekamMedis",
|
||||
"nomorTelepon"
|
||||
"noRekamMedis"
|
||||
],
|
||||
"properties": {
|
||||
"alamat": {
|
||||
@@ -894,7 +924,6 @@
|
||||
},
|
||||
"nomorTelepon": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user