Skip to main content

handle_specs

Function handle_specs 

Source
pub async fn handle_specs(
    req: HttpRequest,
    body: String,
    state: Data<AppState>,
) -> Result<HttpResponse, HaystackError>
Expand description

POST /api/specs — list specs, optionally filtered by library.

Request grid may have a lib (Str) column to filter by library name. Returns a grid of specs sorted by qname, with columns: qname, name, lib, base, doc, and abstract (Marker).