openapi

package
v0.0.0-...-e5bde15 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct {
	// contains filtered or unexported fields
}

Parser handles fetching and parsing OpenAPI documentation

func NewParser

func NewParser(logger *zap.Logger) *Parser

NewParser creates a new OpenAPI parser

func (*Parser) FetchAndParse

func (p *Parser) FetchAndParse(ctx context.Context, swaggerURL string) (*openapi3.T, error)

FetchAndParse retrieves OpenAPI documentation from a URL and parses it

Jump to

Keyboard shortcuts

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