Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -185,12 +185,22 @@ Enabling fields to be `null` :
```json
{
"name": {
"type": "string",
"nullable": true
"type": ["string", "null"]
}
}
```

In case of enums `null` needs to be within the set of allowed values:

```json
{
"type": {
"enum": ["list", "detail", null]
}
}
```


Define type of objects in array:

```json
Expand Down
Loading