Exam Mule-Dev-201 Topic 1 Question 181 Discussion
Actual exam question for Salesforce's Mule-Dev-201 exam
Question #: 181
Topic #: 1
Question #: 181
Topic #: 1
A company has defined two RAML fragments, Book Data Type and Book Example to be used in APIs.
What would be valid RAML to use these fragments ?


What would be valid RAML to use these fragments ?


Suggested Answer: D Vote an answer
*RAML file contains lot of information that could be considered as "not API-describing". Sort of "economy- class" members.
Equally important, but not necessarily part of the main RAML file.
* Through !includes, RAML allows us to build file-distributed API definitions, which is not only useful to encourage code reuse but also improves readability.
* We can create RAML fragments with such code and then include them in main RAML project using !
include like:
types:
Book: !include bookDataType.raml and
examples:
input: !include bookExample.raml
* Additionally for
---------------------------------------------------------------------------------------------------------------------------------------- Reference: INCLUDES section underhttps://medium.com/raml-api/raml-101-libraries-and-datatypes- fragments-1889b2e82c27
Equally important, but not necessarily part of the main RAML file.
* Through !includes, RAML allows us to build file-distributed API definitions, which is not only useful to encourage code reuse but also improves readability.
* We can create RAML fragments with such code and then include them in main RAML project using !
include like:
types:
Book: !include bookDataType.raml and
examples:
input: !include bookExample.raml
* Additionally for
---------------------------------------------------------------------------------------------------------------------------------------- Reference: INCLUDES section underhttps://medium.com/raml-api/raml-101-libraries-and-datatypes- fragments-1889b2e82c27
by Joyce at Jun 25, 2026, 01:08 AM
Contact Us
If you have any question please leave me your email address, we will reply and send email to you in 12 hours.
Our Working Time: ( GMT 0:00-15:00 ) From Monday to Saturday
Support: Contact now
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).