This repository contains a utility tool designed to assist in generating class models. The tool offers the flexibility to choose between Codable or ObjectMapper for model serialization and deserialization, catering to different preferences or project requirements.
- Codeable Support: Easily generate Swift class models conforming to Codable protocols.
- ObjectMapper Compatibility: Create class models with ObjectMapper compatibility for serialization and deserialization.
- Node.js (latest version recommended)
- npm or yarn
Clone the repository to your local machine:
git clone https://github.com/your-username/class-model-generator.gitInstall dependencies:
cd class-model-generator
npm install- Run the application using Express.js:
node app.js-
Access the generator tool via your web browser at
http://localhost:3000or as specified in the console output. -
Follow the prompts to create your desired class model, choosing the serialization method (Codable/ObjectMapper) based on your project needs.
This project is licensed under the MIT License. Feel free to modify and distribute this tool under the terms of the license. For more details, please see the LICENSE file.
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or create a pull request.