swaggerv2

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseTemplate added in v0.0.3

func ParseTemplate(data interface{}, tplT []byte) ([]byte, error)

ParseTemplate template

func RegisterRoutes

func RegisterRoutes(server *rest.Server, opts ...Opts)

Types

type Opts

type Opts func(*swaggerConfig)

func WithSwaggerHost

func WithSwaggerHost(swaggerHost string) Opts

func WithSwaggerPath

func WithSwaggerPath(swaggerPath string) Opts

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL