| 2 | * Configuration for a specification source |
| 3 | */ |
| 4 | export 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 |
nothing calls this directly
no outgoing calls
no test coverage detected