Documentation
¶
Overview ¶
Package swagstub provides stubs for swagger-based workflows. EXPERIMENTAL: This package is not yet API-stable.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Spec ¶
type Spec struct {
Version string
Host string
BasePath string
Schemes []string
Title string
Description string
InfoInstanceName string
SwaggerTemplate string
LeftDelim string
RightDelim string
}
Spec is a minimal stub of github.com/swaggo/swag.Spec used by generated docs. This allows generated swagger documentation to work without importing the full swag package.
func (*Spec) InstanceName ¶
InstanceName returns the registered instance name, defaulting to "swagger".
Click to show internal directories.
Click to hide internal directories.