<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Titles &amp; descriptions | go-openapi codescan</title><link>https://go-openapi.github.io/codescan/shaping-the-output/titles-and-descriptions/index.html</link><description>Shape the human-readable text — override godoc with API-facing title and
description, route single-line comments to the description, keep annotations
out of the godoc, and clean godoc doc-links out of generated prose.</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://go-openapi.github.io/codescan/shaping-the-output/titles-and-descriptions/index.xml" rel="self" type="application/rss+xml"/><item><title>Overriding titles &amp; descriptions</title><link>https://go-openapi.github.io/codescan/shaping-the-output/titles-and-descriptions/overriding-titles-and-descriptions/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://go-openapi.github.io/codescan/shaping-the-output/titles-and-descriptions/overriding-titles-and-descriptions/index.html</guid><description>Replace the godoc-derived title and description with API-facing text using
swagger:title and swagger:description — on models, fields, $ref'd fields and
responses.</description></item><item><title>Markdown descriptions</title><link>https://go-openapi.github.io/codescan/shaping-the-output/titles-and-descriptions/markdown-descriptions/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://go-openapi.github.io/codescan/shaping-the-output/titles-and-descriptions/markdown-descriptions/index.html</guid><description>Carry a verbatim markdown body — tables, blank lines, indentation and all —
into a description with the swagger:description | literal block-scalar marker,
instead of letting Option B fold it.</description></item><item><title>Single-line comments as descriptions</title><link>https://go-openapi.github.io/codescan/shaping-the-output/titles-and-descriptions/single-line-comments/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://go-openapi.github.io/codescan/shaping-the-output/titles-and-descriptions/single-line-comments/index.html</guid><description>Route every single-line doc comment to description instead of title/summary
with the SingleLineCommentAsDescription option.</description></item><item><title>Keeping annotations out of the godoc</title><link>https://go-openapi.github.io/codescan/shaping-the-output/titles-and-descriptions/keeping-annotations-out-of-the-godoc/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://go-openapi.github.io/codescan/shaping-the-output/titles-and-descriptions/keeping-annotations-out-of-the-godoc/index.html</guid><description>Let swagger annotations live inside a struct body or as trailing comments so
the godoc above each declaration stays clean — the AfterDeclComments opt-in.</description></item><item><title>Cleaning godoc doc-links</title><link>https://go-openapi.github.io/codescan/shaping-the-output/titles-and-descriptions/cleaning-godoc-doc-links/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://go-openapi.github.io/codescan/shaping-the-output/titles-and-descriptions/cleaning-godoc-doc-links/index.html</guid><description>Strip godoc doc-link brackets from generated descriptions and recompose
resolvable links to each schema's exposed name — the CleanGoDoc opt-in.</description></item></channel></rss>