Versions in this module Expand all Collapse all v0 v0.1.0 Dec 5, 2026 Changes in this version + var ErrSwagger2 = errors.New("swagger 2.0 is not supported: convert the spec to OpenAPI 3.x first") + var ErrUnsupportedVersion = errors.New("unsupported OpenAPI version: writgate accepts 3.0.x and 3.1.x") + func Load(data []byte, opts Options) (*v3.Document, error) + func LoadFile(path string, opts Options) (*v3.Document, error) + type Options struct + AllowRemoteRefs bool + BasePath string + Logger *slog.Logger