Review API changes with rule-based and AI-assisted diffs

Not every API change needs the same response. Learn how Mediator identifies contract differences and helps teams inspect proposed frontend changes.

View this section on Mediator →
// before vs after

Rule-Based vs
AI-Powered

The same OpenAPI POST /transactions endpoint. Two completely different outputs.

TransactionCreate.razor
Phase 1 — Rule-Based
1 <EditForm>
2   <InputText Label="Customer" />
3   <InputText Label="Items" />
4   <InputNumber Label="Total" />
5   <button>Submit</button>
6 </EditForm>
  // Generic form
  // No domain context
  // No business logic
TransactionCreate.razor
Phase 2 — AI Domain Intelligence
1 <MudGrid>
2  // Left: Product Search Grid
3  <MudItem xs="7">
4   <MudAutocomplete
5    SearchFunc="SearchProducts"
6    Label="Search products" />
7   <MudGrid> // Product tiles
8  // Right: Shopping Cart
9  <MudItem xs="5">
10  <MudList> // Cart items
11  <MudButton Color="Success">
12    Complete Sale
🧠
AI understood the business intent
POST /transactions + items array + payment fields → Claude classified as Point of Sale domain → Full POS screen with shopping cart, search, and payment flow generated automatically.