Commit f7b52e3
fix(core): manually implement RustApiSchema for hateoas tests and fix docs
- Manually implement `RustApiSchema` for `User` struct in `rustapi-core/src/hateoas.rs` unit tests to fix compilation failure.
- Ignore doc tests in `rustapi-core/src/hateoas.rs` that require `derive(Schema)` which is not available in the doc test environment.
- Fix corrupted IP addresses in `docs/cookbook/src/recipes/status_page.md` (revert `127.0.0.1.3350` to `127.0.0.1:3000`).
- Remove unused imports in `rustapi-validate/tests/custom_messages.rs`.
Co-authored-by: Tuntii <121901995+Tuntii@users.noreply.github.com>1 parent 4fb51f2 commit f7b52e3
File tree
2 files changed
+19
-5
lines changed- crates
- rustapi-core/src
- rustapi-validate/tests
2 files changed
+19
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
| 272 | + | |
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
| 453 | + | |
453 | 454 | | |
454 | 455 | | |
455 | 456 | | |
| |||
458 | 459 | | |
459 | 460 | | |
460 | 461 | | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
461 | 476 | | |
462 | 477 | | |
463 | 478 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
0 commit comments