mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-08 23:00:51 +02:00
Merge pull request #5243 from crobibero/wish-i-had-my-swagger-back
Bump Swashbuckle.AspNetCore to 6.0.5
This commit is contained in:
commit
1e2ce4e698
|
@ -17,7 +17,7 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Authorization" Version="5.0.3" />
|
<PackageReference Include="Microsoft.AspNetCore.Authorization" Version="5.0.3" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Http" Version="5.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Http" Version="5.0.0" />
|
||||||
<PackageReference Include="Swashbuckle.AspNetCore" Version="5.6.3" />
|
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.0.5" />
|
||||||
<PackageReference Include="Swashbuckle.AspNetCore.ReDoc" Version="6.0.5" />
|
<PackageReference Include="Swashbuckle.AspNetCore.ReDoc" Version="6.0.5" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|
|
@ -310,6 +310,7 @@ namespace Jellyfin.Server.Extensions
|
||||||
|
|
||||||
// Allow parameters to properly be nullable.
|
// Allow parameters to properly be nullable.
|
||||||
c.UseAllOfToExtendReferenceSchemas();
|
c.UseAllOfToExtendReferenceSchemas();
|
||||||
|
c.SupportNonNullableReferenceTypes();
|
||||||
|
|
||||||
// TODO - remove when all types are supported in System.Text.Json
|
// TODO - remove when all types are supported in System.Text.Json
|
||||||
c.AddSwaggerTypeMappings();
|
c.AddSwaggerTypeMappings();
|
||||||
|
|
Loading…
Reference in a new issue