diff --git a/CREDITS.md b/CREDITS.md new file mode 100644 index 0000000..3ef565c --- /dev/null +++ b/CREDITS.md @@ -0,0 +1,14 @@ +# 🙏 Credits & Acknowledgements + +This project is based on the work of [MirnaGama/hospital-management-api](https://github.com/MirnaGama/hospital-management-api). + +- Original features R1–R10 were introduced in MirnaGama’s project. +- Features R11–R56, along with architecture refactoring and testing improvements, + were developed by SoftwareCraft. + +⚠️ **Disclaimer** +The original repository by MirnaGama did not specify a license. +Therefore, code portions copied or adapted from that project are considered **Unlicensed**, +and reuse may require permission from the original author. + +✅ All new code and improvements by SoftwareCraft are released under the **MIT License**. diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..9fd0d2b --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +MIT License + +Copyright (c) 2025 SoftwareCraft (softwarecraft.tech) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "SoftwareCraft Contributions"), +to deal in the SoftwareCraft Contributions without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the SoftwareCraft Contributions, and to permit persons to whom the SoftwareCraft Contributions +are 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 SoftwareCraft Contributions. + +THE SOFTWARECRAFT CONTRIBUTIONS ARE 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 SOFTWARECRAFT CONTRIBUTIONS OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/LICENSE-THIRD-PARTY b/LICENSE-THIRD-PARTY new file mode 100644 index 0000000..39c8b4b --- /dev/null +++ b/LICENSE-THIRD-PARTY @@ -0,0 +1,14 @@ +Third-Party Notice +------------------ + +Some portions of this repository are derived from +MirnaGama/hospital-management-api (https://github.com/MirnaGama/hospital-management-api). + +⚠️ IMPORTANT: +The original repository does not include a license. +As such, those portions of the codebase should be treated as "All Rights Reserved" +and may require explicit permission from the original author (MirnaGama) +for reuse, distribution, or modification. + +This repository does not grant any license for those portions. +Please consult the original author for usage rights. diff --git a/README.md b/README.md index c127b5e..b3ed7d4 100644 --- a/README.md +++ b/README.md @@ -281,15 +281,16 @@ https://his-backend.softwarecraft.tech/swagger-ui/index.html --- -## 🙏 Credits -This project is an extended version inspired by [MirnaGama/hospital-management-api](https://github.com/MirnaGama/hospital-management-api). -The original repository did not include a license. - -⚠️ Note: Features R1–R10 were originally developed in MirnaGama’s repository. -All other features (R11–R56), refactoring, and architecture improvements are original contributions by SoftwareCraft. - ---- - ## 📜 License -The newly developed modules and improvements (R11–R56) are released under the MIT License. -Use of R1–R10 features may require permission from the original author. \ No newline at end of file + +This project uses a **dual-license structure**: + +- 🟢 **MIT License** applies to all new contributions and improvements by SoftwareCraft. + See [LICENSE](./LICENSE). + +- 🔒 **Unlicensed / Permission Required** applies to portions derived from + [MirnaGama/hospital-management-api](https://github.com/MirnaGama/hospital-management-api). + See [LICENSE-THIRD-PARTY](./LICENSE-THIRD-PARTY). + +⚠️ If you plan to redistribute or use this project commercially, +ensure that you have the necessary rights for third-party portions. \ No newline at end of file diff --git a/src/main/java/com/mirna/hospitalmanagementapi/infra/security/config/OpenAPIDocConfiguration.java b/src/main/java/com/mirna/hospitalmanagementapi/infra/security/config/OpenAPIDocConfiguration.java index 73fbfa1..b5b7bfc 100644 --- a/src/main/java/com/mirna/hospitalmanagementapi/infra/security/config/OpenAPIDocConfiguration.java +++ b/src/main/java/com/mirna/hospitalmanagementapi/infra/security/config/OpenAPIDocConfiguration.java @@ -30,6 +30,6 @@ public class OpenAPIDocConfiguration { .url("https://github.com/MirnaGama")) .contact(new Contact() .name("Extended & Maintained by: FlookSP / softwarecraft.tech") - .url("https://gitea.softwarecraft.tech/hospital-management-api"))); + .url("https://gitea.softwarecraft.tech/gitea/hospital-management-api.git"))); } }