Package-level declarations

Types

Link copied to clipboard

What a route's handler lambda revealed: parameters, the request body type, and raised error codes.

Link copied to clipboard
Link copied to clipboard
class OperationBuilder(schemas: SchemaGenerator, anonymous: Boolean, handlerName: String)
Link copied to clipboard
class ParamInfo(val location: String, val name: String, var schema: JsonNode.Obj, var required: Boolean, var description: String? = null)

A request parameter detected in a route lambda: its location (path/query/header), name, schema, requiredness.

Link copied to clipboard
class RouteAnalyzer(messageCollector: MessageCollector, store: MetadataStore, irClass: IrClass, file: IrFile, template: UriTemplate?, anonymous: Boolean, schemas: SchemaGenerator)
Link copied to clipboard
object UriParser

Statically evaluates a handler's String.uri() implementation into a UriTemplate.

Link copied to clipboard

The statically evaluated String.uri() implementation of a handler, as a template of string literals and $this holes: "/api/v1/test$this" becomes [Lit("/api/v1/test"), Hole], and apply substitutes the per-route path into the holes. The result of UriParser.parse.