Skip to content

Commit

Permalink
moved schema to same location as submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
Trevor Livingston committed Oct 14, 2014
1 parent 813e2ea commit 06a085e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 17 deletions.
16 changes: 0 additions & 16 deletions .npmignore
Expand Up @@ -47,19 +47,3 @@ Thumbs.db
.LSOverride
.Spotlight-V100
.Trashes

lib/schema/swagger-spec/examples
lib/schema/swagger-spec/fixtures
lib/schema/swagger-spec/src
lib/schema/swagger-spec/test
lib/schema/swagger-spec/versions
lib/schema/swagger-spec/.git
lib/schema/swagger-spec/.gitignore
lib/schema/swagger-spec/.travis.yml
lib/schema/swagger-spec/build.sbt
lib/schema/swagger-spec/gulpfile.js
lib/schema/swagger-spec/LICENSE
lib/schema/swagger-spec/package.json
lib/schema/swagger-spec/README.md
lib/schema/swagger-spec/swagger-logo.jpg
lib/schema/swagger-spec/schemas/README.md
2 changes: 1 addition & 1 deletion lib/index.js
Expand Up @@ -37,7 +37,7 @@ function swaggerize(options) {
options.schemas = subSchemas;
}

schema = enjoi(require(path.join(__dirname, 'schema/2.0/schema.json')), subSchemas);
schema = enjoi(require(path.join(__dirname, 'schema/swagger-spec/schemas/v2.0/schema.json')), subSchemas);

schema.validate(options.api, function (error) {
assert.ifError(error);
Expand Down
File renamed without changes.

0 comments on commit 06a085e

Please sign in to comment.