openapi

package
v1.6.5 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2025 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenApiConverter

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

OpenApiConverter converts an OpenAPI JSON spec into a UtcpManual.

func NewConverter

func NewConverter(
	openapiSpec map[string]interface{},
	specURL string,
	providerName string,
) *OpenApiConverter

NewConverter creates a new converter. If providerName is empty, it will be derived from spec.info.title.

func (*OpenApiConverter) Convert

func (c *OpenApiConverter) Convert() UtcpManual

Convert parses the OpenAPI spec and builds a UtcpManual.

Jump to

Keyboard shortcuts

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