mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-21 20:18:06 +02:00
refactor(dynamic): add multi-method support to RouteShape, update framework bindings, and improve test coverage
This commit is contained in:
parent
4bcdec3a1b
commit
ca075a7141
55 changed files with 524 additions and 215 deletions
|
|
@ -3253,10 +3253,7 @@ mod tests {
|
|||
spec.framework = Some(FrameworkBinding {
|
||||
adapter: "test-adapter".into(),
|
||||
kind: EntryKind::HttpRoute,
|
||||
route: Some(RouteShape {
|
||||
method: HttpMethod::GET,
|
||||
path: route_path.into(),
|
||||
}),
|
||||
route: Some(RouteShape::single(HttpMethod::GET, route_path)),
|
||||
request_params: vec![],
|
||||
response_writer: None,
|
||||
middleware: vec![],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue