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] Rust client Structs missing Eq and Hash trait #20412

Open
2 of 6 tasks
Snazzie opened this issue Jan 8, 2025 · 0 comments · May be fixed by #20413
Open
2 of 6 tasks

[BUG] Rust client Structs missing Eq and Hash trait #20412

Snazzie opened this issue Jan 8, 2025 · 0 comments · May be fixed by #20413

Comments

@Snazzie
Copy link

Snazzie commented Jan 8, 2025

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

Structs are missing Eq and Hash traits, therefore unable to insert structs into Hashsets.

openapi-generator version

7.10.0

OpenAPI declaration file content or url
Generation Details

hash and eq traits missing from generated structs

Steps to reproduce
Related issues/PRs
Suggest a fix

#20413
include Eq and Hash trait in structs.

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

Successfully merging a pull request may close this issue.

1 participant