Perbaikan Swagger dan ke DB Prod SIMRS

This commit is contained in:
2025-11-18 14:31:13 +07:00
parent a14562cfe0
commit 85a83b6659
7 changed files with 36 additions and 36 deletions
+8 -8
View File
@@ -24,7 +24,7 @@ const docTemplate = `{
"host": "{{.Host}}",
"basePath": "{{.BasePath}}",
"paths": {
"/api/v1/auth/login": {
"/auth/login": {
"post": {
"description": "Authenticate user with username and password to receive JWT token",
"consumes": [
@@ -76,7 +76,7 @@ const docTemplate = `{
}
}
},
"/api/v1/auth/me": {
"/auth/me": {
"get": {
"security": [
{
@@ -110,7 +110,7 @@ const docTemplate = `{
}
}
},
"/api/v1/auth/refresh": {
"/auth/refresh": {
"post": {
"description": "Refresh the JWT token using a valid refresh token",
"consumes": [
@@ -165,7 +165,7 @@ const docTemplate = `{
}
}
},
"/api/v1/auth/register": {
"/auth/register": {
"post": {
"description": "Register a new user account",
"consumes": [
@@ -214,7 +214,7 @@ const docTemplate = `{
}
}
},
"/api/v1/token/generate": {
"/token/generate": {
"post": {
"description": "Generate a JWT token for a user",
"consumes": [
@@ -266,7 +266,7 @@ const docTemplate = `{
}
}
},
"/api/v1/token/generate-direct": {
"/token/generate-direct": {
"post": {
"description": "Generate a JWT token directly without password verification (for testing)",
"consumes": [
@@ -312,7 +312,7 @@ const docTemplate = `{
}
}
},
"/api/v1/ws/broadcast/check": {
"/ws/broadcast/check": {
"post": {
"description": "Creates and broadcasts a WebSocket message with the specified type and data",
"consumes": [
@@ -363,7 +363,7 @@ const docTemplate = `{
}
}
},
"/api/v1/ws/broadcast/qris": {
"/ws/broadcast/qris": {
"post": {
"description": "Creates and broadcasts a WebSocket message with the specified type and data for QRIS operations",
"consumes": [