-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid openapi specification #1367
Labels
Comments
Leptopoda
added
bug
Something isn't working
0. Needs triage
Pending approval or rejection. This issue is pending approval.
labels
Sep 18, 2024
provokateurin
added
2. developing
Work in progress
and removed
0. Needs triage
Pending approval or rejection. This issue is pending approval.
labels
Sep 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: