Hi J.Bafna, firstly I would appreciate your hard work for learners. I have a question, I want to pass the request body either in object or in Array.. it should accept both.. how can we define datatype for this scenario?
Hello @jitendra I need to create a POST method.This post method needs to accept an xml payload along with a PDF attachment. What to do in raml for this? Thanks
Hi Bro, I have used Libraries instead of Datatypes as you said in the video. And, called the endpoints using resourceTypes & . But, during mocking instead of actual Input/output, I see resourceType.InputData && resourceType.OutputData... Could you please let me know where went wrong? Thanks Vas
Could you please elaborate more on below mentioned point: You didn't place [errorResponse] Under 200 status code but you have placed very next of get method. . syntax wise it is wrong but it is working. How? get: is: [errorResponse] description: Fetch all customers responses: 200: body: application/json: type: custType.CustomerType[]