Skip to content

Add an option to not include $schema property #10

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

Open
mikunn opened this issue May 9, 2018 · 1 comment
Open

Add an option to not include $schema property #10

mikunn opened this issue May 9, 2018 · 1 comment

Comments

@mikunn
Copy link
Owner

mikunn commented May 9, 2018

By default the schema declaration property $schema is added to the result object. Add an option to not include this to allow the result to be more easily used as a sub-schema.

@invalidred
Copy link

I agree this is something that I would like to have as well.

P0lip pushed a commit to stoplightio/openapi-schema-to-json-schema that referenced this issue Aug 12, 2020
* Fixed bug where not all required items were deleted from array and replacd deepequal with faster version

* Added proper tests

* chore: better test

* test: add

* prefer clone deep

Co-authored-by: Ivan Malkov <[email protected]>
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

2 participants