Open AmateurECE opened 7 months ago
Since there's been no movement on swagger-api/swagger-parser#1961, I've decided to begin re-implementing the generator not to have this dependency. I'll track the progress of that work in #4, and leave this issue open until it is resolved.
Unfortunately, there seems to be a defect in swagger-parser v1.18.0 that causes duplicate schemas to be generated when there are circular references between OpenAPI specification files. This manifests in the output of
redfish-generator
:I've opened swagger-api/swagger-parser#1961 to capture this issue, and am working on a pull request to remedy. I would much prefer to fix this issue before the next release of the redfish-codegen crates, so that we can be on a fixed version of swagger-parser again, but I am willing to entertain releasing the software with these duplicated models if there is an appetite for a sooner release, since the duplicate models do not seem to produce build errors.