apiDocs

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScalarDocsHandler

func ScalarDocsHandler(params DocsParams) http.HandlerFunc

ScalarDocsHandler returns a handler that serves the API documentation using the Scalar API Reference component.

Types

type DocsParams

type DocsParams struct {
	OpenAPIFileType string
	OpenAPIPath     string
	DocsPath        string
	ServiceName     string
}

Jump to

Keyboard shortcuts

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