Documentation ¶
Index ¶
- func SpectrumUIPage(data PageParams) string
- func StreamSpectrumUIPage(qw422016 *qt422016.Writer, data PageParams)
- func WriteSpectrumUIPage(qq422016 qtio422016.Writer, data PageParams)
- type PageParams
- func (pp *PageParams) AddOperationsTable(tbl *table.Table) error
- func (pp *PageParams) AddSpec(spec *openapi3.Spec) error
- func (pp *PageParams) PageLinkHTML() string
- func (pp *PageParams) TableJSONBytesOrEmpty() []byte
- func (pp *PageParams) TabulatorColumnsJSONBytesOrEmpty() []byte
- func (pp *PageParams) WriteFile(filename string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SpectrumUIPage ¶
func SpectrumUIPage(data PageParams) string
func StreamSpectrumUIPage ¶
func StreamSpectrumUIPage(qw422016 *qt422016.Writer, data PageParams)
func WriteSpectrumUIPage ¶
func WriteSpectrumUIPage(qq422016 qtio422016.Writer, data PageParams)
Types ¶
type PageParams ¶
type PageParams struct { PageTitle string PageLink string TableDomID string Spec *openapi3.Spec ColumnSet *tabulator.ColumnSet OpsFilterFunc func(path, method string, op *oas3.Operation) bool OpsAdditionalFormatFuncs *openapi3.OperationMoreStringFuncMap TableJSON []byte }
func (*PageParams) AddOperationsTable ¶
func (pp *PageParams) AddOperationsTable(tbl *table.Table) error
func (*PageParams) PageLinkHTML ¶
func (pp *PageParams) PageLinkHTML() string
func (*PageParams) TableJSONBytesOrEmpty ¶
func (pp *PageParams) TableJSONBytesOrEmpty() []byte
func (*PageParams) TabulatorColumnsJSONBytesOrEmpty ¶
func (pp *PageParams) TabulatorColumnsJSONBytesOrEmpty() []byte
func (*PageParams) WriteFile ¶
func (pp *PageParams) WriteFile(filename string) error
Click to show internal directories.
Click to hide internal directories.