openapioverlay

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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(title string, 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