AnsweredAssumed Answered

How-to use Validate Against Swagger Document assertion

Question asked by BDupont on Apr 21, 2016
Latest reply on Apr 21, 2016 by Nicolas Afonso

Hi everyone,

I'm trying to use a swagger document to validate requests on my services but I can't validate path of my requests. I have the 11401 error that mean path validation fails according to : Validate Against Swagger Document Assertion - CA API Gateway - 9.0 - CA Technologies Documentation

I tried using the example of the CA API Gateway documentation and it didn't work.

I've made a simple swagger document :


    "swagger": "2.0",

    "info": {

        "version": "0.0.0",

        "title": "Simple API"


    "paths": {

        "/test": {

            "get": {

                "responses": {

                    "200": {

                        "description": "OK"







and a simple policy to test path of my request:

It still didn't work.

If someone have tried this assertion and made it worked, i'd like some help on it.

Thank you.