From ae702e951f5b644e2653745342a05d30eef03899 Mon Sep 17 00:00:00 2001 From: Jonathan Stoikovitch Date: Fri, 7 Apr 2017 22:29:34 -0700 Subject: [PATCH] pass RAMLVersion to Osprey's underlying librariries --- osprey-mock-service.js | 1 + 1 file changed, 1 insertion(+) diff --git a/osprey-mock-service.js b/osprey-mock-service.js index 0e3cc07..b1e7d4c 100644 --- a/osprey-mock-service.js +++ b/osprey-mock-service.js @@ -67,6 +67,7 @@ function loadFile (filename, options) { var raml = ramlApi.expand(true).toJSON({ serializeMetadata: false }) + options['RAMLVersion'] = ramlApi.RAMLVersion() return createServerFromBaseUri(raml, options) }) }