(status: number, body: string)
| 54 | } |
| 55 | |
| 56 | function textResponse(status: number, body: string): Response { |
| 57 | return new Response(body, { |
| 58 | status, |
| 59 | headers: { "content-type": "text/plain" } |
| 60 | }); |
| 61 | } |
| 62 | |
| 63 | async function importClient() { |
| 64 | const mod = await import("./openapi"); |