Skip to content

Add support for object nullability expressed with "oneOf" #54

@tomasz-dudziak

Description

@tomasz-dudziak

There are three different ways in JSON schema to say that a field is a nullable object. One of them is for example:

"myField1" : {
                "oneOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "prop" : {
                        "type" : "string"
                      }
                    }
                  }
                ]
              }

This is currently not supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions