add converter + operation add WebAPI

pull/2/head
Maxence LANONE 2 years ago
parent a211c61737
commit 130671f112

@ -1,45 +1,51 @@
<Properties GitUserInfo="UsingGIT" StartupConfiguration="Api">
<MonoDevelop.Ide.ItemProperties.Tests.TestUnitaireLOL PreferredExecutionTarget="MonoDevelop.Default" />
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
<MonoDevelop.Ide.ItemProperties.DbDatamanager FirstBuild="True" />
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
<MonoDevelop.Ide.Workbench ActiveDocument="WebApiLol/Dockerfile">
<MonoDevelop.Ide.Workbench ActiveDocument="WebApiLol/Controllers/ChampionController.cs">
<Files>
<File FileName="StubLib/StubData.Skins.cs" />
<File FileName="StubLib/StubData.cs" />
<File FileName="StubLib/Extensions.cs" />
<File FileName="StubLib/StubData.Champions.cs" />
<File FileName="StubLib/StubData.RunePages.cs" />
<File FileName="StubLib/StubData.Runes.cs" />
<File FileName="Tests/ConsoleDB/Program.cs" />
<File FileName="EntityFrameWorkLib/LolContext.cs" />
<File FileName="Model/IDataManager.cs" />
<File FileName="Shared/IGenericDataManager.cs" />
<File FileName="Tests/TestUnitaireLOL/UnitTest1.cs" />
<File FileName="EntityFrameWorkLib/ChampionEntity.cs" />
<File FileName="WebApiLol/Program.cs" />
<File FileName="WebApiLol/Controllers/WeatherForecastController.cs" />
<File FileName="Tests/ConsoleTests/Program.cs" />
<File FileName="Model/enums/ChampionClass.cs" />
<File FileName="WebApiLol/Controllers/RuneController.cs" />
<File FileName="Model/Champion.cs" />
<File FileName="WebApiLol/SkillsDTO.cs" />
<File FileName="WebApiLol/SkinDTO.cs" />
<File FileName="WebApiLol/Controllers/SkillsController.cs" />
<File FileName="WebApiLol/Controllers/SkinController.cs" Line="29" Column="30" />
<File FileName="WebApiLol/Dockerfile" Line="12" Column="9" />
<File FileName="WebApiLol/Dockerfile" Line="1" Column="1" />
<File FileName="WebApiLol/Converter/ControllerConverter.cs" Line="7" Column="38" />
<File FileName="Model/Skill.cs" Line="3" Column="16" />
<File FileName="WebApiLol/RuneDTO.cs" Line="11" Column="1" />
<File FileName="WebApiLol/Converter/RuneConverter.cs" Line="16" Column="2" />
<File FileName="WebApiLol/Controllers/RuneController.cs" Line="47" Column="5" />
<File FileName="Model/enums/ChampionClass.cs" Line="1" Column="1" />
<File FileName="Model/IDataManager.cs" Line="1" Column="1" />
<File FileName="WebApiLol/Controllers/ChampionController.cs" Line="37" Column="14" />
<File FileName="WebApiLol/SkillsDTO.cs" Line="4" Column="20" />
<File FileName="WebApiLol/SkinDTO.cs" Line="1" Column="1" />
<File FileName="WebApiLol/Converter/SkillsConverter.cs" Line="18" Column="1" />
<File FileName="WebApiLol/Controllers/SkinController.cs" Line="42" Column="42" />
<File FileName="WebApiLol/Converter/SkinConverter.cs" Line="1" Column="1" />
<File FileName="WebApiLol/Controllers/SkillsController.cs" Line="25" Column="14" />
<File FileName="WebApiLol/Controllers/WeatherForecastController.cs" Line="1" Column="1" />
</Files>
<Pads>
<Pad Id="ProjectPad">
<State name="__root__">
<Node name="LeagueOfLegends" expanded="True" />
<Node name="LeagueOfLegends" expanded="True">
<Node name="Solution Items" expanded="True" />
<Node name="Stub" expanded="True">
<Node name="StubLib" expanded="True" />
</Node>
<Node name="EntityFrameWorkLib" expanded="True" />
<Node name="Model" expanded="True" />
<Node name="WebApiLol" expanded="True">
<Node name="Controllers" expanded="True">
<Node name="ChampionController.cs" selected="True" />
</Node>
<Node name="Converter" expanded="True" />
</Node>
</Node>
</State>
</Pad>
</Pads>
</MonoDevelop.Ide.Workbench>
<MonoDevelop.Ide.ItemProperties.Tests.ConsoleTests PreferredExecutionTarget="MonoDevelop.Default" />
<MonoDevelop.Ide.DebuggingService.Breakpoints />
<MonoDevelop.Ide.ItemProperties.WebApiLol PreferredExecutionTarget="/System/Volumes/Preboot/Cryptexes/App/System/Applications/Safari.app" />
<DisabledProjects>
<String>Tests/ConsoleTestapi/ConsoleTestapi.csproj</String>
</DisabledProjects>
<MonoDevelop.Ide.DebuggingService.Breakpoints>
<BreakpointStore />
</MonoDevelop.Ide.DebuggingService.Breakpoints>
<MultiItemStartupConfigurations>
<MultiItemSolutionRunConfiguration Id="Api" Name="Api">
<Items>
@ -47,9 +53,9 @@
</Items>
</MultiItemSolutionRunConfiguration>
</MultiItemStartupConfigurations>
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
<MonoDevelop.Ide.ItemProperties.Tests.ConsoleTests PreferredExecutionTarget="MonoDevelop.Default" />
<MonoDevelop.Ide.ItemProperties.Tests.ConsoleDB PreferredExecutionTarget="MonoDevelop.Default" />
<MonoDevelop.Ide.ItemProperties.WebApiLol PreferredExecutionTarget="/System/Volumes/Preboot/Cryptexes/App/System/Applications/Safari.app" />
<DisabledProjects>
<String>Tests/ConsoleTestapi/ConsoleTestapi.csproj</String>
</DisabledProjects>
<MonoDevelop.Ide.ItemProperties.Tests.TestUnitaireLOL PreferredExecutionTarget="MonoDevelop.Default" />
<MonoDevelop.Ide.ItemProperties.DbDatamanager FirstBuild="True" />
</Properties>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -53,6 +53,12 @@ public class Champion : IEquatable<Champion>
Skins = new ReadOnlyCollection<Skin>(skins);
}
public Champion(string name, string bio)
{
this.name = name;
this.bio = bio;
}
public ReadOnlyCollection<Skin> Skins { get; private set; }
private List<Skin> skins = new ();

