1 | import { ISpecificationExtension } from './specification-extension';
|
2 | export interface ServerObject extends ISpecificationExtension {
|
3 | url: string;
|
4 | description?: string;
|
5 | variables?: {
|
6 | [v: string]: ServerVariableObject;
|
7 | };
|
8 | }
|
9 | export interface ServerVariableObject extends ISpecificationExtension {
|
10 | enum?: string[] | boolean[] | number[];
|
11 | default: string | boolean | number;
|
12 | description?: string;
|
13 | }
|
14 | export declare function getExtension(obj: ISpecificationExtension | undefined, extensionName: string): any;
|
15 | export declare function addExtension(obj: ISpecificationExtension | undefined, extensionName: string, extension: any): void;
|