We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regardless of collection naming, elements in XML should be singularized / pluralized.
E.g. for endpoints /api/family /api/families
XML should be:
<families> <family> <id>
Current implementation has e.g. for /api/families
<families> <families_0> <id>
for /api/family
<family> <family_0> <id>
Implementation:
dotnet-fake-json-server/FakeServer/Common/Formatters/XmlOutputFormatter.cs
Line 65 in 9e37425
Line 55 in 9e37425
Line 39 in 9e37425
Mayble library like https://www.nuget.org/packages/Pluralize.NET.Core/ will do the trick?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Regardless of collection naming, elements in XML should be singularized / pluralized.
E.g. for endpoints
/api/family
/api/families
XML should be:
Current implementation has e.g. for /api/families
for /api/family
Implementation:
dotnet-fake-json-server/FakeServer/Common/Formatters/XmlOutputFormatter.cs
Line 65 in 9e37425
dotnet-fake-json-server/FakeServer/Common/Formatters/XmlOutputFormatter.cs
Line 55 in 9e37425
dotnet-fake-json-server/FakeServer/Common/Formatters/XmlOutputFormatter.cs
Line 39 in 9e37425
Mayble library like https://www.nuget.org/packages/Pluralize.NET.Core/ will do the trick?
The text was updated successfully, but these errors were encountered: