<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Content types &amp; negotiation | go-openapi runtime</title><link>https://go-openapi.github.io/runtime/usage/examples/content-types/index.html</link><description>Adding new wire formats, registering vendor MIME types, streaming
bodies, per-payload Content-Type overrides, and using the
standalone negotiator from a vanilla net/http handler.</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://go-openapi.github.io/runtime/usage/examples/content-types/index.xml" rel="self" type="application/rss+xml"/><item><title>Custom codec (MessagePack)</title><link>https://go-openapi.github.io/runtime/usage/examples/content-types/custom-codec/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://go-openapi.github.io/runtime/usage/examples/content-types/custom-codec/index.html</guid><description>Register a Consumer and Producer for a wire format the runtime does
not ship — using MessagePack as the worked example.</description></item><item><title>Vendor MIME types</title><link>https://go-openapi.github.io/runtime/usage/examples/content-types/vendor-types/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://go-openapi.github.io/runtime/usage/examples/content-types/vendor-types/index.html</guid><description>Versioning an API through vendor MIME types
(application/vnd.acme.v1+json) — separate registrations per type,
shared codec.</description></item><item><title>Streaming bodies</title><link>https://go-openapi.github.io/runtime/usage/examples/content-types/streaming-bodies/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://go-openapi.github.io/runtime/usage/examples/content-types/streaming-bodies/index.html</guid><description>ByteStreamConsumer and ByteStreamProducer for large up- and
downloads — without buffering the whole payload in memory.</description></item><item><title>Per-payload Content-Type override</title><link>https://go-openapi.github.io/runtime/usage/examples/content-types/content-typer/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://go-openapi.github.io/runtime/usage/examples/content-types/content-typer/index.html</guid><description>The runtime.ContentTyper interface — declaring a payload's wire
Content-Type from the value itself, on the client side.</description></item><item><title>Negotiation in plain net/http</title><link>https://go-openapi.github.io/runtime/usage/examples/content-types/negotiate-standalone/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://go-openapi.github.io/runtime/usage/examples/content-types/negotiate-standalone/index.html</guid><description>Use server-middleware/negotiate from a vanilla net/http handler —
no OpenAPI spec, no go-openapi/runtime dependency.</description></item></channel></rss>