What is the purpose of the api:router element in APIkit?

What is the purpose of the api:router element in APIkit?
A . Creates native connectors using a 3rd party Java library
B. Serves as an API implementation
C. Validates requests against RAML API specifications and routes them to API implementations
D. Validates responses returned from API requests and routes them back to the caller

Answer: C

Explanation:

The APIkit Router is a key message processor that validates requests against the provided definition, enriches messages (for example by adding default values to the messages) and routes requests to a particular flow. Also, the Router raises errors messages if errors occurs while routing, validating or processing the user request.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments