Thanks to visit codestin.com
Credit goes to github.com

Skip to content

openapi: migrate to PHP 8 annotations and specify response schemas - #8749

Draft
casimir wants to merge 2 commits into
wallabag:masterfrom
casimir:openapi-response
Draft

openapi: migrate to PHP 8 annotations and specify response schemas#8749
casimir wants to merge 2 commits into
wallabag:masterfrom
casimir:openapi-response

Conversation

@casimir

@casimir casimir commented Mar 19, 2026

Copy link
Copy Markdown
Contributor
Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Documentation no
Translation no
CHANGELOG.md TBD
License MIT

A POC to demonstrate a solution for #8748. Only tags and search controllers are updated but the finalized PR should cover every controllers.

  • Use PHP 8 attributes instead of docblock annotations
  • Add response schema on concerned endpoints
  • Extracted PagerFanta specific schemas for re-usability and separate concerns

Let's discuss it in the linked issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant