We have an unnecessary AuthTokenUser model that is identical to the User model aside from the description. There is also an unnecessary AuthTokenProject model that is identical to the Project model aside from the description.
These models are generated because the AuthToken spec uses allOf to inject a description for the user and project properties for documentation purposes. This kind of structure is fine for redoc, but doesn't work well with code generators.
We need to find a different way to indicate that user tokens have a user and project tokens have a project that doesn't result in the creation of unnecessary duplicate models.
We have an unnecessary
AuthTokenUser
model that is identical to theUser
model aside from the description. There is also an unnecessaryAuthTokenProject
model that is identical to theProject
model aside from the description.These models are generated because the
AuthToken
spec usesallOf
to inject a description for the user and project properties for documentation purposes. This kind of structure is fine for redoc, but doesn't work well with code generators.We need to find a different way to indicate that user tokens have a
user
and project tokens have aproject
that doesn't result in the creation of unnecessary duplicate models.