kit

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-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 JApi

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

JApi is an interface-level wrapper for JApiCore

func NewJApiFromFile

func NewJApiFromFile(file *fs.File, oo ...core.Option) (JApi, *jerr.JApiError)

func NewJapi

func NewJapi(filepath string, oo ...core.Option) (JApi, *jerr.JApiError)

func (*JApi) Catalog

func (j *JApi) Catalog() *catalog.Catalog

func (*JApi) Title

func (j *JApi) Title() string

func (*JApi) ToJson

func (j *JApi) ToJson() ([]byte, error)

func (*JApi) ToJsonIndent

func (j *JApi) ToJsonIndent() ([]byte, error)

func (*JApi) ToOpenAPIJson added in v0.2.0

func (j *JApi) ToOpenAPIJson() ([]byte, error)

func (*JApi) ToOpenAPIJsonIndent added in v0.2.0

func (j *JApi) ToOpenAPIJsonIndent() ([]byte, error)

Jump to

Keyboard shortcuts

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