QUESTION, ANSWER, EXPLANATION
This question has been asked by one of our members and a similar question could most likely be on the exam. All answers have been verified by MuleSoft certified FoMS experts.
Question
Refer to the exhibit! The API needs to be updated using the company-wide standard for the Plan data type. The Object data type has already been published in Anypoint Exchange with the global reference ACME/DataTypes/PlanDataType.raml. What is a valid RAML specification that reuses the Plan data type?
Answer
The correct answer to this question is D.
Explanation
To reuse a data type, it has to be included it in the RAML specification. According to the RAML syntax, data types are included in the block "types", not in "dataTypes", which eliminates answers A and B.
Further on, to include a RAML file, "!included" is used, not "!reference", which leads us to the answer D.
RELATED ARTICLES
OTHER ARTICLES
OLDER ARTICLES
LATEST FORUM UPDATES
APIAmeeth, Thursday, 1.9.2022 / 21:23
Jay-Catalyst, Tuesday, 2.11.2021 / 10:48
Matteo, Friday, 3.7.2020 / 16:30
Matteo, Friday, 3.7.2020 / 16:29
Matteo, Friday, 3.7.2020 / 16:28
Caio S Cavalcante, Friday, 22.5.2020 / 16:59
Edo Schatz, Thursday, 21.5.2020 / 13:50
Edo Schatz, Thursday, 21.5.2020 / 11:29
Edo Schatz, Wednesday, 20.5.2020 / 18:18
Edo Schatz, Monday, 18.5.2020 / 16:33
NEW ARTICLES
POPULAR ARTICLES