We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Describe the bug
The provided schema creates an object containing only the properties from the $ref
$ref
Expected behavior An object with all four properties (name, age, street and zip) should be generated.
Schema
{ "definitions": { "location": { "type": "object", "properties": { "street": { "type": "string", "minLength": 2 }, "zip": { "type": "integer" } }, "required": [ "street" ] } }, "$id": "Person", "type": "object", "properties": { "name": { "type": "string", "description": "The name of the person", "example": "Lawrence" }, "age": { "type": "integer", "description": "The age of the person", "example": 42 } }, "$ref": "#/definitions/location", "required": [ "name" ] }
The text was updated successfully, but these errors were encountered:
wol-soft
Successfully merging a pull request may close this issue.
Describe the bug
The provided schema creates an object containing only the properties from the
$ref
Expected behavior
An object with all four properties (name, age, street and zip) should be generated.
Schema
The text was updated successfully, but these errors were encountered: