-
-
Notifications
You must be signed in to change notification settings - Fork 107
/
Copy pathserver.ts
25 lines (24 loc) · 1.06 KB
/
server.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
import type { BaseModel } from './base';
import type { ChannelsInterface } from './channels';
import type { MessagesInterface } from './messages';
import type { BindingsMixinInterface, DescriptionMixinInterface, ExtensionsMixinInterface, TagsMixinInterface } from './mixins';
import type { OperationsInterface } from './operations';
import type { ServerVariablesInterface } from './server-variables';
import type { SecurityRequirementsInterface } from './security-requirements';
export interface ServerInterface extends BaseModel, DescriptionMixinInterface, BindingsMixinInterface, ExtensionsMixinInterface, TagsMixinInterface {
id(): string
url(): string;
summary(): string | undefined;
hasSummary(): boolean;
host(): string;
hasPathname(): boolean;
pathname(): string | undefined;
protocol(): string;
protocolVersion(): string | undefined;
hasProtocolVersion(): boolean;
channels(): ChannelsInterface;
operations(): OperationsInterface;
messages(): MessagesInterface;
variables(): ServerVariablesInterface;
security(): SecurityRequirementsInterface[];
}