Don't add servers item
This commit is contained in:
parent
904bc60ed7
commit
9aa199103d
|
@ -6,7 +6,6 @@ import io.swagger.v3.oas.annotations.security.OAuthFlows
|
|||
import io.swagger.v3.oas.annotations.security.SecurityScheme
|
||||
import io.swagger.v3.oas.models.OpenAPI
|
||||
import io.swagger.v3.oas.models.info.Info
|
||||
import io.swagger.v3.oas.models.servers.Server
|
||||
import org.springframework.beans.factory.annotation.Value
|
||||
import org.springframework.context.annotation.Bean
|
||||
import org.springframework.context.annotation.Configuration
|
||||
|
@ -36,7 +35,5 @@ open class OpenApiConfiguration {
|
|||
.version(apiVersion)
|
||||
.description(apiDescription)
|
||||
)
|
||||
.addServersItem(Server().url("http://localhost:12000"))
|
||||
.addServersItem(Server().url("https://api.2martens.de"))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue