-
Notifications
You must be signed in to change notification settings - Fork 12
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
Postman Collection — fields incorrectly marked as required #116
Comments
json-schema-generator indeed has issue with creating schema from arrays: krg7880/json-schema-generator#30. I investigated
Unfortunately, quicktype has two drawbacks:
|
@karol-maciaszek @XVincentX yeah quicktype is massive for our needs lol https://bundlephobia.com/[email protected] How much work to fix that issue in our fork of json-schema-generator? I don't think json-schema-generator is being maintained anymore 🤔 |
@karol-maciaszek will investigate on the matter. I do agree that QuickType is really too heavy and it's not worth (especially if it's solely because of Postman Collection support). |
Might be good to chat with @marcelltoth too since he's working on integrating json-schema-generator into Studio, so maybe it makes sense to integrate our fork instead? https://github.com/stoplightio/platform-internal/pull/4273 |
The following example object
Marks
dogfield1
anddogfield2
as required, although they only appear once in the array, and not on all of themThe text was updated successfully, but these errors were encountered: