Commit aff1d26
authored
Release 0.24.2 (#1232)
> [!IMPORTANT]
> Merging this pull request will create this release
## Fixes
### Make lists of models and enums work correctly in custom templates
Lists of model and enum classes should be available to custom templates
via the Jinja
variables `openapi.models` and `openapi.enums`, but these were being
passed in a way that made
them always appear empty. This has been fixed so a custom template can
now iterate over them.
Closes #1188.
Co-authored-by: knope-bot[bot] <152252888+knope-bot[bot]@users.noreply.github.com>1 parent 1177cf7 commit aff1d26
File tree
3 files changed
+13
-12
lines changed- .changeset
3 files changed
+13
-12
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
16 | 28 | | |
17 | 29 | | |
18 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments