Files
nmon/internal/app/openapi.go
jleung f85c3ef781
Some checks failed
ci / lint (push) Has been cancelled
ci / test (ubuntu-24.04-arm) (push) Has been cancelled
ci / test (ubuntu-latest) (push) Has been cancelled
ci / postgres (push) Has been cancelled
ci / openapi (push) Has been cancelled
M3: Go API per UI contract, embedded UI, openapi compat check, nmon-devtools, live gate + screenshots; M4 WP1 reachability and dependency suppression
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Lx9FNLG2CqeBbVGGd9bFsP
2026-10-22 20:34:14 +00:00

8 lines
267 B
Go

package app
import "github.com/v10networks/nmon/internal/api"
// OpenAPISpec returns the generated OpenAPI 3.1 document for `nmon openapi`.
// It lives here because only internal/app may import internal/api.
func OpenAPISpec() ([]byte, error) { return api.Spec() }