swagger

package
v0.48.1 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSpec

func GetSpec() spec.Swagger

GetSpec returns OpenAPI spec of the SeqUI server.

func GetUI

func GetUI() http.FileSystem

GetUI returns a file system in which the Swagger UI is embedded.

Types

type Spec

type Spec spec.Swagger

func GetSpecEx

func GetSpecEx() Spec

GetSpecEx returns extended OpenAPI spec of the SeqUI server.

func (Spec) FindPath

func (s Spec) FindPath(path string) (SpecPath, bool)

func (Spec) HasApi

func (s Spec) HasApi(api string) bool

type SpecPath

type SpecPath spec.PathItem

func (SpecPath) HasSecurity

func (sp SpecPath) HasSecurity(method string) bool

Jump to

Keyboard shortcuts

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