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

[BUG][dart-dio] isEnum is true only for inline enums #19415

Closed
1 of 6 tasks
vasilich6107 opened this issue Aug 21, 2024 · 2 comments
Closed
1 of 6 tasks

[BUG][dart-dio] isEnum is true only for inline enums #19415

vasilich6107 opened this issue Aug 21, 2024 · 2 comments

Comments

@vasilich6107
Copy link
Contributor

vasilich6107 commented Aug 21, 2024

Bug Report Checklist

  • Have you provided a full/minimal spec to reproduce the issue?
  • Have you validated the input using an OpenAPI validator (example)?
  • Have you tested with the latest master to confirm the issue still exists?
  • Have you searched for related issues/PRs?
  • What's the actual output vs expected output?
  • [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description

isEnum is true only for inline enums

If an enum is declared as a definition, isEnum is false and the enum is generated from the

openapi-generator version

latest

OpenAPI declaration file content or url
Generation Details
Steps to reproduce
Related issues/PRs
Suggest a fix

isEnum should be true for any enum value

@vasilich6107
Copy link
Contributor Author

@kuhnroyal could you clarify the reason why isEnum is true only in some cases?
#18370 this fix is not properly working

@vasilich6107 vasilich6107 changed the title [BUG] isEnum is true only for inline enums [BUG][dart-dio] isEnum is true only for inline enums Aug 21, 2024
@vasilich6107
Copy link
Contributor Author

#13880

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant