KeelApiPlugin

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class KeelApiPlugin(val pluginId: String, val title: String, val description: String = "", val version: String = "1.0.0")(source)

Marks a KPlugin class for OpenAPI spec generation. KSP processor reads this annotation and generates an OpenApiFragment registry object plus SPI registration for runtime discovery.

Parameters

pluginId

The unique plugin identifier (e.g., "dbdemo")

title

Human-readable title for the OpenAPI info section

description

Optional description for the plugin's API group

version

API version string (e.g., "1.0.0")

Properties

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