Skip to content

Commit

Permalink
Update sample to 1.1.0 analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
ardalis committed Aug 10, 2020
1 parent ae5e7fc commit 610d335
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions sample/SampleEndpointApp/AuthorEndpoints/Update.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using Microsoft.AspNetCore.Mvc;
using SampleEndpointApp.DomainModel;
using System.Threading.Tasks;

using Swashbuckle.AspNetCore.Annotations;
using System.Threading;

Expand All @@ -22,7 +21,6 @@ public Update(IAsyncRepository<Author> repository,
}

[HttpPut("/authors")]

[SwaggerOperation(
Summary = "Updates an existing Author",
Description = "Updates an existing Author",
Expand All @@ -39,4 +37,4 @@ public override async Task<ActionResult<UpdatedAuthorResult>> HandleAsync([FromB
return Ok(result);
}
}
}
}
2 changes: 1 addition & 1 deletion sample/SampleEndpointApp/SampleEndpointApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Ardalis.ApiEndpoints.CodeAnalyzers" Version="1.0.6" />
<PackageReference Include="Ardalis.ApiEndpoints.CodeAnalyzers" Version="1.1.0" />
<PackageReference Include="Ardalis.EFCore.Extensions" Version="1.1.0" />
<PackageReference Include="AutoMapper" Version="10.0.0" />
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="8.0.1" />
Expand Down

0 comments on commit 610d335

Please sign in to comment.