diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..d163e96 --- /dev/null +++ b/LICENSE @@ -0,0 +1,22 @@ + +MIT License + +Copyright (c) 2026 malexple + +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. \ No newline at end of file diff --git a/README.md b/README.md index 345b87e..d7ee9a5 100644 --- a/README.md +++ b/README.md @@ -74,4 +74,4 @@ ## Лицензия -Apache 2.0 \ No newline at end of file +MIT \ No newline at end of file diff --git a/src/main/java/ru/mcs/metadatabook/config/OpenApiConfig.java b/src/main/java/ru/mcs/metadatabook/config/OpenApiConfig.java index e414233..fdc32ac 100644 --- a/src/main/java/ru/mcs/metadatabook/config/OpenApiConfig.java +++ b/src/main/java/ru/mcs/metadatabook/config/OpenApiConfig.java @@ -28,10 +28,11 @@ .name("Malexple") .email("malexple@gmail.ru")) .license(new License() - .name("Apache 2.0") - .url("https://www.apache.org/licenses/LICENSE-2.0"))) + .name("MIT") + .url("https://opensource.org/licenses/MIT"))) .servers(List.of( - new Server().url("http://localhost:8081").description("Local Dev") + new Server().url("https://www.bookmetadata.ru").description("Prod Dev"), + new Server().url("http://localhost:8080").description("Local Dev") )); } } \ No newline at end of file