@ -48,6 +48,12 @@ namespace Model
Description = description;
}
public Rune(string name, string description)
{
this.name = name;
this.description = description;
}
public override bool Equals(object? obj)
{
if(ReferenceEquals(obj, null)) return false;

@ -42,6 +42,12 @@ namespace Model
Description = description ?? "";
}
public Skill(string name, string description)
{
this.name = name;
this.description = description;
}
public override bool Equals(object? obj)
{
if(ReferenceEquals(obj, null)) return false;

@ -62,6 +62,12 @@ namespace Model
Description = description;
}
public Skin(string name, string description)
{
this.name = name;
this.description = description;
}
public override bool Equals(object? obj)
{
if(ReferenceEquals(obj, null)) return false;

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -1 +1 @@
1c07443f9c5ae1d90d6e13ef9136ed6c652c1e34
84192c3abc95b280aa6620358c382fa7ac945dab

@ -13,3 +13,18 @@
/Users/malanone/Projects/EntityFramework_LoL/Sources/Model/obj/Debug/net7.0/refint/Model.dll
/Users/malanone/Projects/EntityFramework_LoL/Sources/Model/obj/Debug/net7.0/Model.pdb
/Users/malanone/Projects/EntityFramework_LoL/Sources/Model/obj/Debug/net7.0/ref/Model.dll
/Users/malanone/Projects/EfCore_LoL_S4/Model/bin/Debug/net7.0/Model.deps.json
/Users/malanone/Projects/EfCore_LoL_S4/Model/bin/Debug/net7.0/Model.dll
/Users/malanone/Projects/EfCore_LoL_S4/Model/bin/Debug/net7.0/Model.pdb
/Users/malanone/Projects/EfCore_LoL_S4/Model/bin/Debug/net7.0/Shared.dll
/Users/malanone/Projects/EfCore_LoL_S4/Model/bin/Debug/net7.0/Shared.pdb
/Users/malanone/Projects/EfCore_LoL_S4/Model/obj/Debug/net7.0/Model.csproj.AssemblyReference.cache
/Users/malanone/Projects/EfCore_LoL_S4/Model/obj/Debug/net7.0/Model.GeneratedMSBuildEditorConfig.editorconfig
/Users/malanone/Projects/EfCore_LoL_S4/Model/obj/Debug/net7.0/Model.AssemblyInfoInputs.cache
/Users/malanone/Projects/EfCore_LoL_S4/Model/obj/Debug/net7.0/Model.AssemblyInfo.cs
/Users/malanone/Projects/EfCore_LoL_S4/Model/obj/Debug/net7.0/Model.csproj.CoreCompileInputs.cache
/Users/malanone/Projects/EfCore_LoL_S4/Model/obj/Debug/net7.0/Model.csproj.CopyComplete
/Users/malanone/Projects/EfCore_LoL_S4/Model/obj/Debug/net7.0/Model.dll
/Users/malanone/Projects/EfCore_LoL_S4/Model/obj/Debug/net7.0/refint/Model.dll
/Users/malanone/Projects/EfCore_LoL_S4/Model/obj/Debug/net7.0/Model.pdb
/Users/malanone/Projects/EfCore_LoL_S4/Model/obj/Debug/net7.0/ref/Model.dll

Binary file not shown.

Binary file not shown.

@ -10,3 +10,15 @@
/Users/malanone/Projects/EntityFramework_LoL/Sources/Shared/obj/Debug/net6.0/refint/Shared.dll
/Users/malanone/Projects/EntityFramework_LoL/Sources/Shared/obj/Debug/net6.0/Shared.pdb
/Users/malanone/Projects/EntityFramework_LoL/Sources/Shared/obj/Debug/net6.0/ref/Shared.dll
/Users/malanone/Projects/EfCore_LoL_S4/Shared/bin/Debug/net6.0/Shared.deps.json
/Users/malanone/Projects/EfCore_LoL_S4/Shared/bin/Debug/net6.0/Shared.dll
/Users/malanone/Projects/EfCore_LoL_S4/Shared/bin/Debug/net6.0/Shared.pdb
/Users/malanone/Projects/EfCore_LoL_S4/Shared/obj/Debug/net6.0/Shared.csproj.AssemblyReference.cache
/Users/malanone/Projects/EfCore_LoL_S4/Shared/obj/Debug/net6.0/Shared.GeneratedMSBuildEditorConfig.editorconfig
/Users/malanone/Projects/EfCore_LoL_S4/Shared/obj/Debug/net6.0/Shared.AssemblyInfoInputs.cache
/Users/malanone/Projects/EfCore_LoL_S4/Shared/obj/Debug/net6.0/Shared.AssemblyInfo.cs
/Users/malanone/Projects/EfCore_LoL_S4/Shared/obj/Debug/net6.0/Shared.csproj.CoreCompileInputs.cache
/Users/malanone/Projects/EfCore_LoL_S4/Shared/obj/Debug/net6.0/Shared.dll
/Users/malanone/Projects/EfCore_LoL_S4/Shared/obj/Debug/net6.0/refint/Shared.dll
/Users/malanone/Projects/EfCore_LoL_S4/Shared/obj/Debug/net6.0/Shared.pdb
/Users/malanone/Projects/EfCore_LoL_S4/Shared/obj/Debug/net6.0/ref/Shared.dll

@ -1 +1 @@
fc008f19b12083d2bfacf836d2dd525203f412de
1040a8e98429f5a1f32851d65f3fb1ad56f5510b

@ -15,3 +15,20 @@
/Users/malanone/Projects/EntityFramework_LoL/Sources/StubLib/obj/Debug/net7.0/refint/StubLib.dll
/Users/malanone/Projects/EntityFramework_LoL/Sources/StubLib/obj/Debug/net7.0/StubLib.pdb
/Users/malanone/Projects/EntityFramework_LoL/Sources/StubLib/obj/Debug/net7.0/ref/StubLib.dll
/Users/malanone/Projects/EfCore_LoL_S4/StubLib/bin/Debug/net7.0/StubLib.deps.json
/Users/malanone/Projects/EfCore_LoL_S4/StubLib/bin/Debug/net7.0/StubLib.dll
/Users/malanone/Projects/EfCore_LoL_S4/StubLib/bin/Debug/net7.0/StubLib.pdb
/Users/malanone/Projects/EfCore_LoL_S4/StubLib/bin/Debug/net7.0/Model.dll
/Users/malanone/Projects/EfCore_LoL_S4/StubLib/bin/Debug/net7.0/Shared.dll
/Users/malanone/Projects/EfCore_LoL_S4/StubLib/bin/Debug/net7.0/Model.pdb
/Users/malanone/Projects/EfCore_LoL_S4/StubLib/bin/Debug/net7.0/Shared.pdb
/Users/malanone/Projects/EfCore_LoL_S4/StubLib/obj/Debug/net7.0/StubLib.csproj.AssemblyReference.cache
/Users/malanone/Projects/EfCore_LoL_S4/StubLib/obj/Debug/net7.0/StubLib.GeneratedMSBuildEditorConfig.editorconfig
/Users/malanone/Projects/EfCore_LoL_S4/StubLib/obj/Debug/net7.0/StubLib.AssemblyInfoInputs.cache
/Users/malanone/Projects/EfCore_LoL_S4/StubLib/obj/Debug/net7.0/StubLib.AssemblyInfo.cs
/Users/malanone/Projects/EfCore_LoL_S4/StubLib/obj/Debug/net7.0/StubLib.csproj.CoreCompileInputs.cache
/Users/malanone/Projects/EfCore_LoL_S4/StubLib/obj/Debug/net7.0/StubLib.csproj.CopyComplete
/Users/malanone/Projects/EfCore_LoL_S4/StubLib/obj/Debug/net7.0/StubLib.dll
/Users/malanone/Projects/EfCore_LoL_S4/StubLib/obj/Debug/net7.0/refint/StubLib.dll
/Users/malanone/Projects/EfCore_LoL_S4/StubLib/obj/Debug/net7.0/StubLib.pdb
/Users/malanone/Projects/EfCore_LoL_S4/StubLib/obj/Debug/net7.0/ref/StubLib.dll

@ -3,7 +3,8 @@ using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using StubLib;
using WebApiLol.Converter;
namespace WebApiLol.Controllers;
@ -11,6 +12,7 @@ namespace WebApiLol.Controllers;
[Route("[controller]")]
public class ChampionController : ControllerBase
{
private StubData.ChampionsManager ChampionsManager { get; set; } = new StubData.ChampionsManager(new StubData());
private readonly ILogger<ChampionController> _logger;
@ -31,5 +33,14 @@ public class ChampionController : ControllerBase
})
.ToArray());
}
[HttpPost]
public async Task<IActionResult> AddRune(ChampionDTO champion)
{
var newChampion = champion.toModel();
await ChampionsManager.AddItem(newChampion);
return Ok(newChampion);
}
}

