raml-org / raml-tck

Test Compatibility Kit for RAML 1.0
http://raml-org.github.io/raml-tck/
8 stars 10 forks source link

Fix fragments tests #76

Closed svacas closed 8 years ago

svacas commented 8 years ago

Some fixes on the raml fragments tests

ddenisenko commented 8 years ago

Please also change the contents of /TCK/RAML10/Fragments/test006/Example3-tck.json accordingly:

{
  "ramlVersion": "RAML10",
  "type": "ExampleSpec",
  "specification": {
    "annotations": {
      "lib.StringAnnotation": {
        "structuredValue": "stringAnnotationValue",
        "name": "lib.StringAnnotation"
      },
      "lib.ObjectAnnotation": {
        "structuredValue": {
          "p1": "stringValue",
          "p2": 10
        },
        "name": "lib.ObjectAnnotation"
      }
    },
    "value": "{\n  \"property1\": \"string value\",\n  \"property2\": 1\n}",
    "strict": true,
    "displayName": "MyExample",
    "uses": [
      {
        "key": "lib",
        "value": "libs/lib.raml"
      }
    ],
    "structuredValue": {
      "property1": "string value",
      "property2": 1
    }
  },
  "errors": []
}
evangelina commented 8 years ago

@ddenisenko done