Skip to content

Commit

Permalink
Update to latest Kiota
Browse files Browse the repository at this point in the history
  • Loading branch information
crobibero committed Mar 2, 2024
1 parent 5a9524f commit beaee13
Show file tree
Hide file tree
Showing 22 changed files with 101 additions and 1,658 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"microsoft.openapi.kiota": {
"version": "1.11.1",
"version": "1.12.0-preview.202402290001",
"commands": [
"kiota"
]
Expand Down
7 changes: 5 additions & 2 deletions samples/Simple/SimpleService.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Jellyfin.Sdk;
using Jellyfin.Sdk.Generated;
using Jellyfin.Sdk.Generated.Models;

namespace Simple;
Expand Down Expand Up @@ -115,7 +114,11 @@ private async Task PrintViews(Guid userId)
Console.WriteLine("Printing Views:");
foreach (var view in views.Items)
{
Console.WriteLine($"{view.Id} - {view.Name}");
var requestInformation = _jellyfinApiClient.Items[view.Id.Value].Images[ImageType.Primary.ToString()]
.ToGetRequestInformation();
var uri = _jellyfinApiClient.BuildUri(requestInformation);

Console.WriteLine($"{view.Id} - {view.Name} - {uri.ToString()}");
}
}
catch (Exception ex)
Expand Down
38 changes: 0 additions & 38 deletions src/Jellyfin.Sdk/Generated/Albums/Item/AlbumsItemRequestBuilder.cs

This file was deleted.

This file was deleted.

82 changes: 0 additions & 82 deletions src/Jellyfin.Sdk/Generated/Genres/Item/GenresItemRequestBuilder.cs

This file was deleted.

Loading

0 comments on commit beaee13

Please sign in to comment.