Documentation
¶
Index ¶
- Constants
- func Format(t reflect.Type) string
- func Param(t reflect.Type, name, in string) (*spec.Parameter, error)
- func RegisterFormat[T any](format string)
- func Schema(t reflect.Type, requireTag bool) (*spec.Schema, error)
- func SwaggerUI() http.Handler
- func Type(t reflect.Type) string
- type APIDocer
- type OperationMiddleware
- type Operationer
- type Pathser
- type SwaggerOption
Constants ¶
View Source
const DefaultSecurityDefinitionName = "Bearer"
Variables ¶
This section is empty.
Functions ¶
func RegisterFormat ¶
Types ¶
type OperationMiddleware ¶
type Operationer ¶
type SwaggerOption ¶
func BasePath ¶
func BasePath(basePath string) SwaggerOption
func DefaultSecurityDefinition ¶
func DefaultSecurityDefinition() SwaggerOption
func Info ¶
func Info(info spec.InfoProps) SwaggerOption
func SecurityDefinition ¶
func SecurityDefinition(name string, securityScheme *spec.SecuritySchemeProps) SwaggerOption
Click to show internal directories.
Click to hide internal directories.