(input: string, credentials?: SpecFetchCredentials)
| 66 | * HttpClient; otherwise return it as-is. |
| 67 | */ |
| 68 | export const resolveSpecText = (input: string, credentials?: SpecFetchCredentials) => |
| 69 | input.startsWith("http://") || input.startsWith("https://") |
| 70 | ? fetchSpecText(input, credentials) |
| 71 | : Effect.succeed(input); |
| 72 | |
| 73 | /** |
| 74 | * Parse an OpenAPI document from spec text and validate it's OpenAPI 3.x. |
no outgoing calls
no test coverage detected