You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something is causing the generator to make two copies of some models that only differ in their names, like ApiRackView and ApiRackView1. This isn't a big problem in the short term because we can just use whatever it wants us to use, but it is weird and will eventually be a real problem.
I think it's coming from the OpenAPI JSON we're getting from omicron. Issue here: oxidecomputer/omicron#64
david-crespo
changed the title
Figure out why openapi-generator is producing ApiProjectView1
openapi-generator is producing duplicate models
Apr 16, 2021
Something is causing the generator to make two copies of some models that only differ in their names, like
ApiRackView
andApiRackView1
. This isn't a big problem in the short term because we can just use whatever it wants us to use, but it is weird and will eventually be a real problem.Could be this, except our refs are all internal so maybe not: OpenAPITools/openapi-generator#2701
The text was updated successfully, but these errors were encountered: