-
Notifications
You must be signed in to change notification settings - Fork 59
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 Schema tests for response body properties that are arrays with min and max items dont match #494
Comments
I am also seeing strange behavior on maxItems. My OAS does not have any For now I will probably do a global overwrite (maybe |
hi @chyde80 & @savage-alex We did some work in the last version on keeping the original JSON schema. |
hi @chyde80 & @savage-alex More news, we were able to streamline the OpenAPI schema to JSON schema conversion further in #644 Once the PR lands in the next version, let us know if it solved your problems. |
@savage-alex @chyde80 Let us know, if the new version solved this issue. |
Getting the team who reported this to pull this version down and try thanks ! |
@savage-alex Did you get already any feedback from the team? |
sorry for the delay they are looking at it. |
@savage-alex |
I have tested it, and the issue is now resolved. Thank you to everyone involved |
thanks both! job well done |
Given the following property schema in a response body:
This results in a postman schema test where the min and max items are 1
We also noted from trying random numbers setting min items to 0 and maxItems to 2
The generated postman schema check dropped maxItems all together.
Happy to provide a full OpenAPI example for testing on request
Thanks
The text was updated successfully, but these errors were encountered: