License
This project is licensed under the MIT License.
MIT License
MIT License
Copyright (c) 2025 MochaAPI Client
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
What This Means
The MIT License is a permissive open-source license that allows you to:
✅ You Can
- Use commercially - Use the library in commercial projects
- Modify - Change the source code to fit your needs
- Distribute - Share the library with others
- Sublicense - Include it in projects with different licenses
- Private use - Use it in private projects
❌ You Cannot
- Hold liable - The authors are not responsible for any issues
- Remove copyright - Must include the license and copyright notice
📋 You Must
- Include the license - Include the MIT License text in distributions
- Include copyright - Include the copyright notice
- No warranty - The software comes with no warranty
Commercial Use
Yes, you can use MochaAPI Client in commercial projects! The MIT License explicitly allows commercial use without any restrictions.
Attribution
While not required by the license, we appreciate attribution in the form of:
- A mention in your project's README
- A link to the MochaAPI Client repository
- A note in your project's documentation
Third-Party Dependencies
MochaAPI Client uses the following third-party libraries:
Jackson Databind (2.17.2)
- License: Apache License 2.0
- Purpose: JSON serialization and deserialization
- Usage: Default JSON mapper for Java projects
Kotlinx Serialization (1.7.2)
- License: Apache License 2.0
- Purpose: JSON serialization for Kotlin
- Usage: JSON mapper for Kotlin projects
JUnit Jupiter (5.11.0)
- License: Eclipse Public License 2.0
- Purpose: Unit testing framework
- Usage: Test dependencies only
License Compatibility
The MIT License is compatible with most other open-source licenses, including:
- Apache License 2.0 ✅
- BSD Licenses ✅
- GPL v2 ✅
- GPL v3 ✅
- LGPL ✅
- Mozilla Public License ✅
Questions About Licensing?
If you have questions about the license or need clarification:
- Check the MIT License FAQ
- Consult with your legal team for commercial projects
- Open an issue on GitHub for specific questions
Contributing
By contributing to MochaAPI Client, you agree that your contributions will be licensed under the same MIT License.
Changes to License
If we need to change the license in the future, we will:
- Announce the change with at least 30 days notice
- Provide migration path for existing users
- Maintain backward compatibility where possible
Made with ❤️ for the Java and Kotlin community