You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
The quoting-service POST /quotes endpoint allows empty quoteId and transactionId values.
These are marked as mandatory in the swagger definition and have patterns, however a "minLength" of 1 is required in order to validate empty values being sent in these fields.
Tasks:
Validate the changes
Make sure test added to postman test collection
NOTE: This is due to an underlying bug in enjoi, PR raised here: tlivings/enjoi#73
Once the above PR is merged the "minLength" should be removed from the quoting-service swagger.json!
Severity:
Low
Priority:
Low
Expected Behavior
An error message is returned if an empty value is passed for these fields: quoteId:
{
"errorInformation": {
"errorCode": "3102",
"errorDescription": "Missing mandatory element - \"QuoteId\" is not allowed to be empty"
}
}
transactionId:
{
"errorInformation": {
"errorCode": "3102",
"errorDescription": "Missing mandatory element - \"TransactionId\" is not allowed to be empty"
}
}
Steps to Reproduce
POST a /quotes request with an empty quoteId or transactionId value.
A 202 accepted will be returned instead of a 400 with the appropriate error message above.
Summary:
The quoting-service POST /quotes endpoint allows empty quoteId and transactionId values.
These are marked as mandatory in the swagger definition and have patterns, however a "minLength" of 1 is required in order to validate empty values being sent in these fields.
Tasks:
NOTE: This is due to an underlying bug in enjoi, PR raised here: tlivings/enjoi#73
Once the above PR is merged the "minLength" should be removed from the quoting-service swagger.json!
Severity:
Low
Priority:
Low
Expected Behavior
An error message is returned if an empty value is passed for these fields:
quoteId:
transactionId:
Steps to Reproduce
Specifications
Pull Requests:
Notes:
The text was updated successfully, but these errors were encountered: