annotations

package
v0.0.0-...-a93af15 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteSwagAnnotations

func WriteSwagAnnotations(endpoints []models.Endpoint, basePath string) (written int, err error)

WriteSwagAnnotations writes swag-style comment blocks above handler functions for each endpoint that has SourceFile and HandlerName set. basePath is prepended to route paths in @Router (e.g. /api/v1). It can be empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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