Skip to content
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

fix(openapi): Improve empty array cases #13830

Merged
merged 19 commits into from
Nov 22, 2024

Conversation

nickvergessen
Copy link
Member

☑️ Resolves

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not possible
  • 📘 API documentation in docs/ has been updated or is not required
  • 🔖 Capability is added or not needed

@nickvergessen nickvergessen added 3. to review bug feature: api 🛠️ OCS API for conversations, chats and participants labels Nov 20, 2024
@nickvergessen nickvergessen added this to the 🖤 Next Major (31) milestone Nov 20, 2024
@nickvergessen nickvergessen self-assigned this Nov 20, 2024
@nickvergessen nickvergessen force-pushed the bugfix/noid/improve-openapi-handling branch from 9fbe4d2 to a9be671 Compare November 20, 2024 23:17
Copy link
Member

@provokateurin provokateurin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if openapi-extractor should skip the response type when the only type is null just like it already does with array<empty>. Both essentially mean "there is nothing to look at" and it would make the spec a bit cleaner (and remove almost all spec changes in this PR).

lib/Controller/TempAvatarController.php Show resolved Hide resolved
lib/Capabilities.php Outdated Show resolved Hide resolved
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
…sent

Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen force-pushed the bugfix/noid/improve-openapi-handling branch from ca580a2 to 1c7b81f Compare November 22, 2024 09:15
Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen force-pushed the bugfix/noid/improve-openapi-handling branch from 1c7b81f to 15410d5 Compare November 22, 2024 10:01
@nickvergessen
Copy link
Member Author

/backport ad5f9a5,15410d5e447b969be926e50ccefdbc5f786c5c7e,ff438bc23bb75156fc6c3a7101ea35e392c16a24 to stable30

@nickvergessen nickvergessen merged commit 000cd81 into main Nov 22, 2024
71 checks passed
@nickvergessen nickvergessen deleted the bugfix/noid/improve-openapi-handling branch November 22, 2024 10:36
@nickvergessen
Copy link
Member Author

/backport ad5f9a5 15410d5 ff438bc to stable30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review bug feature: api 🛠️ OCS API for conversations, chats and participants
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants