MS3Inc / camel-rest-extensions

Apache License 2.0
2 stars 1 forks source link

Replace validator library #2

Closed rlratcliffe closed 4 years ago

rlratcliffe commented 4 years ago

Replace swagger-request-validator with openapi4j for xml validation functionality

- Update spec with xml request schema
- Refactor pom: organize/add comments, add openapi4j, remove swagger-request-validator, add dependencies for tests
- Replace validator with openapi4j parser, validator, and converting xml to a JsonNode
- Reorganize tests, add xml tests, add assertJ validation for post requests to further assert that the correct exception occurred