whitlockjc / sway-connect

Connect compatible Swagger integration middleware using the sway API.
MIT License
12 stars 4 forks source link

Design the validator middleware #6

Open whitlockjc opened 8 years ago

whitlockjc commented 8 years ago

The swagger-validator middleware in swagger-tools was probably the most useful middleware in swagger-tools. This middleware would do request validation based on your Swagger document, as well as response validation if enabled. This middleware has zero open issues but I'm all ears on suggestions.

armin-vcg commented 7 years ago

Support for JSR-303-compliant custom validators, and integration in codegen would get my project out of the XSD + annotation business. IMHO building rest from a swagger yml is far and away a better solution, but currently not an option because custom validators are not supported.