Class AbstractJsonEndpointSpec

Direct Known Subclasses:
HealthSpecSupport, TableApiDocumentSpecV1, TableApisSpecV1, TableFormAdjusterSpecV1

Base for extension endpoint specs whose request is path/query parameters and an optional JSON object body, and whose response is a JSON value - the common shape of module and qbit endpoints. A subclass defines the operation (path, method, parameters, request and response schemas) and handle(); the session is set up (for secured specs) before handle runs, and the result is written as JSON with nulls kept. Each subclass needs a public no-arg constructor (it is registered by class in a MiddlewareSpecExtension). See docs/UI-API-EXTENSIONS.md.