v4

package
v0.0.0-...-372d421 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package v4 provides Swagger UI v4 assets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(title, swaggerJSONPath string, basePath string) http.Handler

New creates HTTP handler for Swagger UI.

func NewWithConfig

func NewWithConfig(config swgui.Config) func(title, swaggerJSONPath string, basePath string) http.Handler

NewWithConfig creates configurable handler constructor.

Types

type Handler

type Handler = internal.Handler

Handler handles swagger UI request.

func NewHandler

func NewHandler(title, swaggerJSONPath string, basePath string) *Handler

NewHandler creates HTTP handler for Swagger UI.

func NewHandlerWithConfig

func NewHandlerWithConfig(config swgui.Config) *Handler

NewHandlerWithConfig creates HTTP handler for Swagger UI.

Directories

Path Synopsis
Package main generates legacy static assets.
Package main generates legacy static assets.
Package static contains files to embed.
Package static contains files to embed.

Jump to

Keyboard shortcuts

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