You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SpringDoc wraps all responses in `BaseResponse<T>` — the actual DTO is in `content.$ref`. Navigate through the wrapper to reach the real fields. When a schema has a circular `content.$ref` pointing to itself, drill into the path's `responses['200'].content['application/json'].examples` instead — the examples contain the actual field structure.
29
+
30
+
## What to Compare
31
+
32
+
For every DTO type being touched:
33
+
34
+
| Check | How |
35
+
|---|---|
36
+
| Field names | Compare frontend interface keys vs backend schema properties |
37
+
| Field types | `string`/`number`/`boolean`/`array` alignment |
38
+
| Optionality | `?` in frontend vs `required[]` array in backend schema |
39
+
| New fields | Backend fields absent from frontend interface → add them |
40
+
| Removed fields | Frontend fields absent from backend → flag to user |
41
+
| Enum values | Frontend union type vs backend `enum` array |
0 commit comments