@ -3,33 +3,48 @@ using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using WebApiLol.Converter;
using Model;
using StubLib;
using static StubLib.StubData;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace WebApiLol.Controllers;
[ApiController]
[Route("[controller]")]
public class RuneController : ControllerBase
{
[ApiController]
[Route("[controller]")]
public class RuneController : ControllerBase
{
private StubData.RunesManager RunesManager { get; set; } = new StubData.RunesManager(new StubData());
private ILogger<RuneController> _logger;
private ILogger<RuneController> _logger;
public RuneController(ILogger<RuneController> logger)
{
_logger = logger;
}
public RuneController(ILogger<RuneController> logger)
[HttpGet(Name = "GetRune")]
public ActionResult<IEnumerable<RuneDTO>> Get()
{
return Ok(Enumerable.Range(1,5).Select(index => new RuneDTO
{
_logger = logger;
}
Name = "La rune",
Description = "test description"
})
.ToArray());
}
[HttpGet(Name = "GetRune")]
public ActionResult<IEnumerable<RuneDTO>> Get()
{
return Ok(Enumerable.Range(1,5).Select(index => new RuneDTO
{
Name = "La rune",
Description = "test description"
})
.ToArray());
}
[HttpPost]
public async Task<IActionResult> AddRune(RuneDTO rune)
{
var newRune = rune.toModel();
await RunesManager.AddItem(newRune);
return Ok(newRune);
}
}

