1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/lib/routes/api-def.js
2020-08-03 13:34:10 +02:00

24 lines
497 B
JavaScript

'use strict';
const clientApiDef = require('./client-api/api-def.json');
const adminApiDef = require('./admin-api/api-def.json');
const version = require('../util/version');
const apiDef = {
name: 'unleash-server',
version,
uri: '/api',
links: {
admin: {
uri: '/api/admin',
links: adminApiDef.links,
},
client: {
uri: '/api/client',
links: clientApiDef.links,
},
},
};
module.exports = apiDef;