diff --git a/lib/plugins/aws/package/compile/events/api-gateway/index.js b/lib/plugins/aws/package/compile/events/api-gateway/index.js index f9a7809f9..d1110be8f 100644 --- a/lib/plugins/aws/package/compile/events/api-gateway/index.js +++ b/lib/plugins/aws/package/compile/events/api-gateway/index.js @@ -6,7 +6,7 @@ const BbPromise = require('bluebird'); const memoize = require('memoizee'); const validate = require('./lib/validate'); -const compileRestApi = require('./lib/restApi'); +const compileRestApi = require('./lib/rest-api'); const compileRequestValidators = require('./lib/request-validator'); const compileApiKeys = require('./lib/api-keys'); const compileUsagePlan = require('./lib/usagePlan'); diff --git a/lib/plugins/aws/package/compile/events/api-gateway/lib/restApi.js b/lib/plugins/aws/package/compile/events/api-gateway/lib/rest-api.js similarity index 100% rename from lib/plugins/aws/package/compile/events/api-gateway/lib/restApi.js rename to lib/plugins/aws/package/compile/events/api-gateway/lib/rest-api.js diff --git a/test/unit/lib/plugins/aws/package/compile/events/api-gateway/lib/restApi.test.js b/test/unit/lib/plugins/aws/package/compile/events/api-gateway/lib/rest-api.test.js similarity index 100% rename from test/unit/lib/plugins/aws/package/compile/events/api-gateway/lib/restApi.test.js rename to test/unit/lib/plugins/aws/package/compile/events/api-gateway/lib/rest-api.test.js