diff --git a/loopback/common/methods/schema/log-info.js b/loopback/common/methods/schema/log-info.js new file mode 100644 index 0000000000..1934718417 --- /dev/null +++ b/loopback/common/methods/schema/log-info.js @@ -0,0 +1,23 @@ +module.exports = Self => { + Self.remoteMethod('logInfo', { + description: 'Gets all models information', + accepts: [ + { + arg: 'ctx', + type: 'Object', + http: {source: 'context'} + } + ], + returns: { + type: 'Object', + root: true + }, + http: { + path: `/logInfo`, + verb: 'GET' + } + }); + + Self.logInfo = async function(ctx) { + }; +};