]
Debbie Steigner reassigned TEIIDDES-3006:
-----------------------------------------
Assignee: Barry LaFond (was: Debbie Steigner)
api-docs on Swagger UI error
----------------------------
Key: TEIIDDES-3006
URL:
https://issues.jboss.org/browse/TEIIDDES-3006
Project: Teiid Designer
Issue Type: Bug
Affects Versions: 10.0.2
Reporter: Debbie Steigner
Assignee: Barry LaFond
Attachments: Screenshot-RestVDB VDB - Mozilla Firefox.png, screen-404.png,
screen-api.png
The link on the Swagger UI for api-docs, shows Error -
{"schemaValidationMessages":[{"level":"error","message":"Can't
read from file
http://127.0.0.1:8080/RestVDB/api-docs/Debbiev"}]}
But I can enter the URL and go to the api-doc -
http://127.0.0.1:8080/RestVDB/api-docs/Debbiev
{"apiVersion":"2.0.0","swaggerVersion":"1.2","basePath":"/RestVDB","resourcePath":"/Debbiev","apis":[{"path":"/Debbiev/mytable","operations":[{"method":"POST","summary":"(XML)
postmytable:
null","notes":"","type":"java.io.InputStream","nickname":"postmytable","produces":["application/xml;
charset=UTF-8"],"consumes":["application/xml"],"parameters":[{"name":"body","required":false,"type":"java.io.InputStream","paramType":"body","allowMultiple":false}]},{"method":"GET","summary":"(XML)
getmytable:
null","notes":"","type":"java.io.InputStream","nickname":"getmytable","produces":["application/xml;
charset=UTF-8"],"parameters":[]}]},{"path":"/Debbiev/json/mytable","operations":[{"method":"GET","summary":"(JSON)
getmytable:
null","notes":"","type":"string","nickname":"getmytablejson","produces":["application/json;
charset=UTF-8"],"parameters":[]},{"method":"POST","summary":"(JSON)
postmytable:
null","notes":"","type":"string","nickname":"postmytablejson","produces":["application/json;
charset=UTF-8"],"consumes":["application/json"],"parameters":[{"name":"body","required":false,"type":"java.io.InputStream","paramType":"body","allowMultiple":false}]}]}]}