Idea Details

Swagger Driven Schema Validation

Last activity 15 days ago
guyd's profile image
By: guyd
08-27-2018 09:05 PM

In current version 9.2 or 9.3 of API gateway, "Validate Against Swagger Document Assertion" does not perform schema validation, but only basic URL validation. It requires to use another assertion "Validate JSON Schema Assertion".

 

Actually the swagger document carries all the information possible to perform in a single step. It is possible, based on the request URL, that is knowing which API is used, to validate the request (parameters, header, body) with the information and schemas provided in the swagger.


Comments

03-18-2019 12:51 PM

Hi all,

 

this looks quite similar to the following idea, which was already added to the backlog, at least according to a comment from May 2018: Validate Against Swagger Document: Check headers, parameters, content-type and payload 

 

Please check it out and vote, so maybe one of these idea's get more priority

02-07-2019 03:33 AM

.... and please add support for OpenAPI 3.0!