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

Serge Huber commented on UNOMI-694:
-----------------------------------

h2. Re-targeted to unomi-3.2.0

Moved fixVersion from {{unomi-3.1.0}} to {{unomi-3.2.0}}.

A runtime flag to disable Swagger UI is production hardening, not a 3.1.0 
functional requirement. There is no {{unomi.swagger.enabled}} (or similar) 
switch on {{master}} today. Operators already control exposure by which Karaf 
features they install.

We will implement an explicit config flag (or documented production feature 
set) in 3.2.

h2. Workaround for 3.1

Do *not* install the {{unomi-rest-ui}} feature in production Karaf assemblies. 
REST API remains available without Swagger UI.

> Add a feature flag to remove Swagger UI from production
> -------------------------------------------------------
>
>                 Key: UNOMI-694
>                 URL: https://issues.apache.org/jira/browse/UNOMI-694
>             Project: Apache Unomi
>          Issue Type: Task
>            Reporter: Francois Gerthoffert
>            Priority: Major
>             Fix For: unomi-3.2.0
>
>
> Similar to the work done on the GraphQL API, some users might want to disable 
> Swagger UI from their production environment.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to