openapioverlay

package
v0.0.0-...-88fa01a Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFailedToDecodeOpenAPIOverlay   = fmt.Errorf("failed to decode openapi overlay")
	ErrFailedToApplyOpenAPIOverlay    = fmt.Errorf("failed to apply openapi overlay")
	ErrFailedToValidateOpenAPIOverlay = fmt.Errorf("failed to validate openapi overlay")
)

Functions

func ApplyOpenAPIOverlay

func ApplyOpenAPIOverlay(input []byte, patchContent []byte) ([]byte, error)

ApplyOpenAPIOverlay applies the overlay content to the input

func CreateInfoOverlay

func CreateInfoOverlay(name string, description string, licenseName string, licenseUrl string) overlay.Overlay

func ParseOpenAPIOverlay

func ParseOpenAPIOverlay(patchContent []byte) (*overlay.Overlay, error)

ParseOpenAPIOverlay parses the overlay bytes into an overlay object

func ValidateOpenAPIOverlay

func ValidateOpenAPIOverlay(patchContent []byte) error

ValidateOpenAPIOverlay validates the overlay content

Types

This section is empty.

Jump to

Keyboard shortcuts

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