Swagger Driven Schema Validation

Idea created by guyd on Aug 28, 2018
    New
    Score8
    • dblanc
    • jmc75
    • guyd
    • jmconte
    • RemcoDekker
    • CBertagnolli
    • michaelbobzin82427720
    • SteveCharland

    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.