Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 15, 2025

This PR contains the following updates:

Package Type Update Change
oas3 dev-dependencies minor 0.13.1 -> 0.16.0

Release Notes

x52dev/oas3-rs (oas3)

v0.16.0: oas3: v0.16.0

Compare Source

  • Add spec::Spec::security field.
  • Add spec::Operation::security field.

v0.15.0: oas3: v0.15.0

Compare Source

  • Add new crate feature yaml-spec (on-by-default).
  • Add top-level from_json() function.
  • Add top-level from_yaml() function, guarded by the yaml-spec crate feature.
  • The top-level to_json() function now returns serde_json errors directly.
  • The top-level to_yaml() function now returns serde_yaml errors directly.
  • The top-level to_yaml() function is now guarded by the yaml-spec crate feature.
  • Remove top-level from_reader() function.
  • Remove top-level from_path() function.
  • Remove top-level Error type.

v0.14.0: oas3: v0.14.0

Compare Source

  • Implement Default for spec::{Components, Contact, Example, Flows}.
  • Migrate YAML parsing to serde_yaml. Exposed error type(s) have been altered.

Configuration

📅 Schedule: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor

coderabbitai bot commented Apr 15, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Join our Discord community for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions bot added dependencies Pull requests that update a dependency file crate:hoprd-api labels Apr 15, 2025
@renovate renovate bot force-pushed the renovate/oas3-0.x branch 7 times, most recently from 130997f to 4debee6 Compare April 15, 2025 21:19
@Teebor-Choka
Copy link
Contributor

Tested manually, the test compiles, but fails

@Teebor-Choka Teebor-Choka self-assigned this Apr 15, 2025
Copy link
Contributor Author

renovate bot commented Apr 15, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@Teebor-Choka Teebor-Choka requested a review from Copilot April 15, 2025 21:46
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the oas3 Rust crate from version 0.13.1 to 0.16.0, aligning the test code with the new API changes provided by the updated crate.

  • Replaces the use of oas3::from_str with oas3::from_json in the API spec validation test.
  • Updates the Cargo.toml dependency to the new version.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
hoprd/rest-api/tests/test_openapi_spec_validation.rs Modified test validation to use the new from_json function.
hoprd/rest-api/Cargo.toml Updated the oas3 dependency version.

@Teebor-Choka
Copy link
Contributor

Raised an issue: juhaku/utoipa#1374

@tolbrino tolbrino added this to the 3.0.0 milestone Apr 29, 2025
@Teebor-Choka
Copy link
Contributor

Is oas3 is removed in #7142 due to issue inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crate:hoprd-api dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants