<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Shaping the output | go-openapi codescan</title><link>https://go-openapi.github.io/codescan/shaping-the-output/index.html</link><description>How-to guides for the knobs that change how the same Go source renders into
the spec — $ref vs inline, alias handling, descriptions beside a $ref,
nullable pointers, vendor extensions, and spec overlays.</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://go-openapi.github.io/codescan/shaping-the-output/index.xml" rel="self" type="application/rss+xml"/><item><title>Scoping the scan</title><link>https://go-openapi.github.io/codescan/shaping-the-output/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/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/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/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>Nullable pointers</title><link>https://go-openapi.github.io/codescan/shaping-the-output/nullable-pointers/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://go-openapi.github.io/codescan/shaping-the-output/nullable-pointers/index.html</guid><description>Mark pointer-typed fields as nullable with x-nullable, via
SetXNullableForPointers.</description></item><item><title>Vendor extensions</title><link>https://go-openapi.github.io/codescan/shaping-the-output/vendor-extensions/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://go-openapi.github.io/codescan/shaping-the-output/vendor-extensions/index.html</guid><description>Control the x-go-* vendor extensions codescan emits, or suppress them with
SkipExtensions.</description></item><item><title>Descriptions beside a $ref</title><link>https://go-openapi.github.io/codescan/shaping-the-output/descriptions-beside-a-ref/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://go-openapi.github.io/codescan/shaping-the-output/descriptions-beside-a-ref/index.html</guid><description>Keep a field's description when its type resolves to a $ref, by wrapping the
reference in a single-arm allOf (DescWithRef).</description></item><item><title>Alias rendering</title><link>https://go-openapi.github.io/codescan/shaping-the-output/alias-rendering/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://go-openapi.github.io/codescan/shaping-the-output/alias-rendering/index.html</guid><description>Choose how Go type aliases render — dissolved to their target, or exposed as a
first-class $ref via swagger:model, with RefAliases / TransparentAliases.</description></item><item><title>Overlaying a spec</title><link>https://go-openapi.github.io/codescan/shaping-the-output/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/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/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/build-tags/index.html</guid><description>Scan source guarded by Go build constraints by passing build tags to the
scanner.</description></item></channel></rss>