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

Template parameters cannot be Enums #152

Closed
robinste opened this issue Apr 30, 2024 · 0 comments
Closed

Template parameters cannot be Enums #152

robinste opened this issue Apr 30, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@robinste
Copy link

Description

It seems that Enum types cannot be used template parameter substitutions.


Steps To Reproduce

Steps to reproduce the behavior:

  1. Create a "Template Binding" on an OpenAPIType
  2. Add a "Template Parameter Substitution" and select an Enum-Type as target

Expected behavior

No crash in code generation


Screenshots

image

@robinste robinste added the bug Something isn't working label Apr 30, 2024
jeaf-anaptecs added a commit that referenced this issue May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants