openapi3html

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultColumns

func DefaultColumns() text.TextSet

func StreamSwaggmanUIPage

func StreamSwaggmanUIPage(qw422016 *qt422016.Writer, data PageParams)

func SwaggmanUIPage

func SwaggmanUIPage(data PageParams) string

func WriteSwaggmanUIPage

func WriteSwaggmanUIPage(qq422016 qtio422016.Writer, data PageParams)

Types

type PageParams

type PageParams struct {
	PageTitle  string
	PageLink   string
	TableDomID string
	TableJSON  []byte
}

func (*PageParams) AddOperationsTable

func (pp *PageParams) AddOperationsTable(tbl *table.Table) error

func (*PageParams) AddSpec

func (pp *PageParams) AddSpec(spec *oas3.Swagger, columns *text.TextSet) error

func (*PageParams) PageLinkHTML

func (pp *PageParams) PageLinkHTML() string

func (*PageParams) WriteFile

func (pp *PageParams) WriteFile(filename string) error

Jump to

Keyboard shortcuts

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