Skip to content

Fix some small openAPI issues#3299

Merged
teclator merged 2 commits intomasterfrom
utoipa_fixes
Mar 20, 2026
Merged

Fix some small openAPI issues#3299
teclator merged 2 commits intomasterfrom
utoipa_fixes

Conversation

@teclator
Copy link
Copy Markdown
Contributor

Problem

The current openAPI spec validation is failing when calling openapi-spec-validator out/openapi/*

openapi-spec-validator out/openapi/*
out/openapi/config.json: Validation Error: Path parameter 'action' for 'post' operation in '/api/v2/action' was not resolved
8

Solution

The PUT and PATCH for /api/v2/config as well as the POST for /api/v2/action receives the value as the body content and does not receive an specific param.

@teclator teclator requested a review from joseivanlopez March 18, 2026 13:46
Copy link
Copy Markdown
Contributor

@dgdavid dgdavid left a comment

Choose a reason for hiding this comment

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

Changes make sense, but probably this deserves an entry in the changes file.

Copy link
Copy Markdown
Contributor

@joseivanlopez joseivanlopez left a comment

Choose a reason for hiding this comment

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

LGTM. Only missing changelog.

@teclator teclator merged commit de76056 into master Mar 20, 2026
26 checks passed
@teclator teclator deleted the utoipa_fixes branch March 20, 2026 09:06
@imobachgs imobachgs mentioned this pull request Apr 14, 2026
imobachgs added a commit that referenced this pull request Apr 14, 2026
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.

3 participants