diff --git a/Needlework.Net/Models/Resources.cs b/Needlework.Net/Models/Resources.cs deleted file mode 100644 index 521eea4..0000000 --- a/Needlework.Net/Models/Resources.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System.Net.Http; -using System.Threading.Tasks; -using Microsoft.OpenApi.Models; -using Microsoft.OpenApi.Readers; - -namespace Needlework.Net.Models; - -public static class Resources -{ - /// - /// Get the OpenApi document of the LCU schema. Provided by dysolix. - /// - /// - /// - public static async Task GetOpenApiDocumentAsync(HttpClient httpClient) - { - var stream = await httpClient.GetStreamAsync("https://raw.githubusercontent.com/dysolix/hasagi-types/main/swagger.json"); - - var document = new OpenApiStreamReader().Read(stream, out var _); - - return document; - } -}