Skip to content

Commit b80841b

Browse files
committed
OpenAPI: top-level detect group -> operationId 'detect' (not 'detect.detect')
1 parent 6bcfe64 commit b80841b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎worker/api.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const Detect = HttpApiEndpoint.get("detect", "/api/:domain/detect", {
1616
});
1717

1818
export const Api = HttpApi.make("integrations.sh")
19-
.add(HttpApiGroup.make("detect").add(Detect))
19+
.add(HttpApiGroup.make("detect", { topLevel: true }).add(Detect))
2020
.annotate(OpenApi.Title, "integrations.sh")
2121
.annotate(OpenApi.Version, "0.1.0")
2222
.annotate(

0 commit comments

Comments
 (0)