Documentation ¶ Overview ¶ Package openapi embeds OwlMail's canonical OpenAPI 3.1 documents. Index ¶ func JSON(serverURL string) ([]byte, error) func YAML(serverURL string) ([]byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func JSON ¶ func JSON(serverURL string) ([]byte, error) JSON returns the JSON contract with its first server URL set to the effective, base-path-aware API prefix. func YAML ¶ func YAML(serverURL string) ([]byte, error) YAML returns the YAML contract with its first server URL set to the effective, base-path-aware API prefix. SetBasePathname only accepts a normalized URL path; quoting it also keeps the emitted YAML unambiguous. Types ¶ This section is empty. Source Files ¶ View all Source files spec.go Click to show internal directories. Click to hide internal directories.