swagger fix

This commit is contained in:
CHIEFSOFT\ameye
2025-06-22 21:35:02 -04:00
parent 7e0248e0a4
commit 0e79753d27
4 changed files with 86 additions and 4 deletions
+57
View File
@@ -0,0 +1,57 @@
{
"post": {
"tags": [
"Register"
],
"summary": "Start the process - initiate steps Registeration ",
"description": "Initiate Register Request",
"operationId": "startRegister",
"requestBody": {
"description": "Post JSON to conduct Registeration",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/RegisterRequest.json"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/RegisterRequest.json"
}
},
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "../schemas/RegisterRequest.json"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/RegisterResponse.json"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/RegisterResponse.json"
}
}
}
},
"400": {
"description": "Invalid request"
},
"422": {
"description": "Validation exception"
},
"500": {
"description": "Internal server error"
}
}
}
}