From 7125e9d4f43c29f6394521b05e1819b6975917b0 Mon Sep 17 00:00:00 2001 From: Chenjie Shi Date: Wed, 18 Dec 2024 15:40:58 +0800 Subject: [PATCH 1/2] fix missing `@list` decorator for unbranded pageable operation --- packages/http-specs/specs/payload/pageable/main.tsp | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/http-specs/specs/payload/pageable/main.tsp b/packages/http-specs/specs/payload/pageable/main.tsp index b170d7e663..c8fbc7736c 100644 --- a/packages/http-specs/specs/payload/pageable/main.tsp +++ b/packages/http-specs/specs/payload/pageable/main.tsp @@ -47,6 +47,7 @@ namespace ServerDrivenPagination { ``` """) @route("/link") + @list op link(): { @pageItems pets: Pet[]; From c4c3fdf60a3fc679c628b9c4165aa0137b74b0e7 Mon Sep 17 00:00:00 2001 From: tadelesh Date: Wed, 18 Dec 2024 16:37:09 +0800 Subject: [PATCH 2/2] changeset --- .chronus/changes/tadelesh-patch-1-2024-11-18-16-37-2.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .chronus/changes/tadelesh-patch-1-2024-11-18-16-37-2.md diff --git a/.chronus/changes/tadelesh-patch-1-2024-11-18-16-37-2.md b/.chronus/changes/tadelesh-patch-1-2024-11-18-16-37-2.md new file mode 100644 index 0000000000..02bf56860f --- /dev/null +++ b/.chronus/changes/tadelesh-patch-1-2024-11-18-16-37-2.md @@ -0,0 +1,7 @@ +--- +changeKind: fix +packages: + - "@typespec/http-specs" +--- + +fix missing `@list` decorator for unbranded pageable operation \ No newline at end of file