Commit b345333
Add OpenAPI binary file response documentation for ASP.NET Core 11.0 (#36754)
* Initial plan
* Add OpenAPI binary file response documentation for ASP.NET Core 11.0
- Added File() to TypedResults helper methods table
- Added "Describe binary file responses" section for Minimal APIs
- Added "Describe binary file responses" section for Controllers
- All new content uses moniker range >= aspnetcore-11.0
- Updated ms.date to 02/06/2026 and added ai-usage metadata
Co-authored-by: wadepickett <10985336+wadepickett@users.noreply.github.com>
* Enhance description for binary file responses
Clarify the usage of [ProducesResponseType<FileContentResult>] for binary file responses, specifying that it generates an OpenAPI description similar to the Minimal API example.
* Apply suggestions from code review
* Preserve .NET 10.0 version and update main file for .NET 11.0
- Created include-metadata10.md with original content for .NET 10.0
- Changed moniker range to "= aspnetcore-10.0" in include file
- Updated main file moniker range to ">= aspnetcore-11.0"
- Updated content moniker range to ">= aspnetcore-11.0"
Co-authored-by: wadepickett <10985336+wadepickett@users.noreply.github.com>
* Update include-metadata10.md
Set include for version 10.0 to be preserved as 10.0
* Apply suggestion from @wadepickett
Fixed article metadata monikerRange to start at 9.0
* Update include-metadata.md to remove version checks
Removed moniker directives for ASP.NET Core version 11.0 and updated binary file response descriptions.
* Update include-metadata.md
* Add OpenAPI metadata inclusion details
Added section on including OpenAPI metadata for endpoints.
* Update include-metadata10.md to remove old reference
Removed reference to include-metadata9.md.
* Add H2 heading to include-metadata9.md after moniker range
Added "## Include OpenAPI metadata for endpoints" heading after the moniker range line with blank lines before and after as requested.
Co-authored-by: wadepickett <10985336+wadepickett@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: wadepickett <10985336+wadepickett@users.noreply.github.com>
Co-authored-by: Wade Pickett <wpickett@microsoft.com>1 parent 6c84d4d commit b345333
3 files changed
Lines changed: 759 additions & 4 deletions
File tree
- aspnetcore/fundamentals/openapi
- includes
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | | - | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | | - | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | | - | |
| 16 | + | |
16 | 17 | | |
17 | | - | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
360 | 361 | | |
361 | 362 | | |
362 | 363 | | |
| 364 | + | |
363 | 365 | | |
364 | 366 | | |
365 | 367 | | |
366 | 368 | | |
367 | 369 | | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
368 | 407 | | |
369 | 408 | | |
370 | 409 | | |
| |||
441 | 480 | | |
442 | 481 | | |
443 | 482 | | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
444 | 499 | | |
445 | 500 | | |
446 | 501 | | |
| |||
710 | 765 | | |
711 | 766 | | |
712 | 767 | | |
| 768 | + | |
713 | 769 | | |
0 commit comments