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

feature/bytearrayproperty-validation #51

Merged

Conversation

justinasbardauskas
Copy link

@justinasbardauskas justinasbardauskas commented May 31, 2018

  • Added ByteArrayProperty validation.
  • Added 'validateByteArrayProperties' property to enable/disable validation.
  • Removed 'properties validation' duplicated code from DocumentationDrivenValidator and ConsumerDriverValidator. Code moved to PropertyValidator class.
  • PropertyValidator : Refactored code. Changed 'instanceOf' operator to Type.class.isAssignableFrom(...). It provides more strict and faster type check operation.
  • Introduced swagger model type and format definitions validation in DocumentationDrivenValidator.
  • Added tests which cover swagger simple definitions and REF defintions.
  • Documentation update.

justinas.bardauskas added 2 commits May 31, 2018 15:01
* Removed duplicated code of properties validation from DocumentationDrivenValidator and ConsumerDriverValidator. Code moved to PropertyValidator class.
* Added 'validateByteArrayProperties' property to enable/disable validation
* Introduced model type and format definitions validation in DocumentationDrivenValidator.
* Added tests which cover simple swagger definitions and ref definitions.
@coveralls
Copy link

coveralls commented May 31, 2018

Coverage Status

Coverage increased (+0.2%) to 90.799% when pulling 708dc6e on justinasbardauskas:feature/bytearrayproperty-validation into 50021e4 on RobWin:master.

@RobWin RobWin merged commit ebeda3c into RobWin:master Jun 15, 2018
@marcelstoer
Copy link
Contributor

I was just about to start fixing the exact same issue. @RobWin could you please release this fix?

@justinasbardauskas justinasbardauskas deleted the feature/bytearrayproperty-validation branch February 6, 2019 14:39
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.

None yet

4 participants