You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But making an actual request returns a List of List of String|int.
[
[
"What",
"How to do",
"Ease of use",
"Done"
],
[
"Open the tables app",
"Click on tables icon in the menu bar.",
5,
"true"
],
[
"Add your first row",
"Just click on \"new row\" and enter some data inside of the form. At the end click on the bottom \"save\".",
5,
"false"
],
[
"Edit a row",
"Hover the mouse over a row you want to edit. Click on the pen on the right side. Maybe you want to add a \"done\" status to this row.",
5,
"false"
],
[
"Add a new column",
"You can add, remove and adjust columns as you need it. Click on the three-dot-menu on the upper right of this table and choose \"create column\". Fill in the data you want, at least a title and column type.",
4,
"false"
],
[
"Read the docs",
"If you want to go through the documentation, this can be found here: https://github.com/nextcloud/tables/wiki",
3,
"false"
]
]
Expected behavior
The spec correctly mentions that the endpoint returns a nested list.
Actual behavior
The spec differs from the actual behavior, making generated api clients fail.
Tables app version
0.8.0
Browser
N.A.
Client operating system
N.A.
Operating system
Linux (Docker
Web server
None
PHP engine version
PHP 8.2
Database
SQLite
Additional info
I also had type issues on other endpoints but didn't debug all of them for now.
I suspect that this issue is broader than just the one endpoint.
The text was updated successfully, but these errors were encountered:
Steps to reproduce
The openapi spec states that a request to
/index.php/apps/tables/api/1/tables/{tableId}/rows/simple
returns a List of strings.tables/openapi.json
Lines 3840 to 3853 in 5cc780c
tables/lib/Controller/Api1Controller.php
Lines 1032 to 1060 in 5cc780c
But making an actual request returns a List of List of String|int.
Expected behavior
The spec correctly mentions that the endpoint returns a nested list.
Actual behavior
The spec differs from the actual behavior, making generated api clients fail.
Tables app version
0.8.0
Browser
N.A.
Client operating system
N.A.
Operating system
Linux (Docker
Web server
None
PHP engine version
PHP 8.2
Database
SQLite
Additional info
I also had type issues on other endpoints but didn't debug all of them for now.
I suspect that this issue is broader than just the one endpoint.
The text was updated successfully, but these errors were encountered: