Commit 77d16b5
committed
fix: remove unnecessary pullResponseExamples call from outputSchema getter
Performance regression since v24.0.0 - the outputSchema getter was calling
the expensive pullResponseExamples() operation on every access, even though
examples are only needed for OpenAPI documentation generation (getResponses).
This fixes the issue where simply accessing the output schema for runtime
validation was unnecessarily triggering example generation.1 parent 34a2c55 commit 77d16b5
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
0 commit comments