-
Notifications
You must be signed in to change notification settings - Fork 97
chore(deps): update rust crate oas3 to 0.16.0 #7057
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
Conversation
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed 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)
Other keywords and placeholders
Documentation and Community
|
130997f
to
4debee6
Compare
Tested manually, the test compiles, but fails |
Edited/Blocked NotificationRenovate 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. |
There was a problem hiding this 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. |
Raised an issue: juhaku/utoipa#1374 |
a857637
to
a53100f
Compare
3f2363c
to
9c03a75
Compare
Is |
This PR contains the following updates:
0.13.1
->0.16.0
Release Notes
x52dev/oas3-rs (oas3)
v0.16.0
: oas3: v0.16.0Compare Source
spec::Spec::security
field.spec::Operation::security
field.v0.15.0
: oas3: v0.15.0Compare Source
yaml-spec
(on-by-default).from_json()
function.from_yaml()
function, guarded by theyaml-spec
crate feature.to_json()
function now returnsserde_json
errors directly.to_yaml()
function now returnsserde_yaml
errors directly.to_yaml()
function is now guarded by theyaml-spec
crate feature.from_reader()
function.from_path()
function.Error
type.v0.14.0
: oas3: v0.14.0Compare Source
Default
forspec::{Components, Contact, Example, Flows}
.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.
This PR was generated by Mend Renovate. View the repository job log.