Commit 09231d29 authored by Eduardo L. Buratti's avatar Eduardo L. Buratti

Refactor boot.ts (order of imports)

parent 09a66347
......@@ -22,16 +22,15 @@
// external libraries
import express = require('express');
import path = require('path');
const osprey = require('osprey');
const ramlParser = require('raml-parser');
// create a new express app
const app = module.exports = express();
// load router
import { router } from './api/router-v1';
// create a new express app
const app = module.exports = express();
// parse the RAML spec and load osprey middleware
ramlParser.loadFile('specs/blendb-api-v1.raml')
.then((raml: any) => {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment