The OpenAPI document has the same summary text on Windows as on Linux #15
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
lantea-one/ninlil#15
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
On Windows, XML-doc summaries in the generated document contain
\r\ninstead of\n(firstdifference at
$.paths./api/acme-settings.get.summary), even with an LF checkout, soOpenApiSnapshotTestsfails there and an exe built on Windows serves slightly different text.What changes
src/dotnet/src/Ninlil.Web/OpenApi/XmlCrefTextDocumentFilter.cs(or a sibling document filterregistered next to it) normalises
\r\nto\nin every summary, description and parametertext. The committed snapshot must not change (no
api-regenstep needed; if it does change, stopand hand over to
api-regen).Acceptance
\r\nin an operation summary, a schemadescription and a parameter description, and asserts
\n(fails before).OpenApiSnapshotTestspasses on Linux unchanged and on Lofnheim natively.Source
RP-4 report finding 3 ("OpenApiSnapshotTests fails on Windows even with an LF checkout");
release-prep.md:159("CRLF OpenAPI summaries on Windows").Ghost referenced this issue2026-11-06 12:32:24 -05:00