Skip to content

Commit

Permalink
Merge pull request #3 from potenday-project/develop
Browse files Browse the repository at this point in the history
swagger https 요청으로 변경
  • Loading branch information
HwangHoYoon authored Dec 11, 2023
2 parents 66dada8 + bf996c0 commit b116621
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 3 additions & 0 deletions src/main/java/com/chwipoClova/ChwipoClovaApplication.java
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
package com.chwipoClova;

import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.servers.Server;
import jakarta.servlet.MultipartConfigElement;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@OpenAPIDefinition(servers = {@Server(url = "/", description = "Default Server URL")})
@SpringBootApplication
public class ChwipoClovaApplication {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,4 @@ private Info apiInfo() {
.description("Springdoc을 사용한 Swagger UI")
.version("1.0.0");
}

@Bean
public MultipartResolver multipartResolver() {
return new StandardServletMultipartResolver();
}
}

0 comments on commit b116621

Please sign in to comment.