Hi,
when Integrating the following custom API i get the Error: Cannot read property 'parameters' of undefined. Same happens when I use the default.json from Swagger editor even though it is the very standard. Can you find any problem in the code? I found similar problems in the forum that were simply solved by updates - can this be similar or is it a known issue?
Thanks in advance!
Johannes
{
"swagger": "2.0",
"info": {
"title": "dox42 EmployeeList",
"description": "Call the dox42 Server",
"version": "1.0.0"
},
"host": "http://demo3.dox42.com",
"schemes": [
"http",
"https"
],
"basePath": null,
"produces": [
"application/json"
],
"paths": {
"/dox42RestService.ashx": {
"get": {
"description": "Gets the Employee List in PDF\n",
"parameters": [
{
"name": "Operation",
"in": "query",
"description": "Operation",
"required": true,
"type": "string"
},
{
"name": "DocTemplate",
"in": "query",
"description": "DocTemplate",
"required": true,
"type": "string"
},
{
"name": "SharePointAction.Site",
"in": "query",
"description": "SharePointAction.Site",
"required": true,
"type": "string"
},
{
"name": "SharePointAction.Library",
"in": "query",
"description": "SharePointAction.Library",
"required": true,
"type": "string"
},
{
"name": "SharePointAction.FileName",
"in": "query",
"description": "SharePointAction.FileName",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "Successful response"
}
}
}
}
}
}