Please implement a service that reads in the provided xml and json files and exposes the information via a RESTful API.
File structure:
- products.xml contains master data for all products.
- prices.json contains price information for all products
The API should be designed in a way, that it allows the following use cases:
- List all products with their master data
- Show single product with master data and all available prices
- Show single product price for one product and specific unit
You can use external libraries.
Out of scope:
- Persistence of data
- Authentication/Authorization