Skip to content
This repository has been archived by the owner on Nov 13, 2021. It is now read-only.

Support XML formatting #109

Open
pietersap opened this issue Mar 19, 2019 · 3 comments
Open

Support XML formatting #109

pietersap opened this issue Mar 19, 2019 · 3 comments
Assignees

Comments

@pietersap
Copy link
Contributor

pietersap commented Mar 19, 2019

With respect to my comments in issue 103

We should add support for xml formatting by doing the following:
-add the XML formatter (install the nuget package and add it in the mvc configuration)
-change ICollection to List in CarDetailsDto.cs

The result is a API that is exactly the same, except that every operation can easily return XML if the Users requests it in the Accept header. If the user does not include a Accept header, Json is still returned.

@pietersap
Copy link
Contributor Author

Created a branch for this, we can merge it in the future if we ever want to support XML.

@pietersap pietersap self-assigned this Mar 19, 2019
@MassimoC
Copy link
Collaborator

@pietersap before doing the Code i would like to discuss the guidelines. I cannot see your comment in the #86 Am I missing something?

@pietersap
Copy link
Contributor Author

@MassimoC #103, edited.

Yes, this issue is open for discussion of course, I have not created a PR

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants