Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Opts ¶
type Opts struct { // BasePath for the UI path, defaults to: / . BasePath string // Path combines with BasePath for the full UI path, defaults to: docs. Path string // SpecURL the url to find the spec for. SpecURL string // RapiDocURL for the js that generates the rapidoc site, defaults to: https://cdn.jsdelivr.net/npm/rapidoc/bundles/rapidoc.standalone.js . RapiDocURL string // Title for the documentation site, default to: API documentation. Title string }
Opts configures the RapiDoc middlewares.
func (*Opts) EnsureDefaults ¶
func (r *Opts) EnsureDefaults()
EnsureDefaults in case some options are missing.
Click to show internal directories.
Click to hide internal directories.