@ -19,9 +19,9 @@ namespace WebApiLol.Controllers
}
[HttpGet(Name = "GetSkills")]
public ActionResult<IEnumerable<SkillsDTO>> Get()
public ActionResult<IEnumerable<SkillDTO>> Get()
{
return Ok(Enumerable.Range(1, 5).Select(index => new SkillsDTO
return Ok(Enumerable.Range(1, 5).Select(index => new SkillDTO
{
Name = "Rapias",
Description = "Empeche de donner son argent à n'importe qui"

@ -3,6 +3,9 @@ using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using StubLib;
using WebApiLol.Converter;
using static StubLib.StubData;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
@ -11,6 +14,8 @@ namespace WebApiLol.Controllers
[Route("[controller]")]
public class SkinController : Controller
{
private StubData.SkinsManager SkinsManager { get; set; } = new StubData.SkinsManager(new StubData());
private readonly ILogger<SkinController> _logger;
public SkinController(ILogger<SkinController> logger)
@ -30,6 +35,15 @@ namespace WebApiLol.Controllers
})
.ToArray());
}
[HttpPost]
public async Task<IActionResult> AddSkin(SkinDTO skin)
{
var newSkin = skin.toModel();
await SkinsManager.AddItem(newSkin);
return Ok(newSkin);
}
}
}

@ -0,0 +1,16 @@
using System;
using Model;
namespace WebApiLol.Converter
{
public static class ChampionConverter
{
public static ChampionDTO toDTO(this Champion champion) => new ChampionDTO()
{
Name = champion.Name,
Bio = champion.Bio,
};
public static Champion toModel(this ChampionDTO champion) => new Champion(champion.Name, champion.Bio);
}
}

@ -1,11 +1,17 @@
using System;
using Model;
namespace WebApiLol.Converter
{
public class ControllerConverter
public static class RuneConverter
{
public ControllerConverter()
{
}
}
public static RuneDTO toDTO(this Rune rune) => new RuneDTO()
{
Name = rune.Name,
Description = rune.Description,
};
public static Rune toModel(this RuneDTO rune) => new Rune(rune.Name, rune.Description);
}
}

