Skip to content
Beskid The Beskid Book

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

20.2 @arg and cross-links

@arg only on callable parameters; @ref for validated symbol links.

@arg and cross-links

Use @arg(name) only on callable parameters—functions, methods, and contract methods. Not on record fields. Not on type members. Not on mirrored SDK struct fields where the type already tells the story.

Cross-reference another symbol with @ref(Fully.Qualified.Name) so the compiler can validate the target against the same index that drives api.json.

The semantic pipeline reserves W1610–W1625 for documentation issues—orphan @arg, duplicate tags, @returns on non-callables. Fix warnings before you call the docs “done.”