2017-01-30 17:11:14 +03:00
|
|
|
import {
|
|
|
|
Operation,
|
|
|
|
Parameter,
|
|
|
|
Schema,
|
|
|
|
BodyParameter,
|
|
|
|
HeaderParameter,
|
|
|
|
QueryParameter,
|
|
|
|
FormDataParameter,
|
|
|
|
Spec,
|
|
|
|
Response
|
2017-06-14 11:12:49 +03:00
|
|
|
} from 'swagger-schema-official';
|
2017-01-30 17:11:14 +03:00
|
|
|
|
2017-04-18 16:46:19 +03:00
|
|
|
export interface RedocInjectedPointer {
|
2017-01-30 17:11:14 +03:00
|
|
|
_pointer?: string;
|
|
|
|
}
|
|
|
|
|
2017-05-05 12:45:03 +03:00
|
|
|
export interface SwaggerOperation extends Operation, RedocInjectedPointer {}
|
2017-01-30 17:11:14 +03:00
|
|
|
export interface SwaggerBodyParameter extends BodyParameter, RedocInjectedPointer {}
|
|
|
|
export interface SwaggerHeaderParameter extends HeaderParameter, RedocInjectedPointer {}
|
|
|
|
export interface SwaggerQueryParameter extends QueryParameter, RedocInjectedPointer {}
|
|
|
|
export interface SwaggerFormDataParameter extends FormDataParameter, RedocInjectedPointer {}
|
|
|
|
export type SwaggerParameter = SwaggerBodyParameter | SwaggerHeaderParameter | SwaggerQueryParameter | SwaggerFormDataParameter;
|
2017-05-05 12:45:03 +03:00
|
|
|
export interface SwaggerSchema extends Schema, RedocInjectedPointer {}
|
2017-01-30 17:11:14 +03:00
|
|
|
export { Spec as SwaggerSpec, Response as SwaggerResponse };
|