Skip to content
New issue

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

XML support #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marcoamarooliveira
Copy link

Added support for '*/xml' content-type.

Added project dependencies to 'body-parser-xml' and 'xml2js' (to have default processors).
Added the capacity to set options for body-parser-xml processors
Added the capacity to set options for a sanitiser function to solve issues that body-parser-xml is unable to, for example to force a property to be of type array when the xml parser set it as a string.

Changed the example to also demonstrate the use of XML.

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

Successfully merging this pull request may close these issues.

1 participant