Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix typo in swagger #5418

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

Merged
Manciukic merged 2 commits into firecracker-microvm:main from Manciukic:fix-typo-in-swagger
Sep 1, 2025

Conversation

Copy link
Contributor

@Manciukic Manciukic commented Sep 1, 2025

Changes

Fix a few typos in swagger

  • imds_compat parameter of mmds endpoint
  • snapshot spelled as snaphot in some descriptions
  • responds spelled as reponds in a description

Reason

Fixes #5417.

License Acceptance

By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license. For more information on following Developer
Certificate of Origin and signing off your commits, please check
CONTRIBUTING.md.

PR Checklist

  • I have read and understand CONTRIBUTING.md.
  • I have run tools/devtool checkbuild --all to verify that the PR passes
    build checks on all supported architectures.
  • I have run tools/devtool checkstyle to verify that the PR passes the
    automated style checks.
  • I have described what is done in these changes, why they are needed, and
    how they are solving the problem in a clear and encompassing way.
  • I have updated any relevant documentation (both in code and in the docs)
    in the PR.
  • I have mentioned all user-facing changes in CHANGELOG.md.
  • If a specific issue led to this PR, this PR closes the issue.
  • When making API changes, I have followed the
    Runbook for Firecracker API changes.
  • I have tested all new and changed functionalities in unit tests and/or
    integration tests.
  • I have linked an issue to every new TODO.

  • This functionality cannot be added in rust-vmm.

Replace `imds_comat` with the correct `imds_compat`.
Fixes: firecracker-microvm#5417
Signed-off-by: Riccardo Mancini <mancio@amazon.com>
Fix another bunch of typos in the swagger spec descriptions. As these
are only in the description, this doesn't have any functional change to
code generation.
 - `s/snaphot/snapshot/`
 - `s/reponds/responds/`
Signed-off-by: Riccardo Mancini <mancio@amazon.com>
@Manciukic Manciukic marked this pull request as ready for review September 1, 2025 12:56
@Manciukic Manciukic added the Status: Awaiting review Indicates that a pull request is ready to be reviewed label Sep 1, 2025
Copy link
Contributor

zulinx86 commented Sep 1, 2025

thanks a lot for the fix!

Copy link

codecov bot commented Sep 1, 2025
edited
Loading

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.73%. Comparing base (52eefd8) to head (1eef25e).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@ Coverage Diff @@
## main #5418 +/- ##
==========================================
- Coverage 82.73% 82.73% -0.01% 
==========================================
 Files 263 263 
 Lines 27455 27455 
==========================================
- Hits 22716 22715 -1 
- Misses 4739 4740 +1 
Flag Coverage Δ
5.10-c5n.metal ?
5.10-m5n.metal 82.84% <ø> (-0.01%) ⬇️
5.10-m6a.metal 82.08% <ø> (-0.01%) ⬇️
5.10-m6g.metal 79.52% <ø> (ø)
5.10-m6i.metal 82.83% <ø> (ø)
5.10-m7a.metal-48xl 82.08% <ø> (+<0.01%) ⬆️
5.10-m7g.metal 79.52% <ø> (ø)
5.10-m7i.metal-24xl 82.80% <ø> (-0.01%) ⬇️
5.10-m7i.metal-48xl 82.81% <ø> (-0.01%) ⬇️
5.10-m8g.metal-24xl 79.52% <ø> (ø)
5.10-m8g.metal-48xl 79.52% <ø> (ø)
6.1-m5n.metal 82.88% <ø> (+<0.01%) ⬆️
6.1-m6a.metal 82.12% <ø> (-0.01%) ⬇️
6.1-m6g.metal 79.52% <ø> (ø)
6.1-m6i.metal 82.87% <ø> (ø)
6.1-m7a.metal-48xl 82.12% <ø> (ø)
6.1-m7g.metal 79.52% <ø> (ø)
6.1-m7i.metal-24xl 82.88% <ø> (-0.01%) ⬇️
6.1-m7i.metal-48xl 82.88% <ø> (ø)
6.1-m8g.metal-24xl 79.52% <ø> (ø)
6.1-m8g.metal-48xl 79.52% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Manciukic Manciukic enabled auto-merge (rebase) September 1, 2025 13:03
@Manciukic Manciukic merged commit 1ba85a7 into firecracker-microvm:main Sep 1, 2025
8 checks passed
@Manciukic Manciukic deleted the fix-typo-in-swagger branch September 1, 2025 13:15
Manciukic added a commit to Manciukic/firecracker that referenced this pull request Sep 1, 2025
In firecracker-microvm#5418 I fixed the swagger definition but didn't add it to the
changelog. For consistency with the release branch, let's keep it here
as well.
Signed-off-by: Riccardo Mancini <mancio@amazon.com>
Manciukic added a commit to Manciukic/firecracker that referenced this pull request Sep 2, 2025
In firecracker-microvm#5418 I fixed the swagger definition but didn't add it to the
changelog. For consistency with the release branch, let's keep it here
as well.
Signed-off-by: Riccardo Mancini <mancio@amazon.com>
roypat pushed a commit that referenced this pull request Sep 2, 2025
In #5418 I fixed the swagger definition but didn't add it to the
changelog. For consistency with the release branch, let's keep it here
as well.
Signed-off-by: Riccardo Mancini <mancio@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@ShadowCurse ShadowCurse ShadowCurse approved these changes

@zulinx86 zulinx86 zulinx86 approved these changes

Assignees
No one assigned
Labels
Status: Awaiting review Indicates that a pull request is ready to be reviewed
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

[Bug] Typo in Swagger definition s/imds_comat/imds_compat/

AltStyle によって変換されたページ (->オリジナル) /