Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
data class BatchResult(val afterId: String, val size: Int, val errorCode: String = ErrorInfo.SUCCEEDED, val errorMsg: String = ErrorInfo.SUCCEEDED_MESSAGE) : ErrorInfo

The result of a batch operation.

Link copied to clipboard
Link copied to clipboard
interface ComponentRef<C>
Link copied to clipboard
Link copied to clipboard
class HeaderRef(val name: String, val component: Header) : ComponentRef<Header>
Link copied to clipboard
object Https
Link copied to clipboard
class ParameterRef(val name: String, val component: Parameter) : ComponentRef<Parameter>
Link copied to clipboard
Link copied to clipboard
class RequestBodyRef(val name: String, val component: RequestBody) : ComponentRef<RequestBody>
Link copied to clipboard
class ResponseRef(val name: String, val component: ApiResponse, val code: String = Https.Code.OK) : ComponentRef<ApiResponse>
Link copied to clipboard
Link copied to clipboard
object RoutePaths
Link copied to clipboard
class RouterSpecs(currentContext: NamedBoundedContext, routes: MutableList<RouteSpec> = mutableListOf()) : MutableList<RouteSpec>
Link copied to clipboard
interface RouteSpec : Identifier
Link copied to clipboard
Link copied to clipboard
class SchemaRef(val name: String, val component: Schema<*>, val schemas: Map<String, Schema<*>> = mapOf(name to component)) : ComponentRef<Schema<*>>
Link copied to clipboard
object Tags

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun Schema<*>.toContent(name: String = "*/*", customize: (Content) -> Unit = {}): Content
Link copied to clipboard
fun Schema<*>.toJsonContent(customize: (Content) -> Unit = {}): Content
Link copied to clipboard
fun RouteSpec.toOperation(): Operation
Link copied to clipboard
fun List<RouteSpec>.toPathItem(): PathItem