-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
docs: fix nullable json schema #31938
Conversation
Can you post a diff of the resulting json schema file? |
Good call, caught something I missed. Here's the new diff: samchungy@69d13af |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
🎉 This PR is included in version 38.122.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Changes
nullable
JSON schema to be generated as the appropriate type: [TYPE, 'null'].I'm not sure if all or other schemas are
nullable
but I went with a workaround to avoid completely re-writing the entire codebase.Context
I was trying to utilise the
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
field but my IDE was flagging anullable
field as invalid.Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via:
Ran the generate schema command locally and viewed the rendered schema: