Classes for error list are not generating - SpringRestServiceGenerator

If the error message is defined as a list of objects in the API specification, then no class is generated for the schema of that object.