Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@NicoVogel
Copy link
Contributor

Problem description:
The current implementation is not able to validate whether additional properties are send with a request or not.
This is the case for example setting additionalProperties: false in a requestBody of any endpoint.

Changes in this PR

  • upgrade json-schema-deref-sync to version 0.14.0 in order to get this feature json-schema-deref-sync#31
  • enable the mergeAdditionalProperties feature
  • write positive and negative test

@NicoVogel NicoVogel force-pushed the feature/enable-merge-additional-properties branch from 812f9b7 to 015bf91 Compare December 20, 2020 12:34
@raffrearaUS raffrearaUS merged commit 7540585 into oas-tools:master Jan 26, 2021
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.

2 participants