Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.24.2 #1232

Merged
merged 1 commit into from
Mar 22, 2025
Merged

Release 0.24.2 #1232

merged 1 commit into from
Mar 22, 2025

Conversation

knope-bot[bot]
Copy link
Contributor

@knope-bot knope-bot bot commented Mar 22, 2025

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.

@dbanty dbanty added this pull request to the merge queue Mar 22, 2025
Merged via the queue into main with commit aff1d26 Mar 22, 2025
21 checks passed
@dbanty dbanty deleted the knope/release branch March 22, 2025 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"openapi.models" and "openapi.enums" aren't usable in custom templates
1 participant