openapi

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package openapi implements OpenAPI specification loading.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

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

Repository loads OpenAPI specifications from remote or local sources.

func New

func New(client *http.Client, src string) *Repository

New creates a Repository for the given source URL or file path.

func (*Repository) Load

func (r *Repository) Load(ctx context.Context) (*openapi3.T, error)

Load fetches and parses the OpenAPI specification.

Jump to

Keyboard shortcuts

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