Skip to content

Commit

Permalink
scripts/test.sh: Fix auto_into_responses feature declaration (#1252)
Browse files Browse the repository at this point in the history
* utoipa-gen/tests/path_derive_auto_into_responses_actix: Adjust expectations and comment out broken tests

* scripts/test.sh: Fix `auto_into_responses` feature declaration

These invocations weren't actually running the corresponding tests

* Add changelog entry
  • Loading branch information
Turbo87 authored Dec 21, 2024
1 parent aa0d27f commit 6d8d2ac
Show file tree
Hide file tree
Showing 3 changed files with 173 additions and 169 deletions.
4 changes: 2 additions & 2 deletions scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ for crate in $crates; do

$CARGO ${CARGO_COMMAND} -p utoipa-gen --test path_derive_auto_into_responses --features auto_into_responses,utoipa/uuid,uuid,utoipa/macros
$CARGO ${CARGO_COMMAND} -p utoipa-gen --test path_derive_actix --test path_parameter_derive_actix --features actix_extras,utoipa/uuid,uuid,utoipa/chrono,chrono,utoipa/time,time,utoipa/macros
$CARGO ${CARGO_COMMAND} -p utoipa-gen --test path_derive_auto_into_responses_actix --features actix_extras,utoipa/auto_into_responses,utoipa/uuid,uuid,utoipa/macros
$CARGO ${CARGO_COMMAND} -p utoipa-gen --test path_derive_auto_into_responses_actix --features actix_extras,auto_into_responses,utoipa/uuid,uuid,utoipa/macros

$CARGO ${CARGO_COMMAND} -p utoipa-gen --test path_derive_rocket --features rocket_extras,utoipa/macros

$CARGO ${CARGO_COMMAND} -p utoipa-gen --test path_derive_axum_test --features axum_extras,utoipa/macros
$CARGO ${CARGO_COMMAND} -p utoipa-gen --test path_derive_auto_into_responses_axum --features axum_extras,utoipa/auto_into_responses,utoipa/macros
$CARGO ${CARGO_COMMAND} -p utoipa-gen --test path_derive_auto_into_responses_axum --features axum_extras,auto_into_responses,utoipa/macros
elif [[ "$crate" == "utoipa-swagger-ui" ]]; then
$CARGO ${CARGO_COMMAND} -p utoipa-swagger-ui --features actix-web,rocket,axum,utoipa/macros
elif [[ "$crate" == "utoipa-redoc" ]]; then
Expand Down
6 changes: 6 additions & 0 deletions utoipa-gen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog - utoipa-gen

## Unreleased

### Changed

* scripts/test.sh: Fix `auto_into_responses` feature declaration (https://github.com/juhaku/utoipa/pull/1252)

## 5.3.0 - Dec 19 2024

### Fixed
Expand Down
Loading

0 comments on commit 6d8d2ac

Please sign in to comment.