Skip to content

Commit

Permalink
Merge pull request #1651 from /issues/1599-base-url
Browse files Browse the repository at this point in the history
Fix #1599: Modify base server in OpenAPI definition
  • Loading branch information
zcgandcomp authored Jun 25, 2024
2 parents 1148d67 + 243a072 commit 63ff5e5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import io.swagger.v3.oas.annotations.info.Contact;
import io.swagger.v3.oas.annotations.info.Info;
import io.swagger.v3.oas.annotations.info.License;
import io.swagger.v3.oas.annotations.servers.Server;
import org.springdoc.core.models.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
Expand All @@ -32,6 +33,7 @@
*/
@Configuration
@OpenAPIDefinition(
servers = @Server(url="/powerauth-nextstep"),
info = @Info(
title = "PowerAuth Next Step RESTful API Documentation",
version = "1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import io.swagger.v3.oas.annotations.info.Contact;
import io.swagger.v3.oas.annotations.info.Info;
import io.swagger.v3.oas.annotations.info.License;
import io.swagger.v3.oas.annotations.servers.Server;
import org.springdoc.core.models.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
Expand All @@ -33,6 +34,7 @@
*/
@Configuration
@OpenAPIDefinition(
servers = @Server(url="/powerauth-tpp-engine"),
info = @Info(
title = "PowerAuth TPP Engine RESTful API Documentation",
version = "1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import io.swagger.v3.oas.annotations.info.Contact;
import io.swagger.v3.oas.annotations.info.Info;
import io.swagger.v3.oas.annotations.info.License;
import io.swagger.v3.oas.annotations.servers.Server;
import org.springdoc.core.models.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
Expand All @@ -32,6 +33,7 @@
*/
@Configuration
@OpenAPIDefinition(
servers = @Server(url="/powerauth-webflow"),
info = @Info(
title = "PowerAuth Web Flow RESTful API Documentation",
version = "1.0",
Expand Down

0 comments on commit 63ff5e5

Please sign in to comment.