UNPKG

express-gateway

Version:

A microservices API gateway built on top of ExpressJS

16 lines (15 loc) 416 B
module.exports = { policy: require('./keyauth'), schema: { type: 'object', properties: { apiKeyHeader: { type: 'string' }, apiKeyHeaderScheme: { type: 'string' }, apiKeyField: { type: 'string' }, passThrough: { type: 'boolean' }, disableHeaders: { type: 'boolean' }, disableHeadersScheme: { type: 'boolean' }, disableQueryParam: { type: 'boolean' } } } };