Versions in this module Expand all Collapse all v0 v0.1.0 Jun 28, 2026 Changes in this version + func BuildOperationContext(op *Operation) (string, error) + type Operation struct + Description string + Method string + OperationID string + Parameters []Parameter + Path string + RawSchema map[string]any + RequestBody *RequestBodySchema + Response *ResponseSchema + Responses map[string]*ResponseSchema + Summary string + type Parameter struct + In string + Name string + Required bool + Schema map[string]any + type RequestBodySchema struct + Required bool + Schema map[string]any + type ResponseSchema struct + Description string + Schema map[string]any + type Spec struct + ContentType string + Operations []*Operation + RawContent []byte + Version string + func LoadSpec(path string) (*Spec, error) + func (s *Spec) ConvertToJSON() ([]byte, error) + func (s *Spec) ServeContentType() string + func (s *Spec) ServeEndpoint() string