Skip to content

Commit

Permalink
[feat] : 서버 명시적으로 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hyun2371 committed Jan 31, 2025
1 parent 6f3c6f2 commit 15c21d5
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.info.Info;
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.security.SecurityRequirement;
Expand All @@ -18,7 +19,10 @@
info = @Info(
title = "GongmuIn API",
description = "공무인 API 명세서",
version = "v.1.0")
version = "v.1.0"),
servers = {
@Server(url = "https://gongmuin.site", description = "Deploy Server URL"),
@Server(url = "http://localhost:8080", description = "Local Host URL")}
)
@Configuration
public class SwaggerConfig {
Expand Down

0 comments on commit 15c21d5

Please sign in to comment.