github link: https://github.com/shahulsley/came-rest-dsl
I have written REST API in Spring Boot using Apache Camel REST DSL. All endpoints work fine except createBatch,
1. getById2. getAllDocs3. delete4. deleteBatch5. create6. createBatch --- ISSUE (Not able receive the input as List. getting type conversion issue. tried many ways. createBatch end point is "http://localhost:8080/my-rest-api/createBatch"
Input Body:
[ {"shipperNumber": "AAAA","startDate": "2024-08-05T11:40:15.123456","endDate": "2024-09-01T02:36:15.678543" }, {"shipperNumber": "BBBB","startDate": "2024-08-06T14:30:00.654321","endDate": "2024-09-10T04:15:00.987654" }]
Expectation: receive the List and retrieve one by one and call create single end point. Please let me know if you have any suggestion
Tried to convert it to List but it is getting failed