<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Scope &amp; discovery | go-openapi codescan</title><link>https://go-openapi.github.io/codescan/shaping-the-output/scope-and-discovery/index.html</link><description>Choose what gets scanned and which definitions land in the spec — package
patterns and filters, when a type is emitted, pruning unreferenced models,
overlaying an existing document, and build constraints.</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://go-openapi.github.io/codescan/shaping-the-output/scope-and-discovery/index.xml" rel="self" type="application/rss+xml"/><item><title>Scoping the scan</title><link>https://go-openapi.github.io/codescan/shaping-the-output/scope-and-discovery/scoping-the-scan/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://go-openapi.github.io/codescan/shaping-the-output/scope-and-discovery/scoping-the-scan/index.html</guid><description>Limit what gets scanned — package patterns, working directory, include/exclude
filters, tag filters, and dependency handling.</description></item><item><title>When the scanner emits a type</title><link>https://go-openapi.github.io/codescan/shaping-the-output/scope-and-discovery/type-discovery/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://go-openapi.github.io/codescan/shaping-the-output/scope-and-discovery/type-discovery/index.html</guid><description>codescan never invents definitions — a type appears only when it is reachable
or registered. Understand reachability and swagger:model so nothing goes
missing or appears unexpectedly.</description></item><item><title>Pruning unused models</title><link>https://go-openapi.github.io/codescan/shaping-the-output/scope-and-discovery/pruning-unused-models/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://go-openapi.github.io/codescan/shaping-the-output/scope-and-discovery/pruning-unused-models/index.html</guid><description>Scan a shared library with swagger:model discovery, then keep only the
definitions actually reachable from your API — the middle ground between
"only what routes use" and "every model, used or not".</description></item><item><title>Overlaying a spec</title><link>https://go-openapi.github.io/codescan/shaping-the-output/scope-and-discovery/overlaying-a-spec/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://go-openapi.github.io/codescan/shaping-the-output/scope-and-discovery/overlaying-a-spec/index.html</guid><description>Merge scanned discoveries on top of an existing Swagger document with
InputSpec.</description></item><item><title>Build tags</title><link>https://go-openapi.github.io/codescan/shaping-the-output/scope-and-discovery/build-tags/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://go-openapi.github.io/codescan/shaping-the-output/scope-and-discovery/build-tags/index.html</guid><description>Scan source guarded by Go build constraints by passing build tags to the
scanner.</description></item></channel></rss>