openapi

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Spec added in v0.2.1

type Spec struct {
	JSON     []byte
	JSONETag string
	YAML     []byte
	YAMLETag string
}

Spec represents a compiled, validated OpenAPI 3.1 specification ready for serving.

func Compile added in v0.2.1

func Compile(m *manifest.Manifest) (*Spec, error)

Compile builds a validated OpenAPI 3.1 specification from a compiled manifest.Manifest, serializing both JSON and YAML documents with calculated SHA-256 ETags.

Jump to

Keyboard shortcuts

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