---
title: "Discussion on \"Your Upgrade Passed Every Test. Your API Docs Still Broke.\" | Hashnode"
description: "Discussion on \"Your Upgrade Passed Every Test. Your API Docs Still Broke.\". After moving a project to .NET 11, everything was green. Build, tests, app startup. Then the Swagger UI page refused to render.\nThe cause is one default. OpenApiOptions.OpenApiVersion now defaults to"
url: "https://hashnode.com/posts/your-upgrade-passed-every-test-your-api-docs-still-broke/6b09c198ff9abb2ff8265127"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Your Upgrade Passed Every Test. Your API Docs Still Broke.](https://insidedotnet.hashnode.dev/your-upgrade-passed-every-test-your-api-docs-still-broke?utm_source=hashnode&utm_medium=feed)

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. OpenApiOptions.OpenApiVersion now defaults to

4d ago · 1 min read · insidedotnet.hashnode.dev  
Read the article

-   [#dotnet](https://hashnode.com/tag/dotnet)
-   [#aspnet-core](https://hashnode.com/tag/aspnet-core)
-   [#openapi](https://hashnode.com/tag/openapi)

## Written by

[Rituraj Pokhriyal](https://hashnode.com/@riturajpokhriyal)

@riturajpokhriyal

  
[View profile](https://hashnode.com/@riturajpokhriyal)

Senior Full-Stack .NET Developer | Building production AI agents in .NET | Inside Dot Net

Senior full-stack .NET developer shipping production systems for international clients since 2022. I write about C#, ASP.NET Core, EF Core, Azure, and building AI agents with Semantic Kernel. Author of the Inside Dot Net newsletter.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
