Skip to content

Commit

Permalink
Merge pull request #119 from UMC-ON/fix/user
Browse files Browse the repository at this point in the history
feat: swagger base url fix
  • Loading branch information
sanggae4133 authored Dec 14, 2024
2 parents 6728813 + 83b1b31 commit 348a6d6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/com/on/server/ServerApplication.java
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
package com.on.server;

import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.info.Info;
import io.swagger.v3.oas.annotations.servers.Server;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;

@EnableJpaAuditing
@SpringBootApplication(exclude = { SecurityAutoConfiguration.class })
@OpenAPIDefinition(
info = @Info(title = "On Server API", version = "1.0.0"),
servers = { @Server(url = "/") }
)
public class ServerApplication {

public static void main(String[] args) {
Expand Down

0 comments on commit 348a6d6

Please sign in to comment.