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:
Cristian Stancalau
2020-08-24 17:36:21 +03:00
committed by GitHub
parent 93587c1ee5
commit bbeb322d41
6 changed files with 139 additions and 0 deletions
@@ -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);
}
}