dotnet / aspire

Tools, templates, and packages to accelerate building observable, production-ready apps
https://learn.microsoft.com/dotnet/aspire
MIT License
3.93k stars 480 forks source link

Typo in WithEndpoint doc page #6580

Closed sibber5 closed 3 weeks ago

sibber5 commented 3 weeks ago

Describe the issue or suggestion

.NET Aspire API docs: WithEndpoint

The description of the first overload is

Changes an existing creates a new endpoint if it doesn't exist and invokes callback to modify the defaults.

where i think it should be "Changes an existing or creates"/

See:

https://github.com/dotnet/aspire/blob/34d6aabf330dd4ea0bf69fca138c8c1ba1250fce/src/Aspire.Hosting/ResourceBuilderExtensions.cs#L458