no-hassle
Version:
Makes Node.js route handling easy with support for [Joi schema](https://github.com/hapijs/joi) validation and automatic Swagger generation based on these schema definitions. Uses Expressjs routing mechanism.
18 lines (17 loc) • 479 B
TypeScript
import { AuthenticationTypes } from '../../interfaces';
interface IOutputSecurityIndividual {
[key: string]: [];
}
export declare type OutputSecurity = IOutputSecurityIndividual[];
export interface IOutputSecurityDefinitions {
[key: string]: {
type: AuthenticationTypes;
name?: string;
in?: string;
};
}
export interface IOutputAuthentication {
securityDefinitions?: IOutputSecurityDefinitions;
security?: OutputSecurity;
}
export {};