Another way to compare is as follows:
https://www.openhub.net/p/openapi-generator vs https://www.openhub.net/p/swagger-codegen