'use strict';
var config = require('../config');


module.exports = {
    'swagger': '2.0',
    'info': {
        'title': 'Koodilehto CRM API',
        'description': 'Manage your clients and invoices using Koodilehto CRM API',
        'version': '1.0.0'
    },
    'host': config.ip + ':' + config.port,
    'schemes': [
        'https'
    ],
    'basePath': '/v1',
    'produces': [
        'application/json'
    ],
    'paths': require('./paths'),
    'definitions': require('./definitions')
};

'use strict';
var config = require('../config');


module.exports = {
    'swagger': '2.0',
    'info': {
        'title': 'Koodilehto CRM API',
        'description': 'Manage your clients and invoices using Koodilehto CRM API',
        'version': '1.0.0'
    },
    'host': config.ip + ':' + config.port,
    'schemes': [
        'http', // TODO: disable in production
        'https'
    ],
    'basePath': '/v1',
    'produces': [
        'application/json'
    ],
    'paths': require('./paths'),
    'definitions': require('./definitions')
};

Allow http scheme so that the demo client works
Allow http scheme so that the demo client works
