Questions tagged [raml-1.0]

19 questions
0
votes
1 answer

RAML 1.0: define minProperties inside optional object

I want to define an optional size object. If the object is present, there should be at least one of the specified properies (min or max) given. I though of something like this: properties: someval: type: string size: type:…
Thurse
  • 253
  • 1
  • 3
  • 16
0
votes
1 answer

How to define a global variable in RAML

I want to use a global variable in RAML file: #%RAML 1.0 title: MyTitle myVariable: http://example.com version: v1 baseUri: {myVariable}/{version} but it doesn't work. Does RAML actually allow that?
max
  • 612
  • 7
  • 26
0
votes
1 answer

How to change RAML version in Anypoint Studio project

This might be a bit of a stupid question because I don't know if it is possible but is there a way to change the version of RAML Anypoint Studio project uses (Mule 3.9.1, Studio 6.4)? Currently, when I create a new RAML file, it creates a 0.8…
Tomeister
  • 675
  • 2
  • 9
  • 26
0
votes
1 answer

Mule app keeps triggering the wrong flow - possible RAML issue

I have written a simple raml which can either GET all customers, GET a customer by Id or GET customers by Name. The RAML has the following structure: /customer get: ... /{id} get: ... /{name} get: …
user3165854
  • 1,505
  • 8
  • 48
  • 100
1
2