# light-codegen **Repository Path**: networknt/light-codegen ## Basic Information - **Project Name**: light-codegen - **Description**: A code generator based on rocker that can be used as an utility or web service - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2018-06-13 - **Last Updated**: 2025-01-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README A code generator based on [rocker](https://github.com/fizzed/rocker) that can be used as a command line utility or web service. [Developer Chat](https://gitter.im/networknt/light-codegen) | [Documentation](https://doc.networknt.com/tool/light-codegen/) | [Contribution Guide](CONTRIBUTING.md) | [![Build Status](https://travis-ci.org/networknt/light-codegen.svg?branch=master)](https://travis-ci.org/networknt/light-codegen) Light platform contains several frameworks to build different style of APIs or microservices based on the contract specifications. It encourages users to create service contract specification before coding and it would be nice if we can scaffold a project based on the designed specification. Further, it would be even nicer if we could utilize the specification during runtime to verify security and validate input request based on the exact same specification. Before we built our own generator, we looked on the open source community and couldn't find anything suitable to our need. So we built it over a weekend and it turned out very successful. If you want to know more about it, please checkout the [light-codegen document](https://doc.networknt.com/tool/light-codegen/). The generator is very easy to use and there are numeric ways to use it. Command line, Docker, Scripting and Web UI. To get started, please follow the [getting-started](https://doc.networknt.com/getting-started/light-codegen/). If you want know all the options with the light-codegen, you can follow the tutorials for each generator at [light-codegen tutorial](https://doc.networknt.com/tutorial/generator/). In addition, there are so many [other tutorials](https://doc.networknt.com/tutorial/) that are using light-codegen to scaffold projects and these can be found in the more wider tutorial section. [light-codegen document]: https://doc.networknt.com/tool/light-codegen/ [getting-started]: https://doc.networknt.com/getting-started/light-codegen/ [light-codegen tutorial]: https://doc.networknt.com/tutorial/generator/ [other tutorials]: https://doc.networknt.com/tutorial/