openapi

package
v0.33.5 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2025 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenAPIHandler added in v0.31.5

func OpenAPIHandler(port string, svc ...string) func(w http.ResponseWriter, r *http.Request)

Handler to serve the OpenAPI specification file.

func Static

func Static() []byte

Byte alice with the openapi.json file.

Types

type Server added in v0.31.4

type Server struct {
	Scheme string
	Host   string
}

Jump to

Keyboard shortcuts

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