Skip to main content

Posts

Showing posts with the label RAML

RAML 1.0 Multiple Types for a Single Request

Bonjour ! You must have come across a situation where you need to define two different Types for a particular resource in your RAML specification. In this article, I'll show you how to do that! you can define multiple Types using the pipe  symbol ("|") as follows:  The request  Types can be defined in the header of the RAML. The examples   can be specified using facet " examples " and added in the form of either files using keyword " include " or the example itself.   Adios amigos!