Versions in this module Expand all Collapse all v0 v0.3.0 Aug 24, 2023 Changes in this version + var PADDING = ` ` + var TRUNCATE_SIZE = 88 + func ActionInputString(doc *openapi3.T, info *info.Info, op *openapi3.Operation) string + func ActionOutputString(doc *openapi3.T, info *info.Info, res *openapi3.ResponseRef, name string) string + func TypeString(doc *openapi3.T, info *info.Info, ref *openapi3.SchemaRef) string + func WriteDoc(w io.Writer, doc *Doc) error + type Doc struct + Description string + Endpoints []Endpoint + HTMLs []HTMLEndpoint + Objects []Object + SkipMetadata bool + Title string + Version string + func Generate(doc *openapi3.T, info *info.Info) *Doc + type DocumentInfo struct + Description string + Summary string + type Endpoint struct + GoPositionURL string + HasExample bool + HtmlID string + Input Object + Method string + OperationID string + OutputList []Object + Path string + Tags string + type Example struct + Description string + Title string + Value string + type HTMLEndpoint Endpoint + type Link = info.Link + type Object struct + ContentType string + Examples []Example + HtmlID string + Links []Link + Name string + TypeExpr string + TypeString string