diff --git a/crates/ruma-api/tests/ui/05-request-only.rs b/crates/ruma-api/tests/ui/05-request-only.rs index 79e6e940..5263e9c8 100644 --- a/crates/ruma-api/tests/ui/05-request-only.rs +++ b/crates/ruma-api/tests/ui/05-request-only.rs @@ -10,7 +10,7 @@ ruma_api! { description: "Does something.", method: POST, // An `http::Method` constant. No imports required. name: "some_endpoint", - path: "/_matrix/some/endpoint/:foo", + path: "/_matrix/some/endpoint", rate_limited: false, authentication: None, } @@ -18,7 +18,6 @@ ruma_api! { #[derive(PartialEq)] // Make sure attributes work request: { // With no attribute on the field, it will be put into the body of the request. - #[ruma_api(path)] pub foo: String, } }