Skip to content

Config options - disable UI, disable Swagger #51

Description

@bajtos

There should be an easy way how to disable explorer (either UI only or everything) when running in production.

A possible solution: add two new properties to the option object used by middleware factory function.

These two new properties then can be configured either from server/boot/explorer.js, or using the upcoming component infrastructure (see https://github.com/strongloop/loopback-example-component/wiki).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions