Skip to content

Commit

Permalink
Don't include version in the Swagger UI header
Browse files Browse the repository at this point in the history
Nothing good comes from exposing this information by default.
  • Loading branch information
stuartwdouglas committed Nov 25, 2021
1 parent 13d1787 commit 2c2ee6f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ public class ApplicationConfig {
public Optional<String> version;

/**
* The header to use for UI Screen (Swagger UI, GraphQL UI etc)
* The header to use for UI Screen (Swagger UI, GraphQL UI etc).
*/
@ConfigItem(defaultValue = "{applicationName} {applicationVersion} (powered by Quarkus {quarkusVersion})")
@ConfigItem(defaultValue = "{applicationName} (powered by Quarkus)")
public Optional<String> uiHeader;
}

0 comments on commit 2c2ee6f

Please sign in to comment.