(input: string, credentials?: SpecFetchCredentials)
| 123 | * HttpClient; otherwise return it as-is. |
| 124 | */ |
| 125 | export const resolveSpecText = (input: string, credentials?: SpecFetchCredentials) => |
| 126 | input.startsWith("http://") || input.startsWith("https://") |
| 127 | ? fetchSpecText(input, credentials) |
| 128 | : Effect.succeed(input); |
| 129 | |
| 130 | /** |
| 131 | * Parse an OpenAPI document from spec text and validate it's OpenAPI 3.x. |
no outgoing calls
no test coverage detected