Hi @nmrao ,
Sorry for the delay. I tried that in linux:
Swagger Compliance testing failed [java.lang.IllegalArgumentException: input "#" is not an absolute JSON Reference]
Here is an approach which you can try.
1. In the Swagger Compliance Assertion set a file path or url (absolute value). The value will be replaced with value passed at run time as project property, SWAGGER_URL
2. Here, property expansion is not used. Instead value is overridden run time.
3. Please follow the comments provided in the script.
4. This is project setup script only.
Here is the log message when the script is run
Thanks Rao. Your solution seems to work on Windows just fine. Only thing is that I had to tweak a bit as I have various swagger files for various api's in my projects, so not all should point to the same swagger file, but I managed to get around that.
Tomorrow I can let you know whether the nightly scheduled tests also could cope with it on Linux.