Exam MCD - Level 1 All QuestionsBrowse all questions from this exam
Question 94

Refer to the exhibits.

A company has defined this Book data type and Book example to be used in APIs.

What is valid RAML for an API that uses this Book data type and Book example?

A.

B.

C.

D.

    Correct Answer:

    In RAML, using the 'types' keyword is appropriate to define the data type. To include external files, such as data types and examples, the '!include' directive is used. Therefore, the correct RAML for an API that uses the provided Book data type and Book example is: 'D'. The RAML code in option D specifies the type using the '!include BookDataType.raml' and includes the example using the '!include BookExample.raml' within the 'examples' section.

Discussion
pgarciar

D is correct

Aaish

D is correct

nilan84

D is correct

miguel_romero

D is correct

ExamDev

D is correct

Gaurav_9412

D is correct

frediepulgoso

D is correct

MrAnjani

To reference any module, Types: . . . Keyword is required and the file should be referenced with the !include . . . keyword

MrAnjani

So, D is correct Answer