parser

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	AllowRemoteRefs bool
}

Config controls parser behavior.

type ParseResult

type ParseResult struct {
	Document libopenapi.Document
	Model    *v3high.Document
	Version  string
}

ParseResult holds the parsed OpenAPI document and its high-level model.

func Parse

func Parse(specPath string, cfg Config) (*ParseResult, error)

Parse reads an OpenAPI spec file and returns a parsed result.

Jump to

Keyboard shortcuts

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