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

Skip to content

vmm: openapi: Fix integer schema formats - #8278

Merged
rbradford merged 1 commit into
cloud-hypervisor:mainfrom
segfaultmedaddy:main
May 27, 2026
Merged

rbradford merged 1 commit into
cloud-hypervisor:mainfrom
segfaultmedaddy:main

Conversation

@segfaultmedaddy

Copy link
Copy Markdown
Contributor

Running oapi-codegen against the current schema is failing on the wrong formatting of the types for the queue_size and virtio_id fields. This PR resolves the issue.

@segfaultmedaddy
segfaultmedaddy requested a review from a team as a code owner May 26, 2026 11:58
@rbradford

Copy link
Copy Markdown
Member

@segfaultmedaddy Please review CONTRIBUTING.md (and look at the changes to the same file to correctly identify the commit message style. This is a best practice for all open source projects you might be committing to for the first time.

The current OpenAPI schema format is wrong because uint16 and uint32 are
not valid top-level OpenAPI types. Describe queue_size and virtio_id as
integer types with explicit uint formats instead.

Signed-off-by: Roman <[email protected]>
@segfaultmedaddy segfaultmedaddy changed the title Change queue_size and virtio_id types to correct format vmm: openapi: Fix integer schema formats May 26, 2026
@segfaultmedaddy

segfaultmedaddy commented May 26, 2026

Copy link
Copy Markdown
Contributor Author

Hey @rbradford. I have updated the commit message according to the guideline. LMK if anything else needs correction

@rbradford

Copy link
Copy Markdown
Member

@segfaultmedaddy All good - thank you!

@rbradford
rbradford added this pull request to the merge queue May 27, 2026
Merged via the queue into cloud-hypervisor:main with commit a1a8447 May 27, 2026
26 checks passed
@github-project-automation github-project-automation Bot moved this from 🆕 New to ✅ Done in Cloud Hypervisor Roadmap Jul 8, 2026
@rbradford rbradford added the bug-fix Bug fix to include in release notes label Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix Bug fix to include in release notes

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants