(baseUrl: string)
| 35 | |
| 36 | /** OpenAPI 3 spec with a single operation — enough to be a real catalog entry. */ |
| 37 | const greetSpec = (baseUrl: string): string => |
| 38 | JSON.stringify({ |
| 39 | openapi: "3.0.3", |
| 40 | info: { title: "Deep Link API", version: "1.0.0" }, |
| 41 | servers: [{ url: baseUrl }], |
| 42 | paths: { |
| 43 | "/greet": { |
| 44 | get: { |
| 45 | operationId: "getGreeting", |
| 46 | summary: "Return a greeting message", |
| 47 | responses: { "200": { description: "A greeting" } }, |
| 48 | }, |
| 49 | }, |
| 50 | }, |
| 51 | }); |
| 52 | |
| 53 | scenario( |
| 54 | "Connect · /connect/<slug> lands an end user in that integration's connect flow", |
no outgoing calls
no test coverage detected