Skip to content

Comments

Merge to Live#36784

Merged
wadepickett merged 1 commit intolivefrom
main
Feb 22, 2026
Merged

Merge to Live#36784
wadepickett merged 1 commit intolivefrom
main

Conversation

@github-actions
Copy link
Contributor

[AUTOMATED]

* Ignore Rider .idea/ in .gitignore

Add a comment for Rider and include .idea/ in .gitignore so JetBrains Rider project files are ignored by Git.

* Bump OpenApi to 10.0.3 and silence ASPDEPR002

Update Microsoft.AspNetCore.OpenApi from a preview version to 10.0.3 in the sample Api.csproj. In ProjectBoardApis.cs, wrap the MapGroup call with #pragma warning disable/restore for ASPDEPR002 to suppress the deprecation warning in the sample code and keep builds clean. Changes affect only the openapi XML sample files.

* Add OpenAPI XML controllers sample

Add a new sample under aspnetcore/fundamentals/openapi/samples/10.x/aspnet-openapi-xml-controllers. Includes an API project and a models project, controllers for ProjectBoards and Todos with XML documentation and OpenAPI tags, Program.cs wiring OpenAPI and Scalar, appsettings and global.json, and an Api.http file with example requests. Also includes AdditionalFiles.xml to demonstrate adding external XML docs and Api-remove.csproj showing how to disable the compile-time OpenAPI source generator analyzer. This sample demonstrates using XML documentation with OpenAPI in .NET 10.

* Apply suggestions from code review

Adding suggestions from guardrex

Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>

* Apply suggestion from @wadepickett

Reverting global gitignore change for Properties/

* Refactor ProjectBoardApis to remove warning suppression

Removed deprecated warning suppression for OpenAPI mapping.

* Delete aspnetcore/fundamentals/openapi/samples/10.x/aspnet-openapi-xml-controllers/api/Properties/launchSettings.json

Deleting launchSetting.json which we are not including for this article.

* Delete aspnetcore/fundamentals/openapi/samples/10.x/aspnet-openapi-xml/api/Properties/launchSettings.json

Deleting added launchSettings.json which we are not including for the samples in this area.

---------

Co-authored-by: Wade Pickett <wpickett@microsoft.com>
Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>
@wadepickett wadepickett self-assigned this Feb 22, 2026
@wadepickett wadepickett self-requested a review February 22, 2026 21:16
Copy link
Contributor

@wadepickett wadepickett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved.

@wadepickett wadepickett merged commit 875fb04 into live Feb 22, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants