swaggerator

package
v0.2.19 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRawEndpoints added in v0.1.0

func AddRawEndpoints(api *huma.OpenAPI, schema model.Config, prefix string) (*huma.OpenAPI, error)

AddRawEndpoints adds Raw API endpoints to an existing OpenAPI schema

func RegisterRoute added in v0.1.0

func RegisterRoute(mux *http.ServeMux, prefix string, spec []byte)

func Schema

func Schema(schema model.Config, prefix string, addresses ...string) (*huma.OpenAPI, error)

Schema dynamically generates an OpenAPI 3.1 schema based on the given table schema.

Types

This section is empty.

Jump to

Keyboard shortcuts

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