Commit 7688c8d
feat(x-deprecated-reason): add default deprecation message
In the case that we have a field deprecated, but no reason, the
deprecation comment isn't ideal.
We can improve this by adding a default message in the case of no
`x-deprecated-reason`.1 parent 5369d1f commit 7688c8d
3 files changed
Lines changed: 5 additions & 3 deletions
File tree
- examples/extensions/xdeprecatedreason
- internal/test/schemas
- pkg/codegen
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
881 | 881 | | |
882 | 882 | | |
883 | 883 | | |
| 884 | + | |
| 885 | + | |
884 | 886 | | |
885 | 887 | | |
886 | 888 | | |
| |||
0 commit comments