Examples

The code shown on these pages lives under docs/examples as a separate Go module. Snippets are injected via the code Hugo shortcode, so what you read here is exactly what CI compiles and tests.

  • The smallest end-to-end use of codescan: annotate a package, scan it, and get back a Swagger 2.0 document.