homebridge-camera-ui
Version:
User Interface for RTSP capable cameras.
37 lines (34 loc) • 754 B
JavaScript
'use-strict';
const packageFile = require('../package.json');
module.exports = {
definition: {
openapi: '3.0.0',
info: {
title: 'camera.ui API',
description: '',
version: packageFile.version,
contact: {
name: 'camera.ui',
url: 'https://github.com/SeydX/homebridge-camera-ui',
},
},
tags: [],
servers: [],
components: {
securitySchemes: {
bearerAuth: {
type: 'oauth2',
scheme: 'bearer',
bearerFormat: 'JWT',
flows: {
password: {
tokenUrl: '/api/auth/login',
scopes: null,
},
},
},
},
},
},
apis: [`${__dirname}/components/**/*.routes.js`],
};