Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update openapi configuration #2681

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import io.swagger.v3.oas.annotations.security.SecurityScheme;
import io.swagger.v3.oas.annotations.servers.Server;

@OpenAPIDefinition(servers = { @Server(url = "http://localhost:${server.port}")}, info = @Info(title = "Terarium APIs", description = "This lists all the Terarium HMI API Calls. The Calls are OAuth2 secured, "
@OpenAPIDefinition(servers = { @Server(url = "http://localhost:${server.port}"), @Server(url = "https://server.staging.terarium.ai")}, info = @Info(title = "Terarium APIs", description = "This lists all the Terarium HMI API Calls. The Calls are OAuth2 secured, "
+ "so please use your client ID and Secret to test them out.",
version = "v1.0"), security = @SecurityRequirement(name = "security_auth"))
@SecurityScheme(
Expand Down
2 changes: 2 additions & 0 deletions packages/server/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ springdoc.swagger-ui.oauth.clientId=${terarium.keycloak.client-id:app}
springdoc.swagger-ui.disable-swagger-default-url=true
springdoc.swagger-ui.operationsSorter=alpha
springdoc.swagger-ui.tagsSorter=alpha
springdoc.swagger-ui.path=/swagger-ui

#File upload/download
spring.mvc.async.request-timeout=-1

Expand Down
Loading