core

package
v1.25.5 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: MIT Imports: 9 Imported by: 1 module, 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

This section is empty.

Functions

This section is empty.

Types

type EitherValue

type EitherValue[L any, R any] struct {
	marshaller.CoreModel `model:"eitherValue"`

	Left   marshaller.Node[L]
	IsLeft bool

	Right   marshaller.Node[R]
	IsRight bool
}

func (*EitherValue[L, R]) GetNavigableNode

func (v *EitherValue[L, R]) GetNavigableNode() (any, error)

func (*EitherValue[L, R]) SyncChanges

func (v *EitherValue[L, R]) SyncChanges(ctx context.Context, model any, valueNode *yaml.Node) (*yaml.Node, error)

func (*EitherValue[L, R]) Unmarshal

func (v *EitherValue[L, R]) Unmarshal(ctx context.Context, parentName string, node *yaml.Node) ([]error, error)

type Value

type Value = *yaml.Node

Value represents a raw value in an OpenAPI or Arazzo document.

Jump to

Keyboard shortcuts

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