manual

package
v1.10.9 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2025 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "1.0"

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenAPIConverter

type OpenAPIConverter struct {
	Raw  interface{}
	Url  string
	Name string
}

OpenAPIConverter helps converting OpenAPI specs into a UtcpManual.

func NewOpenAPIConverter

func NewOpenAPIConverter(raw interface{}, url, name string) *OpenAPIConverter

NewOpenAPIConverter creates a new converter for OpenAPI raw definitions.

func (*OpenAPIConverter) Convert

func (c *OpenAPIConverter) Convert() UtcpManual

Convert processes the OpenAPI spec and returns a UtcpManual.

type UtcpManual

type UtcpManual struct {
	Version string
	Tools   []Tool
	Name    string // optional, for OpenAPI-derived manuals
}

UtcpManual represents a manual with a version and a set of tools.

func NewUtcpManualFromMap

func NewUtcpManualFromMap(m map[string]interface{}) UtcpManual

NewUtcpManualFromMap constructs a UtcpManual from a raw map representation.

Jump to

Keyboard shortcuts

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