Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnsupportedTypeKind ¶
UnsupportedTypeKind emits a uniform warning when a go/types kind cannot be translated to a Swagger 2.0 construct.
The scanner runs on arbitrary user code in uncontrolled environments, so encountering an unsupported kind must not panic — we log and let the caller skip. `where` is the dispatcher site (typically the function name) so a future go/types evolution — e.g. a new kind we haven't modeled — surfaces one grep-able diagnostic instead of disappearing behind a silent default.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.