UNPKG

@ahoo-wang/fetcher-openapi

Version:

OpenAPI Specification TypeScript types for Fetcher - A modern, ultra-lightweight HTTP client for browsers and Node.js. Provides complete TypeScript support with type inference for OpenAPI 3.x schemas.

37 lines 1.08 kB
/** * Extension support for OpenAPI Specification */ /** * Base interface for all OpenAPI objects that support extensions * Extensions are custom properties that start with "x-" */ export interface Extensible { /** * Extension properties that start with "x-" * These can be used to add custom functionality to the OpenAPI document */ [extension: `x-${string}`]: any; } /** * Common extensions used in OpenAPI specifications */ export interface CommonExtensions { /** Marks an element as internal use only */ 'x-internal'?: boolean; /** Deprecation information with details */ 'x-deprecated'?: { message?: string; since?: string; removedIn?: string; replacement?: string; }; /** Tags for categorization beyond standard tags */ 'x-tags'?: string[]; /** Example values for documentation */ 'x-examples'?: any[]; /** Order of display in documentation */ 'x-order'?: number; /** Groups for organizing in UI */ 'x-group'?: string; } //# sourceMappingURL=extensions.d.ts.map