schema

open fun schema(): String?

Returns a dynamic OpenAPI schema document, or null to use the static assets/lustro/<id>.openapi.json.

By default, the document of the routes that routes declares, or null when it declares none. Override it to give the tab's own document while the declared routes keep the routing, or to change the generated document, which super.schema() returns.

Throws

when the declarations have a mistake.