swagger-codegen contains a template-driven engine to generate client code in different languages by parsing your Swagger Resource Declaration.