Refactoring, Clean up and bug fixes
This commit is contained in:
parent
b4b9e76c8d
commit
931bdc6aac
108 changed files with 1722 additions and 1539 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue