Skip to content

Commit

Permalink
fix: Swagger의 서버 경로를 상대 경로로 지정 (#37)
Browse files Browse the repository at this point in the history
`@OpenAPIDefinition` 을 사용하여 서버 경로를 상대 경로로 지정
  • Loading branch information
Enble authored Nov 11, 2024
1 parent c27d0ce commit 245b139
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/com/pictalk/PictalkApplication.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
package com.pictalk;

import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.servers.Server;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

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

Expand Down

0 comments on commit 245b139

Please sign in to comment.