This commit is contained in:
syuilo 2018-04-01 12:37:53 +09:00
parent 4786a15034
commit 807a88fb9d

View File

@ -101,7 +101,7 @@ gulp.task('doc:api:endpoints', async () => {
} }
//console.log(files); //console.log(files);
files.forEach(file => { files.forEach(file => {
const ep = yaml.safeLoad(fs.readFileSync(file, 'utf-8')); const ep: any = yaml.safeLoad(fs.readFileSync(file, 'utf-8'));
const vars = { const vars = {
endpoint: ep.endpoint, endpoint: ep.endpoint,
url: { url: {