<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Inside Dot Net]]></title><description><![CDATA[Inside Dot Net]]></description><link>https://insidedotnet.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Dec 2026 19:58:29 GMT</lastBuildDate><atom:link href="https://insidedotnet.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Your Upgrade Passed Every Test. Your API Docs Still Broke.]]></title><description><![CDATA[After moving a project to .NET 11, everything was green. Build, tests, app startup. Then the Swagger UI page refused to render. The cause is one default…]]></description><link>https://insidedotnet.hashnode.dev/your-upgrade-passed-every-test-your-api-docs-still-broke</link><guid isPermaLink="true">https://insidedotnet.hashnode.dev/your-upgrade-passed-every-test-your-api-docs-still-broke</guid><category><![CDATA[dotnet]]></category><category><![CDATA[asp.net core]]></category><category><![CDATA[OpenApi]]></category><dc:creator><![CDATA[Rituraj Pokhriyal]]></dc:creator><pubDate>Fri, 27 Nov 2026 17:44:56 GMT</pubDate><content:encoded><![CDATA[<p>After moving a project to .NET 11, everything was green. Build, tests, app startup. Then the Swagger UI page refused to render.</p>
<p>The cause is one default. <code>OpenApiOptions.OpenApiVersion</code> now defaults to OpenAPI 3.2 instead of 3.1, so <code>/openapi/v1.json</code> starts with <code>"openapi": "3.2.0"</code>. The server returns 200 and logs nothing. The swagger-ui bundled in Swashbuckle.AspNetCore.SwaggerUI 10.1.4 and earlier only understands 3.0 and 3.1, so it gives up.</p>
<p>Your tests won't catch this, because the server isn't broken. The contract format changed, and the people who notice are your consumers: client generators, gateway imports, someone else's contract tests.</p>
<p>The full article covers:</p>
<ul>
<li>three fixes: update the UI package, pin to 3.1, or serve a 3.2 and a 3.1 document side by side (plus the <code>ShouldInclude</code> line that side-by-side setup needs)</li>
<li>why pinning down to 3.0 swaps one breaking change for another</li>
<li>what breaks in custom document and schema transformers after the move to Microsoft.OpenApi 3.x</li>
<li>a five-minute test that fails your pipeline the next time a framework upgrade changes the document version</li>
</ul>
<p><strong><a href="https://blog.devgenius.io/your-upgrade-passed-every-test-your-api-docs-still-broke-3db62d33d4b7">Read the full article on Medium</a></strong></p>
]]></content:encoded></item></channel></rss>