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

additionalProperties override should ignore explicitly set additionalProperties:true #419

Open
savage-alex opened this issue Oct 28, 2022 · 1 comment

Comments

@savage-alex
Copy link

One some schemas I want to provide additionalProperties and have explicitly set that.

I think it would be beneficial if the schema contract test which adds additionalProperties:false is aware of explicitly set objects as a way of working with this feature

@thim81
Copy link
Collaborator

thim81 commented Oct 29, 2022

Hi @savage-alex,

Could you give us some more context?
Or an example of what the outcome was, while you expected something else?

schemaValidation (Boolean) : Adds the test if the response body is matching the JSON schema defined in the OpenAPI spec. The JSON schema is inserted inline in the Postman test.

additionalProperties
(Boolean) : Extend the expected JSON schema used for the schemaValidation by setting all the additionalProperties.

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