[jira] [Commented] (OFBIZ-11328) Add JAX-RS capabilities (Jersey)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-11328) Add JAX-RS capabilities (Jersey)

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-11328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17228386#comment-17228386 ]

Girish Vasmatkar commented on OFBIZ-11328:
------------------------------------------

Hi Jacques -

It looks like you had made the changes in the rat-excludes file for swagger earlier -
{code:java}
**/plugins/ofbiz-rest-impl/webapp/swagger/**{code}
I had then renamed the folder 
{code:java}
/plugins/ofbiz-rest-impl/webapp/swagger/{code}
to 
{code:java}
/plugins/ofbiz-rest-impl/webapp/docs/{code}
I think just updating rat-excludes.txt such that
{code:java}
**/plugins/ofbiz-rest-impl/webapp/swagger/**{code}
becomes
{code:java}
**/plugins/ofbiz-rest-impl/webapp/docs/**{code}
should suffice. Would that work? I will then go ahead and update the file.

oauth2-redirect.html is coming from swager source, so the above change should take care of it, while redoc.html is coming from [https://github.com/Redocly/redoc] which is MIT license. It is however not part of the source code but that put an example of how to use redoc. After the above change, do you think we need ASL2 headers in redoc.html? 

Please let me know and I will the changes accordingly as you suggest. Thanks.

 

 

 

> Add JAX-RS capabilities (Jersey)
> ---------------------------------
>
>                 Key: OFBIZ-11328
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11328
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: ALL PLUGINS
>    Affects Versions: Trunk
>            Reporter: Girish Vasmatkar
>            Assignee: Girish Vasmatkar
>            Priority: Minor
>         Attachments: Rest webapp issue.patch, image-2020-01-29-19-24-52-312.png
>
>
> Add a new Jersey component leveraging JAX-RS. Also add capability to generate swagger documentation.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)