QID 580543
QID 580543: Null Values Restriction Matches Schema
In this scenario all fields are tested. Null values for all fields are sent to the server for the endpoint being tested.The expectation is that APIs will reject the request as invalid for required fields.
Based on testing done, using requests with null values, it is determined that the fields that are defined as required in the swagger file are not allowed to be updated with null values.
The response code received for the request with null values is expected and matches the response documented in the swagger file schema.
Enforcing valid value for required field based on limits defined in swagger file will help provide clarity to the API users and avoid abuse of the API by hackers.
Solution
N/A
Vendor References
CVEs related to QID 580543
Software Advisories
| Advisory ID | Software | Component | Link |
|---|