MCPcopy Create free account
hub / github.com/ReAPI-com/mcp-openapi / SpecServiceConfig

Interface SpecServiceConfig

src/core/interfaces/ISpecService.ts:6–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4 * Configuration options for the FileSystemSpecService
5 */
6export interface SpecServiceConfig {
7 /** Base path for all spec-related files */
8 basePath: string;
9 /** Directory name for catalog files */
10 catalogDir?: string;
11 /** Directory name for dereferenced specs */
12 dereferencedDir?: string;
13 /** Number of retry attempts for file operations */
14 retryAttempts?: number;
15 /** Delay between retries in milliseconds */
16 retryDelay?: number;
17 /** Cache options */
18 cache?: {
19 /** Maximum number of specs to cache */
20 maxSize?: number;
21 /** Time to live for cached items in milliseconds */
22 ttl?: number;
23 };
24}
25
26/**
27 * URI format: apis://{specId}/operations/{operationId}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected