dotnet / dotnet/aspnetcore

OpenAPI: Xml Documentation includes special new line characters that differ from previous versions.

Open
#62,970 3 comments 0 reactions 0 assignees View on GitHub
area-minimal feature-openapi Needs: Attention :wave:
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Describe the bug

Xml Documentation includes special new line characters that differ from previous versions. As such `` blocks render incorrectly in different user interfaces driven off the json. see `[HttpPost("post-body-issue-and-comments-issue")]`

### Expected Behavior

These should just work out of the box.

### Steps To Reproduce

Clone https://github.com/exceptionless/aspnet-core-net10-issues# and run it, hit the open api json endpoint.

### Exceptions (if any)

_No response_

### .NET Version

10 preview 6

### Anything else?

MacOS Latest, Rider/VS Code

https://github.com/dotnet/aspnetcore/issues/62150

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.