diff --git a/Kyoo.sln b/Kyoo.sln index faab841f..61d5219f 100644 --- a/Kyoo.sln +++ b/Kyoo.sln @@ -23,6 +23,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Kyoo.Host.WindowsTrait", "s EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Kyoo.Host.Console", "src\Kyoo.Host.Console\Kyoo.Host.Console.csproj", "{D8658BEA-8949-45AC-BEBB-A4FFC4F800F5}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Kyoo.Swagger", "src\Kyoo.Swagger\Kyoo.Swagger.csproj", "{7D1A7596-73F6-4D35-842E-A5AD9C620596}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -81,5 +83,9 @@ Global {D8658BEA-8949-45AC-BEBB-A4FFC4F800F5}.Debug|Any CPU.Build.0 = Debug|Any CPU {D8658BEA-8949-45AC-BEBB-A4FFC4F800F5}.Release|Any CPU.ActiveCfg = Release|Any CPU {D8658BEA-8949-45AC-BEBB-A4FFC4F800F5}.Release|Any CPU.Build.0 = Release|Any CPU + {7D1A7596-73F6-4D35-842E-A5AD9C620596}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7D1A7596-73F6-4D35-842E-A5AD9C620596}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7D1A7596-73F6-4D35-842E-A5AD9C620596}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7D1A7596-73F6-4D35-842E-A5AD9C620596}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection EndGlobal diff --git a/src/Directory.Build.props b/src/Directory.Build.props index b9d5b35c..47ab383d 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -1,4 +1,14 @@ + + Kyoo + Kyoo + Copyright (c) Kyoo + GPL-3.0-or-later + true + https://github.com/AnonymusRaccoon/Kyoo + git + + true true @@ -11,6 +21,10 @@ true + + + + diff --git a/src/Kyoo.Abstractions/Kyoo.Abstractions.csproj b/src/Kyoo.Abstractions/Kyoo.Abstractions.csproj index 60af7d84..faf51b1b 100644 --- a/src/Kyoo.Abstractions/Kyoo.Abstractions.csproj +++ b/src/Kyoo.Abstractions/Kyoo.Abstractions.csproj @@ -24,7 +24,6 @@ - diff --git a/src/Kyoo.Core/Kyoo.Core.csproj b/src/Kyoo.Core/Kyoo.Core.csproj index 75db8e82..7b7b3cca 100644 --- a/src/Kyoo.Core/Kyoo.Core.csproj +++ b/src/Kyoo.Core/Kyoo.Core.csproj @@ -1,13 +1,10 @@ - net5.0 - ../Kyoo.Transcoder/ - - SDG - Zoe Roux - https://github.com/AnonymusRaccoon/Kyoo default + Kyoo.Core + Kyoo.Core + ../Kyoo.Transcoder/ diff --git a/src/Kyoo.Database/Kyoo.Database.csproj b/src/Kyoo.Database/Kyoo.Database.csproj index a8fd3c51..5c59b7ef 100644 --- a/src/Kyoo.Database/Kyoo.Database.csproj +++ b/src/Kyoo.Database/Kyoo.Database.csproj @@ -1,12 +1,9 @@ - net5.0 + default Kyoo.Database Kyoo.Database - Zoe Roux - https://github.com/AnonymusRaccoon/Kyoo - default @@ -19,5 +16,4 @@ - diff --git a/src/Kyoo.Host.Console/Kyoo.Host.Console.csproj b/src/Kyoo.Host.Console/Kyoo.Host.Console.csproj index 20dc8559..0cd712be 100644 --- a/src/Kyoo.Host.Console/Kyoo.Host.Console.csproj +++ b/src/Kyoo.Host.Console/Kyoo.Host.Console.csproj @@ -2,23 +2,21 @@ Exe net5.0 - Kyoo.Host.Console.Program - - SDG - Zoe Roux - https://github.com/AnonymusRaccoon/Kyoo default + Kyoo.Host.Console + Kyoo.Host.Console + Kyoo.Host.Console.Program - win-x64 - + diff --git a/src/Kyoo.Host.WindowsTrait/Kyoo.Host.WindowsTrait.csproj b/src/Kyoo.Host.WindowsTrait/Kyoo.Host.WindowsTrait.csproj index 084b6541..62cc27a3 100644 --- a/src/Kyoo.Host.WindowsTrait/Kyoo.Host.WindowsTrait.csproj +++ b/src/Kyoo.Host.WindowsTrait/Kyoo.Host.WindowsTrait.csproj @@ -4,8 +4,10 @@ WinExe net5.0-windows + default true - Kyoo.WindowsHost + Kyoo.Host.WindowsTrait + Kyoo.Host.WindowsTrait diff --git a/src/Kyoo.Postgresql/Kyoo.Postgresql.csproj b/src/Kyoo.Postgresql/Kyoo.Postgresql.csproj index e356ba8a..8bb4ecf5 100644 --- a/src/Kyoo.Postgresql/Kyoo.Postgresql.csproj +++ b/src/Kyoo.Postgresql/Kyoo.Postgresql.csproj @@ -1,11 +1,9 @@ net5.0 - - SDG - Zoe Roux - https://github.com/AnonymusRaccoon/Kyoo default + Kyoo.Postgresql + Kyoo.Postgresql diff --git a/src/Kyoo.SqLite/Kyoo.SqLite.csproj b/src/Kyoo.SqLite/Kyoo.SqLite.csproj index f689dbe8..24ba70c2 100644 --- a/src/Kyoo.SqLite/Kyoo.SqLite.csproj +++ b/src/Kyoo.SqLite/Kyoo.SqLite.csproj @@ -1,24 +1,18 @@ net5.0 - - SDG - Zoe Roux - https://github.com/AnonymusRaccoon/Kyoo default + Kyoo.SqLite Kyoo.SqLite - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - + diff --git a/src/Kyoo.Swagger/Kyoo.Swagger.csproj b/src/Kyoo.Swagger/Kyoo.Swagger.csproj new file mode 100644 index 00000000..13104cde --- /dev/null +++ b/src/Kyoo.Swagger/Kyoo.Swagger.csproj @@ -0,0 +1,13 @@ + + + net5.0 + default + Kyoo.Swagger + Kyoo.Swagger + + + + + + + diff --git a/src/Kyoo.Swagger/SwaggerModule.cs b/src/Kyoo.Swagger/SwaggerModule.cs new file mode 100644 index 00000000..250efbbd --- /dev/null +++ b/src/Kyoo.Swagger/SwaggerModule.cs @@ -0,0 +1,27 @@ +// Kyoo - A portable and vast media library solution. +// Copyright (c) Kyoo. +// +// See AUTHORS.md and LICENSE file in the project root for full license information. +// +// Kyoo is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// any later version. +// +// Kyoo is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Kyoo. If not, see . + +namespace Kyoo.Swagger +{ + /// + /// A module to enable a swagger interface and an OpenAPI endpoint to document Kyoo. + /// + public class SwaggerModule + { + } +} diff --git a/src/Kyoo.TheMovieDb/Kyoo.TheMovieDb.csproj b/src/Kyoo.TheMovieDb/Kyoo.TheMovieDb.csproj index 7b841c4a..93a5b921 100644 --- a/src/Kyoo.TheMovieDb/Kyoo.TheMovieDb.csproj +++ b/src/Kyoo.TheMovieDb/Kyoo.TheMovieDb.csproj @@ -1,11 +1,8 @@ net5.0 - - SDG - Zoe Roux - https://github.com/AnonymusRaccoon/Kyoo default + Kyoo.TheMovieDb Kyoo.TheMovieDb diff --git a/src/Kyoo.TheTvdb/Kyoo.TheTvdb.csproj b/src/Kyoo.TheTvdb/Kyoo.TheTvdb.csproj index f2c052ff..354b9a35 100644 --- a/src/Kyoo.TheTvdb/Kyoo.TheTvdb.csproj +++ b/src/Kyoo.TheTvdb/Kyoo.TheTvdb.csproj @@ -1,11 +1,8 @@ net5.0 - - SDG - Zoe Roux - https://github.com/AnonymusRaccoon/Kyoo default + Kyoo.TheTvdb Kyoo.TheTvdb @@ -14,9 +11,6 @@ - - - diff --git a/src/Kyoo.WebApp/Kyoo.WebApp.csproj b/src/Kyoo.WebApp/Kyoo.WebApp.csproj index 910d2167..eeb49df7 100644 --- a/src/Kyoo.WebApp/Kyoo.WebApp.csproj +++ b/src/Kyoo.WebApp/Kyoo.WebApp.csproj @@ -1,8 +1,12 @@ - + net5.0 + default + Kyoo.WebApp + Kyoo.WebApp + true Latest false @@ -12,11 +16,6 @@ false - - SDG - Zoe Roux - https://github.com/AnonymusRaccoon/Kyoo - default @@ -41,7 +40,7 @@ - +