Closed craigharman closed 4 years ago
You put the options into the specs property. It has to be:
app.configure(swagger({
docsPath: '/docs',
uiIndex: true,
specs: {
info: {
title: 'A test',
description: 'A description',
version: '1.0.0',
},
}
}));
I have installed the package and can see the swagger json at /docs, but adding
uiIndex: true
does not produce the swagger-ui html at /docs.To Reproduce Fresh install of feathers 4 (using cli). In app.js add:
then during configuration:
Expected behavior Going to http://localhost:3030/docs should display Swagger UI
System configuration