[JBoss JIRA] (TEIIDDES-3006) api-docs on Swagger UI error
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3006?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-3006:
-----------------------------------
Fix Version/s: 11.0.2
> 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
> Fix For: 11.0.2
>
> 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}]}]}]}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (TEIIDDES-3006) api-docs on Swagger UI error
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3006?page=com.atlassian.jira.plu... ]
Barry LaFond reassigned TEIIDDES-3006:
--------------------------------------
Assignee: Ted Jones (was: Barry LaFond)
> 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: Ted Jones
> Fix For: 11.0.2
>
> 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}]}]}]}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (TEIIDDES-3040) Source function in a virtual view, it expects an Object type as the result
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3040?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-3040:
-----------------------------------
Fix Version/s: 11.0.2
> Source function in a virtual view, it expects an Object type as the result
> --------------------------------------------------------------------------
>
> Key: TEIIDDES-3040
> URL: https://issues.jboss.org/browse/TEIIDDES-3040
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 10.0.2
> Reporter: Colin Mondesir
> Assignee: Barry LaFond
> Fix For: 11.0.2
>
> Attachments: example.zip
>
>
> On a physical model, I have created a Source Function INSTR with the following parameters:
> IN char1 string
> IN char2 string
> RETURN result Integer
> When I use this source function in a virtual view, it expects an Object type as the result of this function. No way to force with an Integer type. So I create an Object column to store this result. But then I create a VDB and I want to deploy it, it tells me that it expects a Integer result and not an Object.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months