allOf: - $ref: './SuccessFlag.yaml' - type: object properties: errors: type: object properties: message: type: string description: Human readable error message example: isSuccess: false errors: message: "Resource disabled and can't be accessed"