swagger fix
This commit is contained in:
@@ -69,7 +69,7 @@
|
|||||||
"$ref": "swagger/paths/Login.json"
|
"$ref": "swagger/paths/Login.json"
|
||||||
},
|
},
|
||||||
"/panel/Register": {
|
"/panel/Register": {
|
||||||
"$ref": "swagger/paths/SelectOffer.json"
|
"$ref": "swagger/paths/Register.json"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"components": {
|
"components": {
|
||||||
@@ -81,7 +81,7 @@
|
|||||||
"$ref": "swagger/schemas/LoginResponse.json"
|
"$ref": "swagger/schemas/LoginResponse.json"
|
||||||
},
|
},
|
||||||
"Register": {
|
"Register": {
|
||||||
"$ref": "swagger/schemas/SelectOfferRequest.json"
|
"$ref": "swagger/schemas/RegisterRequest.json"
|
||||||
},
|
},
|
||||||
"RegisterResponse": {
|
"RegisterResponse": {
|
||||||
"$ref": "swagger/schemas/RegisterResponse.json"
|
"$ref": "swagger/schemas/RegisterResponse.json"
|
||||||
|
|||||||
@@ -3,11 +3,11 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
"Login"
|
"Login"
|
||||||
],
|
],
|
||||||
"summary": "Start the process - initiate steps to eligibility RAC Checks ",
|
"summary": "Start the process - initiate steps to Login ",
|
||||||
"description": "Initiate Login Request",
|
"description": "Initiate Login Request",
|
||||||
"operationId": "startLogin",
|
"operationId": "startLogin",
|
||||||
"requestBody": {
|
"requestBody": {
|
||||||
"description": "Post JSON to conduct eligibility tests",
|
"description": "Post JSON to conduct login request",
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
|
|||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"email": {
|
||||||
|
"type": "string",
|
||||||
|
"example": "email"
|
||||||
|
},
|
||||||
|
"firstname": {
|
||||||
|
"type": "string",
|
||||||
|
"example": "firstname"
|
||||||
|
},
|
||||||
|
"lastname": {
|
||||||
|
"type": "string",
|
||||||
|
"example": "lastname"
|
||||||
|
},
|
||||||
|
"isChecked": {
|
||||||
|
"type": "string",
|
||||||
|
"example": "True"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"xml": {
|
||||||
|
"name": "RegisterRequest"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user