openapi

package
v0.0.0-...-35a4376 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const Path = "/doc/openapi"

Variables

This section is empty.

Functions

func MountRaw

func MountRaw[Router router.HTTPRouter](h RawHandlers[Router]) func(Router)

func RouteHandlers

func RouteHandlers(s Specification) router.RouteHandlers

Types

type RawHandlers

type RawHandlers[Router router.HTTPRouter] interface {
	RegisterHandlers(r Router)
}

type RawHandlersWithSpecification

type RawHandlersWithSpecification[Router router.HTTPRouter] interface {
	Specification
	RawHandlers[Router]
}

type Specification

type Specification interface {
	Specification() (*openapi3.T, error)
}

Jump to

Keyboard shortcuts

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