Skip to content

Add explicit OpenAPI schemas for Response endpoints - #12705

Open
beepsoft wants to merge 1 commit into
IQSS:developfrom
beepsoft:openapi-fix-missing-type
Open

beepsoft wants to merge 1 commit into
IQSS:developfrom
beepsoft:openapi-fix-missing-type

Conversation

@beepsoft

Copy link
Copy Markdown
Contributor

This is a followup to PR #12439. SmallRye OpenAPI plugin generator has been updated to 4.3.5, which generates empty schema types.

This PR documents opaque Response endpoints with explicit JSON object and string response schemas so SmallRye emits valid OpenAPI types. This removes 86 oas-missing-type findings and raises Vacuum quality from 89 to 98.

No Java return signatures or runtime behavior changed.

Which issue(s) this PR closes:

Closes #12701

Suggestions on how to test this:

Use same Vacuum settings as in #12439

Should we maybe add some form of vacuum test to the dataverse test suite, so that we are always aware of OpenAPI regressions?

Document opaque Response endpoints with explicit JSON object and
string response schemas so SmallRye emits valid OpenAPI types.
This removes 86 oas-missing-type findings and raises Vacuum quality
from 89 to 98.

No Java return signatures or runtime behavior changed.
@pdurbin pdurbin moved this to Ready for Triage in IQSS Dataverse Project Sep 15, 2026
@pdurbin pdurbin moved this from Ready for Triage to In Review 🔎 in IQSS Dataverse Project Sep 15, 2026
@pdurbin

pdurbin commented Sep 15, 2026

Copy link
Copy Markdown
Member

Discussed at tech hours. @poikilotherm plans to reply. See also this thread: #dev > Improve OpenAPI descriptions with AI @ 💬

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

Labels

None yet

Projects

Status: In Review 🔎

Development

Successfully merging this pull request may close these issues.

Regression in Vacuum OpenAPI report

3 participants