Skip to content
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

Add testcases for crates/oapi/src/extract/parameter/*.rs #612

Merged
merged 4 commits into from
Jan 9, 2024

Conversation

zhangkai803
Copy link
Member

  1. In salvo_oapi, we enable test feature from salvo_core, in order to build hyper::Request with TestClient.
  2. crates/oapi/src/extract/parameter/cookie.rs 97.67%.
  3. crates/oapi/src/extract/parameter/header.rs 97.44%.
  4. crates/oapi/src/extract/parameter/path.rs 96.30%.
  5. crates/oapi/src/extract/parameter/query.rs 97.62%.

@chrislearn chrislearn merged commit b506931 into salvo-rs:main Jan 9, 2024
7 checks passed
@zhangkai803 zhangkai803 deleted the test_oapi_extract_parameter branch January 9, 2024 11:35
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.

2 participants