Documentation ¶
Index ¶
Constants ¶
View Source
const ( UIIndexHTML = `` /* 1442-byte string literal not displayed */ RedocUIIndexTemplate = `` /* 2822-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func NewRootCmd ¶
Types ¶
type RedocUIIndexConfig ¶
type RedocUIIndexConfig struct { RedocURL string URLs []*SwaggerFile }
func (RedocUIIndexConfig) Generate ¶
func (cfg RedocUIIndexConfig) Generate() ([]byte, error)
type SwaggerFile ¶
type SwaggerFiles ¶
type SwaggerFiles []*SwaggerFile
func (SwaggerFiles) Len ¶
func (sf SwaggerFiles) Len() int
func (SwaggerFiles) Less ¶
func (sf SwaggerFiles) Less(i, j int) bool
func (SwaggerFiles) Swap ¶
func (sf SwaggerFiles) Swap(i, j int)
type UIIndexHTMLConfig ¶
type UIIndexHTMLConfig struct { UICss string BundleJS string StandalonePresetJS string URLs []*SwaggerFile }
func (UIIndexHTMLConfig) Generate ¶
func (cfg UIIndexHTMLConfig) Generate() ([]byte, error)
type UITemplateConfig ¶
Click to show internal directories.
Click to hide internal directories.