Skip to content
This repository was archived by the owner on Oct 17, 2025. It is now read-only.

XML support#31

Open
marcoamarooliveira wants to merge 1 commit intobug-hunters:masterfrom
marcoamarooliveira:xmlsupport
Open

XML support#31
marcoamarooliveira wants to merge 1 commit intobug-hunters:masterfrom
marcoamarooliveira:xmlsupport

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant