Expand description
HTTP API server for DocSpec document conversion.
Re-exports§
pub use server::serve;
Modules§
- cache
- Cache-Control middleware for all HTTP responses.
- error
- Error types for the HTTP server.
- format
- MIME type and HTTP header constants for the conversion API.
- handlers
- HTTP request handlers.
- metrics
- Prometheus metrics for the
docspec-httpserver. - mime_
parser - HTTP
Acceptnegotiation andContent-Typevalidation for the conversion API. - router
- HTTP router and route definitions.
- server
- HTTP server implementation.
- telemetry
- Telemetry facade. Currently wraps Sentry. Designed for extraction to
docspec-telemetrywhen (a) OpenTelemetry is added, OR (b)docspec-cliwants Sentry, OR (c) Prometheus metrics land. Keep the public API surface stable and free of HTTP-specific types. - tracing_
init - Tracing subscriber initialization.