jembi / openhim-mediator-mapping

An OpenHIM mediator for mapping incoming content to a different format
https://jembi.github.io/openhim-mediator-mapping/
MIT License
3 stars 7 forks source link

OHM-840, OHM-841: payload converter #24

Closed BMartinos closed 5 years ago

BMartinos commented 5 years ago

This PR adds a middleware for each endpoint that will parse and convert the incoming payload into the specified formats. Incoming payloads are also parsed into JSON for processing and outgoing payload is dependant on the user supplied config in the meta.json

OHM-840 OHM-841