ErrorResponse
October 10, 2022 ยท View on GitHub
Category
Data Plane Warning
Applies to
Data Plane OpenAPI specs
Output Message
One of:
- Error response schema must be an object schema.
- Error response schema should contain an object property named
error. - The
errorproperty in the error response schema should be required. - Error schema should contain
codeproperty. - Error schema should contain
messageproperty. - The
codeproperty of error schema should be typestring. - The
messageproperty of error schema should be typestring. - Error schema should define
codeproperty as required. - Error schema should define
messageproperty as required. - Error response should contain a x-ms-error-code header.
Description
Error response body should conform to Azure API Guidelines.
CreatedAt
June 18, 2022
LastModifiedAt
June 18, 2022
How to fix the violation
Correct the error response schema.