Commit bf0b17e
authored
Always include paging_metadata in paginated list responses (#538)
The AAS Part 2 API spec requires GetPagedResult wrapper on every
list response. The previous code omitted it when all results fit
on the first page, returning a plain array that clients expecting
{"result": [...], "paging_metadata": {...}} could not parse.
Fixes #5191 parent 53f892e commit bf0b17e
1 file changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
| 243 | + | |
248 | 244 | | |
249 | 245 | | |
250 | 246 | | |
| |||
0 commit comments