1
0

progress on jwt

This commit is contained in:
lennyaiko
2025-04-03 17:00:10 +01:00
parent 19870edf73
commit aac09bb3a1
3 changed files with 49 additions and 3 deletions
+17 -3
View File
@@ -77,6 +77,14 @@
"description": "Find out more",
"url": "https://www.simbrellang.net"
}
},
{
"name": "Authorize",
"description": "This new feature will be used for authorizing customers.",
"externalDocs": {
"description": "Find out more",
"url": "https://www.simbrellang.net"
}
}
],
"paths": {
@@ -100,6 +108,9 @@
},
"/NotificationCallback": {
"$ref": "swagger/paths/NotificationCallback.json"
},
"/Authorize": {
"$ref": "swagger/paths/Authorize.json"
}
},
"components": {
@@ -142,12 +153,15 @@
},
"ApiResponse": {
"$ref": "swagger/schemas/ApiResponse.json"
},
"AuthorizeResponse": {
"$ref": "swagger/schemas/AuthorizeResponse.json"
}
},
"securitySchemes": {
"basicAuth": {
"type": "http",
"scheme": "basic"
"type": "http",
"scheme": "basic"
}
}
},
@@ -156,4 +170,4 @@
"basicAuth": []
}
]
}
}
+16
View File
@@ -0,0 +1,16 @@
{
"type": "object",
"properties": {
"username": {
"type": "string",
"example": "username"
},
"password": {
"type": "string",
"example": "password"
}
},
"xml": {
"name": "AuthorizeRequest"
}
}
@@ -0,0 +1,16 @@
{
"type": "object",
"properties": {
"resultCode": {
"type": "string",
"example": "00"
},
"resultDescription": {
"type": "string",
"example": "Successful"
}
},
"xml": {
"name": "AuthorizeResponse"
}
}