-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Open
Labels
Description
Bug Report Checklist
- Have you provided a full/minimal spec to reproduce the issue?
- Have you validated the input using an OpenAPI validator?
- 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
When using the now default generichost
generator for csharp
, if you set equatable
to true
, it has no effect on output. The .Equals
and .GetHashCode
methods are not overridden.
openapi-generator version
7.0.14
OpenAPI declaration file content or url
The generated samples show this behavior.
See config here.
See sample here.
Steps to reproduce
You can generate samples on master in whichever environment you work on.
Related issues/PRs
Suggest a fix
I can take a look into this one. Seems to have to do with the dependency on readOnlyVars.