Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Commit

Permalink
pass RAMLVersion to Osprey's underlying librariries
Browse files Browse the repository at this point in the history
  • Loading branch information
jstoiko committed Apr 8, 2017
1 parent b2ccedb commit ae702e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions osprey-mock-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ function loadFile (filename, options) {
var raml = ramlApi.expand(true).toJSON({
serializeMetadata: false
})
options['RAMLVersion'] = ramlApi.RAMLVersion()
return createServerFromBaseUri(raml, options)
})
}
Expand Down

0 comments on commit ae702e9

Please sign in to comment.