mirror of
https://github.com/Redocly/redoc.git
synced 2024-12-18 04:46:18 +03:00
25 lines
930 B
TypeScript
25 lines
930 B
TypeScript
import {
|
|
Operation,
|
|
Parameter,
|
|
Schema,
|
|
BodyParameter,
|
|
HeaderParameter,
|
|
QueryParameter,
|
|
FormDataParameter,
|
|
Spec,
|
|
Response
|
|
} from 'swagger-schema-official';
|
|
|
|
export interface RedocInjectedPointer {
|
|
_pointer?: string;
|
|
}
|
|
|
|
export interface SwaggerOperation extends Operation, RedocInjectedPointer {}
|
|
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;
|
|
export interface SwaggerSchema extends Schema, RedocInjectedPointer {}
|
|
export { Spec as SwaggerSpec, Response as SwaggerResponse };
|