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

Interface SpecSource

src/core/interfaces/ISyncManager.ts:4–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2 * Configuration for a specification source
3 */
4export interface SpecSource {
5 /** Type of the source (URL, file system, or git repository) */
6 type: "url" | "file" | "git";
7 /** Location of the source (URL, file path, or git URL) */
8 location: string;
9 /** Optional authentication configuration */
10 auth?: {
11 /** Type of authentication */
12 type: "basic" | "token" | "oauth2";
13 /** Authentication credentials */
14 credentials: Record<string, string>;
15 };
16}
17
18/**
19 * Configuration for synchronization

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected