]
Kylin Soong commented on TEIID-4616:
------------------------------------
I use both
branches can not reproduce the issue,
[~rareddy] do you know where I can get 8.12.6.6_3? from screenshot, I think I totally got
the mis-matched code, due to both branches I tested no teiid log and top green bar.
api-docs on Swagger UI error
----------------------------
Key: TEIID-4616
URL:
https://issues.jboss.org/browse/TEIID-4616
Project: Teiid
Issue Type: Bug
Affects Versions: 8.12.6.6_3
Reporter: Debbie Steigner
Assignee: Kylin Soong
Attachments: Screenshot-RestVDB VDB - Mozilla Firefox.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}]}]}]}