Skip to content
Merged
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 @@ -5,6 +5,7 @@ import io.swagger.v3.oas.annotations.enums.SecuritySchemeType
import io.swagger.v3.oas.annotations.info.Info
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 org.springdoc.core.models.GroupedOpenApi
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
Expand All @@ -17,6 +18,10 @@ import org.springframework.context.annotation.Configuration
version = "v1.0.0",
),
security = [SecurityRequirement(name = "Bearer Authentication")],
servers = [
Server(url = "https://commitmon.me"),
Server(url = "http://localhost:8080"),
],
)
@SecurityScheme(
name = "Bearer Authentication",
Expand Down