Archived
2

api definition created

This commit is contained in:
VLE2FE
2020-04-20 16:13:49 +02:00
parent 8841abc373
commit 5a01bf013a
4 changed files with 1107 additions and 55 deletions

View File

@ -44,7 +44,7 @@ app.use('/', require('./routes/root'));
// Swagger UI
app.use('/api', swagger.serve, swagger.setup(
yaml.load('./oas.yml'),
yaml.load('./oas.yaml'),
{
defaultModelsExpandDepth: -1,
customCss: '.swagger-ui .topbar { display: none }'