Commit 261e2a3
ci: Remove volatile metadata from generated models header (#718)
## Summary
- Disable `timestamp` and `filename` in the `datamodel-codegen` header
via `pyproject.toml` config
- Prevents spurious PRs when the OpenAPI spec hasn't changed but
regeneration produces a diff due to volatile metadata (timestamp, source
URL).
## Test plan
- [x] Regenerated models locally — header is now a single static line `#
generated by datamodel-codegen`
- [x] CI passes
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 8a0e8e1 commit 261e2a3
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| 229 | + | |
| 230 | + | |
229 | 231 | | |
230 | 232 | | |
231 | 233 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
4 | 2 | | |
5 | 3 | | |
6 | 4 | | |
| |||
0 commit comments