Skip to content

Commit

Permalink
[feat] https 경로 설정 - #300
Browse files Browse the repository at this point in the history
  • Loading branch information
rlarlgnszx committed Oct 12, 2024
1 parent da3ef8d commit 7572194
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions dateroad-api/src/main/java/org/dateroad/config/SwaggerConfig.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
package org.dateroad.config;

import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.enums.SecuritySchemeIn;
import io.swagger.v3.oas.annotations.enums.SecuritySchemeType;
import io.swagger.v3.oas.annotations.security.SecurityScheme;
import io.swagger.v3.oas.annotations.servers.Server;
import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Info;
import java.util.ArrayList;
Expand All @@ -18,6 +20,16 @@
bearerFormat = "JWT",
scheme = "Bearer"
)
@OpenAPIDefinition(
info = @io.swagger.v3.oas.annotations.info.Info(
title = "SOPT APP Team API",
version = "v2",
description = "SOPT 공식 앱팀 API입니다."
),
servers= {
@Server(url = "${app.base.url}")
}
)
@Configuration
public class SwaggerConfig {

Expand Down

0 comments on commit 7572194

Please sign in to comment.