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

Support XML formatting #109

Open
Open
@pietersap

Description

@pietersap

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions