Getting started

Install

go get github.com/go-openapi/go-yaml

Requires Go 1.26.0 or newer.

No release yet

The module has no tagged version. go get resolves a pseudo-version on master, and the API still moves. See Status.

Decode

TODO — the smallest useful Unmarshal into a struct, and the same into any.

Encode

TODO — Marshal of the same value, and what the default output looks like.

Then what

Read Which layer you need. Most callers stay in Usage; Advanced is for programs that work on the document rather than on Go values.