Azure / Azure/azure-rest-api-specs

[OAV] need to check if service follows `x-nullable`

Open
#23,217 4 comments 0 reactions 1 assignee Claimed by @scbedd View on GitHub
Mgmt
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 2h
Merged PRs (30d)
424

Description

## Description

We found that some services will return `null` value regardless of [`x-nullable` settings](https://azure.github.io/autorest/extensions/#x-nullable). By default, `x-nullable: false` which means `null` value is not allowed. So the service teams are either not aware of `x-nullable` or their implementation doesn't follow what they defined in swagger.
Live validation should check if the service follows `x-nullable`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.