A
A
Anton Ivanov2017-02-06 12:14:53
API
Anton Ivanov, 2017-02-06 12:14:53

How to specify in RAML that one of the two parameters is required?

Hello!
I am writing API documentation in RAML.
There is a resource to which you can pass the image and video parameters (files, multipart). There are other parameters, but with them everything is clear. The question is how to specify that either image or video or both can be passed? But none can be passed on.
Thank you.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question