Updated "resourcePath: 'swaggerResources'" to "resourcePath: 'swagger.json'"

This commit is contained in:
Dennis Ashby 2015-09-30 11:34:24 -07:00
parent bfe908bebf
commit 3cc1011697
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ explorer(app, {
'title': 'My API', 'title': 'My API',
'description': 'Explorer example app.' 'description': 'Explorer example app.'
}, },
resourcePath: 'swaggerResources', resourcePath: 'swagger.json',
version: '0.1-unreleasable' version: '0.1-unreleasable'
})); }));
app.use('/custom-api-root', loopback.rest()); app.use('/custom-api-root', loopback.rest());