-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathtypings.d.ts
27 lines (25 loc) · 848 Bytes
/
typings.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
declare module 'swagger-jsdoc' {
namespace swaggerJSDoc {
interface options {
swaggerDefinition: optionsDefinition;
apis: string[];
definitions?: {[key: string]: any};
paths?: {[key: string]: string};
securityDefinitions?: {[k: string]: any};
}
interface optionsDefinition {
info: optionsDefinitionInfo;
host?: string;
basePath?: string;
schemes?: ('http' | 'https' | 'ws' | 'wss')[];
tags?: {name: string, description: string}[];
}
interface optionsDefinitionInfo {
title: string;
version: string;
description?: string;
}
}
function swaggerJSDoc(options: swaggerJSDoc.options): swaggerJSDoc.options;
export = swaggerJSDoc;
}