openapi

package
v0.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package openapi embeds OwlMail's canonical OpenAPI 3.1 documents.

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL