Updated "resourcePath: 'swaggerResources'" to "resourcePath: 'swagger.json'"
This commit is contained in:
parent
bfe908bebf
commit
3cc1011697
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue