You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "bonampak (via GitHub)" <gi...@apache.org> on 2025/09/12 17:32:25 UTC

[PR] KNOX-3116: Update swagger-ui to 5.29.0 [knox]

bonampak opened a new pull request, #1085:
URL: https://github.com/apache/knox/pull/1085

   (It is very **important** that you created an Apache Knox JIRA for this change and that the PR title/commit message includes the Apache Knox JIRA ID!)
   
   ## What changes were proposed in this pull request?
   
   Update swagger-ui to 5.29.0
   
   ## How was this patch tested?
   
   Not tested yet.
   
   Please review [Knox Contributing Process](https://cwiki.apache.org/confluence/display/KNOX/Contribution+Process#ContributionProcess-GithubWorkflow) before opening a pull request.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@knox.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KNOX-3116: Update swagger-ui to 5.29.0 [knox]

Posted by "smolnar82 (via GitHub)" <gi...@apache.org>.
smolnar82 commented on PR #1085:
URL: https://github.com/apache/knox/pull/1085#issuecomment-3333057029

   Verified locally on https://localhost:8443/gateway/homepage/home/swagger/#home
   <img width="1723" height="944" alt="image" src="https://github.com/user-attachments/assets/d8c0f797-cc8a-4834-8dd5-4c6cc668adce" />
   Important note: the `homepage` topology comes with
   ```
            <param>
               <name>xframe.options</name>
               <value>SAMEORIGIN</value>
            </param>
   ```
   in its `webppsec` provider and this makes it possible to display the tabs properly in modern web browsers.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@knox.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KNOX-3116: Update swagger-ui to 5.29.0 [knox]

Posted by "bonampak (via GitHub)" <gi...@apache.org>.
bonampak commented on PR #1085:
URL: https://github.com/apache/knox/pull/1085#issuecomment-3292326726

   Tested on dev cluster, works as expected.
   
   However, we have an iframe in https://gateway-host:8443/gateway/homepage/home/swagger/index.html#home, which is not shown. 
   chrome-error://chromewebdata/:1 Refused to display 'https://gateway-host:8443/' in a frame because it set 'X-Frame-Options' to 'deny'. (Same applies to Safari).
   
   One has to open the Admin API and Metadata API links in a new tab or open the URLs:
   
   https://gateway-host:8443/gateway/homepage/home/swagger/index_admin.html
   https://gateway-host:8443/gateway/homepage/home/swagger/index_metadata.html
   
   to open the swagger ui for the apis.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@knox.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KNOX-3116: Update swagger-ui to 5.29.0 [knox]

Posted by "smolnar82 (via GitHub)" <gi...@apache.org>.
smolnar82 merged PR #1085:
URL: https://github.com/apache/knox/pull/1085


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@knox.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org