swaginit

command
v2.31.2 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package main wraps swag init with Strict mode enabled.

The upstream swag CLI (v1.16.2) does not expose a --strict flag, so warnings about duplicate routes are silently ignored. This wrapper calls the Go API directly with Strict: true, turning those warnings into hard errors.

Jump to

Keyboard shortcuts

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