OpenApiAggregator

Discovers OpenApiFragment implementations via ServiceLoader and merges runtime-registered operations into a unified OpenAPI 3.1.0 specification.

Functions

Link copied to clipboard
fun buildMinimalSpec(serverUrl: String = "http://localhost:8080"): String

Build a minimal spec from fragments alone (without InspeKtor-generated specs). This provides basic documentation even when InspeKtor specs are not available.

Link copied to clipboard
fun buildSpec(serverUrl: String = "http://localhost:8080"): String
Link copied to clipboard

Discover all registered OpenApiFragment implementations via ServiceLoader.