RAML schema validation

Hi!

  I'm working on OLMIS-901 Drop RestTemplate in favour of

RestAssured.

  I have problems with validating request/response body with

schema. It happens always when schema contains $ref. I’m getting
following output from RestAssured RAML validator:

        Message: Schema invalid: fatal: JSON Reference "#/schemas/schedule" cannot be resolved
level: "fatal"
schema: {"loadingURI":"#","pointer":"/properties/processingSchedule"}
ref: "#/schemas/schedule"
  I tried different ways of specifying reference (e.g. "schedule",

“#/schedule”, “/schemas/schedule”) but with no luck. When I
manually copy reference target in place of $ref, everything is OK.

  I remember the RAML references topic was already raised on the

group. I will be grateful for any tips how to deal with this
problem.

Regards,

  Grzegorz