Refer to the exhibits. APIKit router is used to generate the flow components for RAML specification.
The Mule application must be available to REST clients using the two URL's
http://localhost:8081/internal
and
http://localhost:8081/external
How many APIKit Router components are generated to handle requests to every endpoint defined in
RAML specification?
1.
Library.raml
2.
/books
3.
get:
4.
post:
5.
/order:
6.
get
7.
patch
8.
/members
9.
get:
A
Explanation:
Correct answer is 5 as APIkit for REST generates a backend flow for each resource-action pairing in a
RAML file.
MuleSOft Doc Ref :
https://docs.mulesoft.com/mule-runtime/4.2/build-application-from-api
In total, there are 5 APIKit Router components that would be generated to handle requests to every endpoint defined in the RAML specification:
GET /books
POST /books
GET /books/order
PATCH /books/order
GET /books/order/members
I also think that the correct answer's D. one flow for each resource
There are 5 resources or endpoints. so API KIT generates 5 flows