Documentation
¶
Index ¶
- func DefaultColumns() text.TextSet
- func StreamSwaggmanUIPage(qw422016 *qt422016.Writer, data PageParams)
- func SwaggmanUIPage(data PageParams) string
- func WriteSwaggmanUIPage(qq422016 qtio422016.Writer, data PageParams)
- type PageParams
- func (pp *PageParams) AddOperationsTable(tbl *table.Table) error
- func (pp *PageParams) AddSpec(spec *oas3.Swagger, columns *table.ColumnSet) 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 DefaultColumns ¶
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
Spec *oas3.Swagger
ColumnSet *table.ColumnSet
TableJSON []byte
}
func (*PageParams) AddOperationsTable ¶
func (pp *PageParams) AddOperationsTable(tbl *table.Table) error
func (*PageParams) PageLinkHTML ¶
func (pp *PageParams) PageLinkHTML() string
func (*PageParams) TableJSONBytesOrEmpty ¶ added in v1.3.0
func (pp *PageParams) TableJSONBytesOrEmpty() []byte
func (*PageParams) TabulatorColumnsJSONBytesOrEmpty ¶ added in v1.3.0
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.