The list-roasts API was returning nested objects with a "roast" field, which was inconsistent with other list APIs in the codebase. Added serde's #[serde(flatten)] attribute to make the response flat while maintaining the internal struct composition. |
||
|---|---|---|
| .. | ||
| bags_cli.rs | ||
| gear_cli.rs | ||
| helpers.rs | ||
| main.rs | ||
| roasters_cli.rs | ||
| roasts_cli.rs | ||
| tokens_cli.rs | ||