Open Sun-Wukong opened 6 years ago
@Sun-Wukong the error happens for both configurations:
{
"petstore": {
"name": "petstore",
"connector": "swagger",
"spec": "swagger.json"
}
}
and
{
"petstore": {
"name": "petstore",
"connector": "swagger",
"spec": "http://petstore.swagger.io/v2/swagger.json"
}
}
Hey JP, I noticed that your Swagger connector points to the actual API endpoint. No need to do that, just point your
spec
attribute towards the location of your swagger file. The connector uses thehost
property within your swagger file, to perform API requests.