Documentation
¶
Overview ¶
Package redoc provides a ReDoc documentation portal for OpenAPI (formerly swagger) definitions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTemplate []byte
DefaultTemplate is the default index template.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Server)
Option is a redoc server option.
func WithFamily ¶
WithFamily is a redoc server option to set the google webfonts family to use.
func WithParam ¶ added in v0.1.1
WithParam is a redoc server option to set an additional template param.
func WithPrefix ¶
WithPrefix is a redoc server option to set the asset prefix.
func WithServeMux ¶
WithServeMux is a redoc server option to set the mux used.
func WithTemplate ¶ added in v0.1.1
WithTemplate is a redoc server option to set the template.
func WithVersion ¶
WithVersion is a redoc server option to set the redoc script version retrieved.
Click to show internal directories.
Click to hide internal directories.