Refactoring, Clean up and bug fixes

This commit is contained in:
syuilo
2018-11-02 03:32:24 +09:00
parent b4b9e76c8d
commit 931bdc6aac
108 changed files with 1722 additions and 1539 deletions

View File

@@ -1,12 +1,21 @@
import { Context } from 'cafy';
import * as path from 'path';
import * as glob from 'glob';
export interface IEndpointMeta {
stability?: 'deprecated' | 'experimental' | 'stable';
stability?: string; //'deprecated' | 'experimental' | 'stable';
desc?: any;
desc?: { [key: string]: string };
params?: any;
params?: {
[key: string]: {
validator: Context<any>;
transform?: any;
default?: any;
desc?: { [key: string]: string };
ref?: string;
};
};
res?: any;