Analyzer::Go::Huma::PackageInfo
What the operations of one package share: the security requirement
variables and default security its API declares, the base path of its
OpenAPI server, its named handlers and its huma.Register wrappers.
Instance methods
The declared-access tag of an operation from the security it ends up with (a literal, or a package variable holding one), else the API's default: anonymous when the list is empty or has an empty alternative, else the schemes it requires. Nil when nothing is declared, or the declaration cannot be read.
The path of the URL of the package's API document server, a literal
or a string constant of the package. Per OpenAPI, operation paths
are relative to it; vikunja mounts its Huma API on the Echo group at
that same GroupPrefix. Only a relative path counts: an absolute
URL usually names a proxy in front of the app.
ponytail: per package, not per API object: a package building two
APIs with different servers gets the first one's.