BAEL-4172 - How to Turn Off Swagger-ui in Production in http-2 (#9858)
* How to disable swagger in production example. * Add new module in main pom. * fix pom formatting * Replace tabs with spaces. * Move to article-specific package. Co-authored-by: Cristian Stancalau <cstancalau@consultant.ffn.com>
This commit is contained in:
committed by
GitHub
parent
93587c1ee5
commit
bbeb322d41
@@ -0,0 +1,12 @@
|
||||
package com.baeldung;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
@SpringBootApplication
|
||||
public class SpringBootRest2Application {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(SpringBootRest2Application.class, args);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user