RouteAnalyzer

class RouteAnalyzer(messageCollector: MessageCollector, store: MetadataStore, irClass: IrClass, file: IrFile, template: UriTemplate?, anonymous: Boolean, schemas: SchemaGenerator)(source)

Constructors

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

Types

Link copied to clipboard
class Route(val path: String, val verb: String, val operation: JsonNode.Obj)

An analyzed route: the full path, the lower-case HTTP method, and the operation object.

Properties

Link copied to clipboard

The shared error responses referenced by the analyzed operations (component name → status code).

Functions

Link copied to clipboard
fun analyze(groupPrefix: String, call: IrCall): RouteAnalyzer.Route?

Returns the analyzed route, or null when the route is skipped (dynamic path, @OpenApiIgnore).