RustRover cargo-generate template: Axum + Vue 3 + TypeScript + Tailwind + sqlx
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910
  1. use server::routes;
  2. #[test]
  3. fn openapi_includes_item_and_health_paths() {
  4. let spec = routes::openapi_spec();
  5. let json = spec.to_pretty_json().expect("serialize openapi");
  6. assert!(json.contains("/health/live"), "missing live probe: {json}");
  7. assert!(json.contains("/health/ready"), "missing ready probe: {json}");
  8. assert!(json.contains("/api/v1/items"), "missing items collection: {json}");
  9. }