Skip to main content

Module openapi

Module openapi 

Source
Expand description

OpenAPI 3.1 spec-driven HTTP server implementation

The LLM provides an OpenAPI specification and generates responses based on validated requests. Supports both spec-compliant and intentionally non-compliant responses for testing/honeypot purposes.

Modules§

actions
OpenAPI protocol actions for LLM integration

Structs§

OpenApiServer
OpenAPI server that uses LLM to handle spec-driven requests
OpenApiState
OpenAPI server state
RouteMetadata
Metadata for a matched route

Enums§

MatchResult
Result of route matching

Constants§

MAX_REQUEST_BODY_BYTES
How much of a request body is read before the request is refused with 413.