gocrew

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator interface {
	Generate(router gotrac.Router) (*Spec, error)
}

func NewGenerator

func NewGenerator() Generator

type Spec

type Spec openapi31.Spec

func (*Spec) ServeHTTP

func (spec *Spec) ServeHTTP(w http.ResponseWriter, _ *http.Request)

func (*Spec) WithUI

func (spec *Spec) WithUI(title string, basePath string, docPattern string, config *swg.Config) http.Handler

Jump to

Keyboard shortcuts

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