endpoint refresh token keycloak

This commit is contained in:
renaldybrada
2026-02-19 14:13:25 +07:00
parent af80d8c7f6
commit 2ca3cf3564
11 changed files with 233 additions and 12 deletions
+32 -3
View File
@@ -504,6 +504,37 @@ const docTemplate = `{
}
}
},
"/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": [
@@ -875,8 +906,7 @@ const docTemplate = `{
"jenisKelamin",
"namaPasien",
"noKtp",
"noRekamMedis",
"nomorTelepon"
"noRekamMedis"
],
"properties": {
"alamat": {
@@ -900,7 +930,6 @@ const docTemplate = `{
},
"nomorTelepon": {
"type": "array",
"minItems": 1,
"items": {
"type": "string"
}
+32 -3
View File
@@ -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"
}
+20 -2
View File
@@ -94,7 +94,6 @@ definitions:
nomorTelepon:
items:
type: string
minItems: 1
type: array
tanggalLahir:
type: string
@@ -105,7 +104,6 @@ definitions:
- namaPasien
- noKtp
- noRekamMedis
- nomorTelepon
type: object
antrianoperasi.PasienOperasi:
properties:
@@ -747,6 +745,26 @@ paths:
summary: Get Table Antrian per Sub Spesialis
tags:
- Dashboard
/keycloak/refresh-token:
post:
parameters:
- description: Valid Refresh Token
in: query
name: refresh_token
required: true
type: string
responses:
"200":
description: OK
schema:
$ref: '#/definitions/shared.BaseResponse'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/shared.BaseErrorResponse'
summary: Requesting new token to keycloak using refresh token
tags:
- Keycloak
/reference/diagnosa/:
get:
parameters: