| | |
| | | import org.springframework.boot.SpringApplication; |
| | | import org.springframework.boot.autoconfigure.SpringBootApplication; |
| | | import org.springframework.boot.context.properties.ConfigurationPropertiesScan; |
| | | import org.springframework.context.ConfigurableApplicationContext; |
| | | import org.springframework.scheduling.annotation.EnableScheduling; |
| | | |
| | | @SpringBootApplication |
| | |
| | | public class TalentCardServerApplication { |
| | | |
| | | public static void main(String[] args) { |
| | | SpringApplication.run(TalentCardServerApplication.class, args); |
| | | ConfigurableApplicationContext context = SpringApplication.run(TalentCardServerApplication.class, args); |
| | | String port = context.getEnvironment().getProperty("local.server.port", "8080"); |
| | | System.out.printf("Swagger UI: http://localhost:%s/swagger-ui/index.html%n", port); |
| | | } |
| | | |
| | | } |