Skip to content

Commit

Permalink
#33 [FEAT] : API가 호스팅 되는 서버 목록 정의
Browse files Browse the repository at this point in the history
  • Loading branch information
bbabbi committed Nov 9, 2024
1 parent 47de7c9 commit af88c67
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions server/src/main/java/org/cecd/server/external/SwaggerConfig.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
package org.cecd.server.external;

import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.servers.Server;
import io.swagger.v3.oas.models.Components;
import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Info;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@OpenAPIDefinition(
servers = {
@Server(url = "https://www.dgu1921.p-e.kr", description = "Dev Server"),
@Server(url = "http://localhost:8080", description = "Local Server")
}
)


@Configuration
public class SwaggerConfig {

Expand Down

0 comments on commit af88c67

Please sign in to comment.