@ -1,11 +1,17 @@
using System;
using Model;
namespace WebApiLol.Converter
{
public class ControllerConverter
public static class SkillsConverter
{
public ControllerConverter()
{
}
}
public static SkillDTO toDTO(this Skill skill) => new SkillDTO()
{
Name = skill.Name,
Description = skill.Description,
};
public static Skill toModel(this SkillDTO skill) => new Skill(skill.Name, skill.Description);
}
}

@ -1,11 +1,18 @@
using System;
using Model;
namespace WebApiLol.Converter
{
public class ControllerConverter
public static class SkinConverter
{
public ControllerConverter()
{
}
}
public static SkinDTO toDTO(this Skin skin) => new SkinDTO()
{
Name = skin.Name,
Description = skin.Description,
};
public static Skin toModel(this SkinDTO skin) => new Skin(skin.Name, skin.Description);
}
}

@ -1,7 +1,7 @@
using System;
namespace WebApiLol
{
public class SkillsDTO
public class SkillDTO
{
public string Name { get; set; }
public string Description { get; set; }

@ -15,4 +15,18 @@
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
</ItemGroup>
<ItemGroup>
<None Remove="Converter\" />
</ItemGroup>
<ItemGroup>
<Folder Include="Converter\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Model\Model.csproj">
<GlobalPropertiesToRemove></GlobalPropertiesToRemove>
</ProjectReference>
<ProjectReference Include="..\StubLib\StubLib.csproj">
<GlobalPropertiesToRemove></GlobalPropertiesToRemove>
</ProjectReference>
</ItemGroup>
</Project>

@ -9,7 +9,9 @@
"WebApiLol/1.0.0": {
"dependencies": {
"Microsoft.AspNetCore.OpenApi": "7.0.2",
"Swashbuckle.AspNetCore": "6.4.0"
"Model": "1.0.0",
"StubLib": "1.0.0",
"Swashbuckle.AspNetCore": "6.5.0"
},
"runtime": {
"WebApiLol.dll": {}
@ -35,43 +37,64 @@
}
}
},
"Swashbuckle.AspNetCore/6.4.0": {
"Swashbuckle.AspNetCore/6.5.0": {
"dependencies": {
"Microsoft.Extensions.ApiDescription.Server": "6.0.5",
"Swashbuckle.AspNetCore.Swagger": "6.4.0",
"Swashbuckle.AspNetCore.SwaggerGen": "6.4.0",
"Swashbuckle.AspNetCore.SwaggerUI": "6.4.0"
"Swashbuckle.AspNetCore.Swagger": "6.5.0",
"Swashbuckle.AspNetCore.SwaggerGen": "6.5.0",
"Swashbuckle.AspNetCore.SwaggerUI": "6.5.0"
}
},
"Swashbuckle.AspNetCore.Swagger/6.4.0": {
"Swashbuckle.AspNetCore.Swagger/6.5.0": {
"dependencies": {
"Microsoft.OpenApi": "1.4.3"
},
"runtime": {
"lib/net6.0/Swashbuckle.AspNetCore.Swagger.dll": {
"assemblyVersion": "6.4.0.0",
"fileVersion": "6.4.0.0"
"lib/net7.0/Swashbuckle.AspNetCore.Swagger.dll": {
"assemblyVersion": "6.5.0.0",
"fileVersion": "6.5.0.0"
}
}
},
"Swashbuckle.AspNetCore.SwaggerGen/6.4.0": {
"Swashbuckle.AspNetCore.SwaggerGen/6.5.0": {
"dependencies": {
"Swashbuckle.AspNetCore.Swagger": "6.4.0"
"Swashbuckle.AspNetCore.Swagger": "6.5.0"
},
"runtime": {
"lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll": {
"assemblyVersion": "6.4.0.0",
"fileVersion": "6.4.0.0"
"lib/net7.0/Swashbuckle.AspNetCore.SwaggerGen.dll": {
"assemblyVersion": "6.5.0.0",
"fileVersion": "6.5.0.0"
}
}
},
"Swashbuckle.AspNetCore.SwaggerUI/6.4.0": {
"Swashbuckle.AspNetCore.SwaggerUI/6.5.0": {
"runtime": {
"lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll": {
"assemblyVersion": "6.4.0.0",
"fileVersion": "6.4.0.0"
"lib/net7.0/Swashbuckle.AspNetCore.SwaggerUI.dll": {
"assemblyVersion": "6.5.0.0",
"fileVersion": "6.5.0.0"
}
}
},
"Model/1.0.0": {
"dependencies": {
"Shared": "1.0.0"
},
"runtime": {
"Model.dll": {}
}
},
"Shared/1.0.0": {
"runtime": {
"Shared.dll": {}
}
},
"StubLib/1.0.0": {
"dependencies": {
"Model": "1.0.0"
},
"runtime": {
"StubLib.dll": {}
}
}
}
},
@ -102,33 +125,48 @@
"path": "microsoft.openapi/1.4.3",
"hashPath": "microsoft.openapi.1.4.3.nupkg.sha512"
},
"Swashbuckle.AspNetCore/6.4.0": {
"Swashbuckle.AspNetCore/6.5.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-eUBr4TW0up6oKDA5Xwkul289uqSMgY0xGN4pnbOIBqCcN9VKGGaPvHX3vWaG/hvocfGDP+MGzMA0bBBKz2fkmQ==",
"path": "swashbuckle.aspnetcore/6.4.0",
"hashPath": "swashbuckle.aspnetcore.6.4.0.nupkg.sha512"
"sha512": "sha512-FK05XokgjgwlCI6wCT+D4/abtQkL1X1/B9Oas6uIwHFmYrIO9WUD5aLC9IzMs9GnHfUXOtXZ2S43gN1mhs5+aA==",
"path": "swashbuckle.aspnetcore/6.5.0",
"hashPath": "swashbuckle.aspnetcore.6.5.0.nupkg.sha512"
},
"Swashbuckle.AspNetCore.Swagger/6.4.0": {
"Swashbuckle.AspNetCore.Swagger/6.5.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-nl4SBgGM+cmthUcpwO/w1lUjevdDHAqRvfUoe4Xp/Uvuzt9mzGUwyFCqa3ODBAcZYBiFoKvrYwz0rabslJvSmQ==",
"path": "swashbuckle.aspnetcore.swagger/6.4.0",
"hashPath": "swashbuckle.aspnetcore.swagger.6.4.0.nupkg.sha512"
"sha512": "sha512-XWmCmqyFmoItXKFsQSwQbEAsjDKcxlNf1l+/Ki42hcb6LjKL8m5Db69OTvz5vLonMSRntYO1XLqz0OP+n3vKnA==",
"path": "swashbuckle.aspnetcore.swagger/6.5.0",
"hashPath": "swashbuckle.aspnetcore.swagger.6.5.0.nupkg.sha512"
},
"Swashbuckle.AspNetCore.SwaggerGen/6.4.0": {
"Swashbuckle.AspNetCore.SwaggerGen/6.5.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-lXhcUBVqKrPFAQF7e/ZeDfb5PMgE8n5t6L5B6/BQSpiwxgHzmBcx8Msu42zLYFTvR5PIqE9Q9lZvSQAcwCxJjw==",
"path": "swashbuckle.aspnetcore.swaggergen/6.4.0",
"hashPath": "swashbuckle.aspnetcore.swaggergen.6.4.0.nupkg.sha512"
"sha512": "sha512-Y/qW8Qdg9OEs7V013tt+94OdPxbRdbhcEbw4NiwGvf4YBcfhL/y7qp/Mjv/cENsQ2L3NqJ2AOu94weBy/h4KvA==",
"path": "swashbuckle.aspnetcore.swaggergen/6.5.0",
"hashPath": "swashbuckle.aspnetcore.swaggergen.6.5.0.nupkg.sha512"
},
"Swashbuckle.AspNetCore.SwaggerUI/6.4.0": {
"Swashbuckle.AspNetCore.SwaggerUI/6.5.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-1Hh3atb3pi8c+v7n4/3N80Jj8RvLOXgWxzix6w3OZhB7zBGRwsy7FWr4e3hwgPweSBpwfElqj4V4nkjYabH9nQ==",
"path": "swashbuckle.aspnetcore.swaggerui/6.4.0",
"hashPath": "swashbuckle.aspnetcore.swaggerui.6.4.0.nupkg.sha512"
"sha512": "sha512-OvbvxX+wL8skxTBttcBsVxdh73Fag4xwqEU2edh4JMn7Ws/xJHnY/JB1e9RoCb6XpDxUF3hD9A0Z1lEUx40Pfw==",
"path": "swashbuckle.aspnetcore.swaggerui/6.5.0",
"hashPath": "swashbuckle.aspnetcore.swaggerui.6.5.0.nupkg.sha512"
},
"Model/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Shared/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"StubLib/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

@ -1 +1 @@
62c0d041f6ce481c73fab24fa6813b1600fddc33
6863fb058c3fd738ec48e261a9cf8bdc787597b2

@ -31,3 +31,9 @@
/Users/malanone/Projects/EfCore_LoL_S4/WebApiLol/obj/Debug/net7.0/WebApiLol.pdb
/Users/malanone/Projects/EfCore_LoL_S4/WebApiLol/obj/Debug/net7.0/WebApiLol.genruntimeconfig.cache
/Users/malanone/Projects/EfCore_LoL_S4/WebApiLol/obj/Debug/net7.0/ref/WebApiLol.dll
/Users/malanone/Projects/EfCore_LoL_S4/WebApiLol/bin/Debug/net7.0/Model.dll
/Users/malanone/Projects/EfCore_LoL_S4/WebApiLol/bin/Debug/net7.0/Shared.dll
/Users/malanone/Projects/EfCore_LoL_S4/WebApiLol/bin/Debug/net7.0/StubLib.dll
/Users/malanone/Projects/EfCore_LoL_S4/WebApiLol/bin/Debug/net7.0/Model.pdb
/Users/malanone/Projects/EfCore_LoL_S4/WebApiLol/bin/Debug/net7.0/StubLib.pdb
/Users/malanone/Projects/EfCore_LoL_S4/WebApiLol/bin/Debug/net7.0/Shared.pdb

@ -4,6 +4,176 @@
"/Users/malanone/Projects/EfCore_LoL_S4/WebApiLol/WebApiLol.csproj": {}
},
"projects": {
"/Users/malanone/Projects/EfCore_LoL_S4/Model/Model.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/Users/malanone/Projects/EfCore_LoL_S4/Model/Model.csproj",
"projectName": "Model",
"projectPath": "/Users/malanone/Projects/EfCore_LoL_S4/Model/Model.csproj",
"packagesPath": "/Users/malanone/.nuget/packages/",
"outputPath": "/Users/malanone/Projects/EfCore_LoL_S4/Model/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/Users/malanone/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net7.0"
],
"sources": {
"/usr/local/share/dotnet/library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"projectReferences": {
"/Users/malanone/Projects/EfCore_LoL_S4/Shared/Shared.csproj": {
"projectPath": "/Users/malanone/Projects/EfCore_LoL_S4/Shared/Shared.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/7.0.102/RuntimeIdentifierGraph.json"
}
}
},
"/Users/malanone/Projects/EfCore_LoL_S4/Shared/Shared.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/Users/malanone/Projects/EfCore_LoL_S4/Shared/Shared.csproj",
"projectName": "Shared",
"projectPath": "/Users/malanone/Projects/EfCore_LoL_S4/Shared/Shared.csproj",
"packagesPath": "/Users/malanone/.nuget/packages/",
"outputPath": "/Users/malanone/Projects/EfCore_LoL_S4/Shared/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/Users/malanone/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net6.0"
],
"sources": {
"/usr/local/share/dotnet/library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/7.0.102/RuntimeIdentifierGraph.json"
}
}
},
"/Users/malanone/Projects/EfCore_LoL_S4/StubLib/StubLib.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/Users/malanone/Projects/EfCore_LoL_S4/StubLib/StubLib.csproj",
"projectName": "StubLib",
"projectPath": "/Users/malanone/Projects/EfCore_LoL_S4/StubLib/StubLib.csproj",
"packagesPath": "/Users/malanone/.nuget/packages/",
"outputPath": "/Users/malanone/Projects/EfCore_LoL_S4/StubLib/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/Users/malanone/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net7.0"
],
"sources": {
"/usr/local/share/dotnet/library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"projectReferences": {
"/Users/malanone/Projects/EfCore_LoL_S4/Model/Model.csproj": {
"projectPath": "/Users/malanone/Projects/EfCore_LoL_S4/Model/Model.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/7.0.102/RuntimeIdentifierGraph.json"
}
}
},
"/Users/malanone/Projects/EfCore_LoL_S4/WebApiLol/WebApiLol.csproj": {
"version": "1.0.0",
"restore": {
@ -26,7 +196,14 @@
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"projectReferences": {}
"projectReferences": {
"/Users/malanone/Projects/EfCore_LoL_S4/Model/Model.csproj": {
"projectPath": "/Users/malanone/Projects/EfCore_LoL_S4/Model/Model.csproj"
},
"/Users/malanone/Projects/EfCore_LoL_S4/StubLib/StubLib.csproj": {
"projectPath": "/Users/malanone/Projects/EfCore_LoL_S4/StubLib/StubLib.csproj"
}
}
}
},
"warningProperties": {

@ -107,6 +107,42 @@
"frameworkReferences": [
"Microsoft.AspNetCore.App"
]
},
"Model/1.0.0": {
"type": "project",
"framework": ".NETCoreApp,Version=v7.0",
"dependencies": {
"Shared": "1.0.0"
},
"compile": {
"bin/placeholder/Model.dll": {}
},
"runtime": {
"bin/placeholder/Model.dll": {}
}
},
"Shared/1.0.0": {
"type": "project",
"framework": ".NETCoreApp,Version=v6.0",
"compile": {
"bin/placeholder/Shared.dll": {}
},
"runtime": {
"bin/placeholder/Shared.dll": {}
}
},
"StubLib/1.0.0": {
"type": "project",
"framework": ".NETCoreApp,Version=v7.0",
"dependencies": {
"Model": "1.0.0"
},
"compile": {
"bin/placeholder/StubLib.dll": {}
},
"runtime": {
"bin/placeholder/StubLib.dll": {}
}
}
}
},
@ -460,11 +496,28 @@
"swashbuckle.aspnetcore.swaggerui.6.5.0.nupkg.sha512",
"swashbuckle.aspnetcore.swaggerui.nuspec"
]
},
"Model/1.0.0": {
"type": "project",
"path": "../Model/Model.csproj",
"msbuildProject": "../Model/Model.csproj"
},
"Shared/1.0.0": {
"type": "project",
"path": "../Shared/Shared.csproj",
"msbuildProject": "../Shared/Shared.csproj"
},
"StubLib/1.0.0": {
"type": "project",
"path": "../StubLib/StubLib.csproj",
"msbuildProject": "../StubLib/StubLib.csproj"
}
},
"projectFileDependencyGroups": {
"net7.0": [
"Microsoft.AspNetCore.OpenApi >= 7.0.2",
"Model >= 1.0.0",
"StubLib >= 1.0.0",
"Swashbuckle.AspNetCore >= 6.5.0"
]
},
@ -493,7 +546,14 @@
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"projectReferences": {}
"projectReferences": {
"/Users/malanone/Projects/EfCore_LoL_S4/Model/Model.csproj": {
"projectPath": "/Users/malanone/Projects/EfCore_LoL_S4/Model/Model.csproj"
},
"/Users/malanone/Projects/EfCore_LoL_S4/StubLib/StubLib.csproj": {
"projectPath": "/Users/malanone/Projects/EfCore_LoL_S4/StubLib/StubLib.csproj"
}
}
}
},
"warningProperties": {

@ -1,6 +1,6 @@
{
"version": 2,
"dgSpecHash": "234p3lHZLWkVXsJGziL1cfhQYAnBFvf7q+/7pcv+ospjNtTcqddBmZxioZR+PmiGsfeAjBk2zcvekrLhS5D5bQ==",
"dgSpecHash": "/k4vUbLup+eI92GPA3U0v1Evq4A5arRNBcpDpogUI6M5a2SxjKXJ0ATrS1emIpOTSUTDGtcyv+hFxSV9gZvmGQ==",
"success": true,
"projectFilePath": "/Users/malanone/Projects/EfCore_LoL_S4/WebApiLol/WebApiLol.csproj",
"expectedPackageFiles": [

Loading…
Cancel
Save