diff --git a/notification-core/src/main/java/org/opengroup/osdu/notification/swagger/SwaggerConfiguration.java b/notification-core/src/main/java/org/opengroup/osdu/notification/swagger/SwaggerConfiguration.java index f9bf88f3c6c6ff1674989d72468d132caa78c86e..92f99e4a61698f784daa2501fd3c04d545d59037 100644 --- a/notification-core/src/main/java/org/opengroup/osdu/notification/swagger/SwaggerConfiguration.java +++ b/notification-core/src/main/java/org/opengroup/osdu/notification/swagger/SwaggerConfiguration.java @@ -7,7 +7,6 @@ import io.swagger.v3.oas.annotations.info.Info; import io.swagger.v3.oas.annotations.info.License; import io.swagger.v3.oas.annotations.security.SecurityRequirement; import io.swagger.v3.oas.annotations.security.SecurityScheme; -import io.swagger.v3.oas.annotations.servers.Server; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Profile; @@ -20,7 +19,6 @@ import org.springframework.context.annotation.Profile; version = "${api.version}", contact = @Contact(name = "${api.contact.name}", email = "${api.contact.email}"), license = @License(name = "${api.license.name}", url = "${api.license.url}")), - servers = @Server(url = "${api.server.url}"), security = @SecurityRequirement(name = "Authorization"), tags = { @Tag(name = "pubsub-endpoint-api", description = "PubSub Endpoint API"), diff --git a/notification-core/src/main/resources/swagger.properties b/notification-core/src/main/resources/swagger.properties index 550bd18aa32a6772e6594e44f963c76deac71ed3..8e152b2fa44e9014040b9db8d22b662a8943fb35 100644 --- a/notification-core/src/main/resources/swagger.properties +++ b/notification-core/src/main/resources/swagger.properties @@ -16,7 +16,6 @@ api.contact.name=OSDU Data Platform Team api.contact.email=dps@OSDU.org api.license.name=Apache 2.0 api.license.url=https://www.apache.org/licenses/LICENSE-2.0.html -api.server.url=${server.servlet.context-path} #PubSub Enpoint related properties pubsubEndpointApi.recordChanged.summary=Record Changed