Skip to content

Commit c516b5b

Browse files
Ticket #311 : Returns 400 in .search operation
1 parent e2aab90 commit c516b5b

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

samples/UseSCIMSwagger/src/ScimHost/ScimHost.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="5.0.0" />
1010
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="5.0.3" />
1111
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="5.0.3" />
12-
<PackageReference Include="SimpleIdServer.Scim" Version="2.0.8" />
13-
<PackageReference Include="SimpleIdServer.Scim.Swashbuckle" Version="2.0.8" />
12+
<PackageReference Include="SimpleIdServer.Scim" Version="2.0.17" />
13+
<PackageReference Include="SimpleIdServer.Scim.Swashbuckle" Version="2.0.17" />
1414
<PackageReference Include="Swashbuckle.AspNetCore" Version="5.5.0" />
1515
</ItemGroup>
1616
<ItemGroup>

src/Scim/SimpleIdServer.Scim/Api/BaseApiController.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,12 @@ public virtual Task<IActionResult> Get([FromQuery] SearchSCIMResourceParameter s
8989
/// </summary>
9090
/// <param name="searchRequest"></param>
9191
/// <response code="200">Valid representations are found</response>
92+
/// <response code="400">Request is not valid</response>
9293
/// <response code="401">Unauthorized</response>
9394
/// <response code="404">Valid representations are not found</response>
9495
/// <returns></returns>
9596
[ProducesResponseType(200)]
97+
[ProducesResponseType(400)]
9698
[ProducesResponseType(401)]
9799
[ProducesResponseType(404)]
98100
[HttpPost(".search")]

0 commit comments

Comments
 (0)