cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-7581) SwaggerUIResourceFilter doesn't allow call to service endpoint
Date Wed, 13 Dec 2017 10:18:00 GMT

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

Sergey Beryozkin commented on CXF-7581:
---------------------------------------

Hi Andriy, 
Sorry, but this does not work at all, and keeping opening URI connections to check the availability
of the resources will get us new CVE pretty soon. But the simple reason it does not work is
that you make a specific assumption that some custom image is available on the disk, but on
in the database or somewhere else. Please revert it, sorry about it :-)

> SwaggerUIResourceFilter doesn't allow call to service endpoint
> --------------------------------------------------------------
>
>                 Key: CXF-7581
>                 URL: https://issues.apache.org/jira/browse/CXF-7581
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Michael McCaskill
>            Assignee: Andriy Redko
>            Priority: Minor
>
> I'm using CXF 3.2.0 with Swagger UI webjar 3.5.0 and Spring Boot 1.5.8.
> In the process of rewriting an api and trying to be backwards compatible with the existing
one. There's one endpoint "/images/{imageId}" that I'd like to support. Unfortunately the
SwaggerUIResourceFilter class specifically has a pattern that includes "/images". Is there
way to either customize the pattern or have that class take into consideration the entire
path (i.e. if the call is "/services/images" vs if the call is "/api-docs/images")?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message