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

Use $ref instead of allOf for Extending Closed Schemas #65 #117

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

29deepanshutyagi
Copy link

This pull request updates the instructions.mdx file to use $ref instead of allOf for extending closed schemas. The changes include:

Explanation of the limitations of additionalProperties.
Demonstration of how to use $ref to extend the address schema by adding a type property.
Use of unevaluatedProperties to control additional properties.
Changes
Updated instructions.mdx to reflect the correct usage of $ref and unevaluatedProperties.
Related Issue
Fixes #65: Use $ref instead of allOf for Extending Closed Schemas

@29deepanshutyagi
Copy link
Author

kindly review it @JeelRajodiya

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

Successfully merging this pull request may close these issues.

Use $ref instead of allOf for Extending Closed Schemas
1 participant