Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tomasz-dudziak opened this issue Dec 13, 2023 · 0 comments
Open

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

tomasz-dudziak opened this issue Dec 13, 2023 · 0 comments

Comments

@tomasz-dudziak
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant