@redocly/cli
Version:
[@Redocly](https://redocly.com) CLI is your all-in-one OpenAPI utility. It builds, manages, improves, and quality-checks your OpenAPI descriptions, all of which comes in handy for various phases of the API Lifecycle. Create your own rulesets to make API g
17 lines • 941 B
TypeScript
import type { Oas2Definition, Oas3_1Definition, Oas3Definition } from '@redocly/openapi-core';
export type Definition = Oas3_1Definition | Oas3Definition | Oas2Definition;
export interface ComponentsFiles {
[schemas: string]: any;
}
export interface RefObject {
[$ref: string]: string;
}
export declare const COMPONENTS = "components";
export declare const PATHS = "paths";
export declare const WEBHOOKS = "webhooks";
export declare const xWEBHOOKS = "x-webhooks";
export type Oas3Method = typeof OPENAPI3_METHOD_NAMES[number];
export declare const OPENAPI3_METHOD_NAMES: readonly ["get", "put", "post", "delete", "options", "head", "patch", "trace"];
export type Oas3Component = typeof OPENAPI3_COMPONENT_NAMES[number];
export declare const OPENAPI3_COMPONENT_NAMES: readonly ["schemas", "responses", "parameters", "examples", "headers", "requestBodies", "links", "callbacks", "securitySchemes"];
//# sourceMappingURL=types.d.ts.map