[teiid-issues] [JBoss JIRA] (TEIID-4051) Swagger metadata includes internal java constructs

Ramesh Reddy (JIRA) issues at jboss.org
Thu May 11 16:04:00 EDT 2017


    [ https://issues.jboss.org/browse/TEIID-4051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13405387#comment-13405387 ] 

Ramesh Reddy commented on TEIID-4051:
-------------------------------------

In light of APICurio, I would like to see what kind of runtime changes Teiid would need in this space? we should probably (deprecate) enhance current REST implementation to force the user to redo some parts on payload definition side in terms of metadata. I believe I added many extension properties needed while working on the Swagger translator.

> Swagger metadata includes internal java constructs
> --------------------------------------------------
>
>                 Key: TEIID-4051
>                 URL: https://issues.jboss.org/browse/TEIID-4051
>             Project: Teiid
>          Issue Type: Quality Risk
>          Components: Server
>    Affects Versions: 8.12.x
>            Reporter: Steven Hawkins
>             Fix For: 10.0
>
>
> From IntegrationTestRestWarGeneration the swagger metadata includes definitions for Statement, ResultSet, StreamingOutput, etc.:
> ...
>   InputStream:
>     type: "object"
>   Statement:
>     type: "object"
>     properties:
>       queryTimeout:
>         type: "integer"
>         format: "int32"
>       closed:
>         type: "boolean"
>         default: false
>       resultSet:
>         $ref: "#/definitions/ResultSet"
> ...



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the teiid-issues mailing list