wizard

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 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 Info

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

func NewInfo

func NewInfo(meta *openapi3.Info, server openapi3.Servers) *Info

func (*Info) GetMeta

func (w *Info) GetMeta() *openapi3.Info

func (*Info) GetServers added in v0.0.4

func (w *Info) GetServers() openapi3.Servers

func (*Info) SetAuthorEmail

func (w *Info) SetAuthorEmail() *Info

SetAuthorEmail

func (*Info) SetAuthorName

func (w *Info) SetAuthorName() *Info

SetAuthorName

func (*Info) SetAuthorURL

func (w *Info) SetAuthorURL() *Info

SetAuthorEmail

func (*Info) SetBaseURL added in v0.0.4

func (w *Info) SetBaseURL() *Info

SetVersion

func (*Info) SetDescription

func (w *Info) SetDescription() *Info

SetVersion

func (*Info) SetLicenseName

func (w *Info) SetLicenseName() *Info

SetLicenseName

func (*Info) SetLicenseURL

func (w *Info) SetLicenseURL() *Info

SetLicenseURL

func (*Info) SetTermsOfService

func (w *Info) SetTermsOfService() *Info

SetTermsOfServices

func (*Info) SetTitle

func (w *Info) SetTitle(isRequired bool) *Info

SetTitle

func (*Info) SetVersion

func (w *Info) SetVersion(isRequired bool) *Info

SetVersion

type Request

type Request struct {
	Description       string
	Tag               string
	Request           string
	RequestValidation func(input string) error
	Response          string
}

func NewRequest

func NewRequest() *Request

func (*Request) SetDescription

func (w *Request) SetDescription() *Request

SetDescription

func (*Request) SetRequest

func (w *Request) SetRequest(p string) *Request

SetRequest

func (*Request) SetRequestValidation

func (w *Request) SetRequestValidation(rv func(input string) error)

func (*Request) SetResponse

func (w *Request) SetResponse() *Request

SetResponse

func (*Request) SetTag

func (w *Request) SetTag() *Request

SetTag

Jump to

Keyboard shortcuts

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