Skip to content

Commit

Permalink
[Revert] Swagger server url
Browse files Browse the repository at this point in the history
  • Loading branch information
bayy1216 committed Jul 17, 2024
1 parent 42bdc15 commit 31e60da
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package org.haedal.zzansuni.global.api;

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;
Expand All @@ -8,6 +10,12 @@
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@OpenAPIDefinition(
servers = {
@Server(url = "https://api.reditus.site",description = "Prod Server"),
@Server(url = "http://localhost:8080", description = "localhost"),
}
)
@Configuration
public class SwaggerConfig {
private static final String BEARER_KEY = "bearer-key";
Expand Down

0 comments on commit 31e60da

Please sign in to comment.