[
https://issues.jboss.org/browse/TEIID-4350?page=com.atlassian.jira.plugin...
]
Kylin Soong updated TEIID-4350:
-------------------------------
Description:
Current we use asm to add swagger annotations on every rest method and endpoint, but there
are possibility to enable swagger without annotations, [1] is cxf swagger feature
implement this. More details of cxf swagger refer to [2], with swagger feature, rest
service can enable swagger with a one line configure.
I have talked with a ws guy, resteasy may add a similar feature, so I create this issue
to catch that, if resteasy swagger feature is enable, teiid rest service can be enhanced
enormously:
* swagger init, OriginFilter code can be removed.
* asm based add swagger annotation code can be removed.
The only need to keep are swaggerUI and resteasy swagger related configure.
[1]
https://github.com/apache/cxf/blob/master/rt/rs/description-swagger/src/m...
[2]
http://cxf.apache.org/docs/swagger2feature.html
was:
Current we use asm to add swagger annotations on every rest method and endpoint, but there
are possibility to enable swagger without annotations, [1] is cxf swagger feature
implement this. More details of cxf swagger refer to [2], with swagger feature, rest
service can enable swagger with a one line configure.
I have talked with a ws guy, resteasy may add a simple feature, so I create this issue to
catch that, if resteasy swagger feature is enable, teiid rest service can be enhanced
enormously:
* swagger init, OriginFilter code can be removed.
* asm based add swagger annotation code can be removed.
The only need to keep are swaggerUI and resteasy swagger related configure.
[1]
https://github.com/apache/cxf/blob/master/rt/rs/description-swagger/src/m...
[2]
http://cxf.apache.org/docs/swagger2feature.html
Enable Swagger in Rest war can be more simpler
----------------------------------------------
Key: TEIID-4350
URL:
https://issues.jboss.org/browse/TEIID-4350
Project: Teiid
Issue Type: Feature Request
Components: Server
Affects Versions: 9.1
Reporter: Kylin Soong
Assignee: Kylin Soong
Fix For: 9.x
Current we use asm to add swagger annotations on every rest method and endpoint, but
there are possibility to enable swagger without annotations, [1] is cxf swagger feature
implement this. More details of cxf swagger refer to [2], with swagger feature, rest
service can enable swagger with a one line configure.
I have talked with a ws guy, resteasy may add a similar feature, so I create this issue
to catch that, if resteasy swagger feature is enable, teiid rest service can be enhanced
enormously:
* swagger init, OriginFilter code can be removed.
* asm based add swagger annotation code can be removed.
The only need to keep are swaggerUI and resteasy swagger related configure.
[1]
https://github.com/apache/cxf/blob/master/rt/rs/description-swagger/src/m...
[2]
http://cxf.apache.org/docs/swagger2feature.html
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)