0
votes

How to document nested parameters (no matter query or body) with RAML? For example:

{ 
  "credentials: {
    "login": "some-login",
    "key": "some-key"
  }
}
1
What do you mean by "no matter query or body"?David Dossot
@DavidDossot I meant that no matter if I passed params in URL query or postbody.Sebastian
By query do you mean in the query section of the URI?David Dossot

1 Answers

0
votes

This is a JSON entity so it needs to be specified in JSON Schema and referred to as a request or response body.