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

Ramesh Reddy (JIRA) issues at jboss.org
Mon Sep 26 18:43:00 EDT 2016


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

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

The current method of exposing the service as Swagger needs to be revamped based on more extension metadata. What we have for the purpose of Swagger is not adequate. The extension properties are defined as part of the Swagger translator, which need to be elevated at the engine level for construction of swagger file, to complete whole round trip. 

> 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: 9.2
>
>
> 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
(v6.4.11#64026)


More information about the teiid-issues mailing list