Skip to content

Commit

Permalink
Merge pull request #2746 from microsoftgraph/metadata-entryfile
Browse files Browse the repository at this point in the history
Updates endpoint to metadata file for detecting changes
  • Loading branch information
Ndiritu authored May 20, 2024
2 parents f06dcb1 + 5bcd40d commit 59d7e37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/OpenApiInfoGenerator/OpenApiInfoGenerator/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ internal class Program
{
public static string openApiInfoFile = "openApiInfo.json";
public static string openApiFileError = "openAPIErrors.csv";
private const string openApiInfoMetadataUrl_v1 = "https://raw.githubusercontent.com/microsoftgraph/msgraph-sdk-powershell/metadata-changes-detection/docs/OpenApiInfo/v1.0/openApiInfo.json";
private const string openApiInfoMetadataUrl_beta = "https://raw.githubusercontent.com/microsoftgraph/msgraph-sdk-powershell/metadata-changes-detection/docs/OpenApiInfo/beta/openApiInfo.json";
private const string openApiInfoMetadataUrl_v1 = "https://raw.githubusercontent.com/microsoftgraph/msgraph-sdk-powershell/dev/docs/OpenApiInfo/v1.0/openApiInfo.json";
private const string openApiInfoMetadataUrl_beta = "https://raw.githubusercontent.com/microsoftgraph/msgraph-sdk-powershell/dev/docs/OpenApiInfo/beta/openApiInfo.json";
private static IList<Model> openApiInfo_v1 = new OriginalMetadata(openApiInfoMetadataUrl_v1).GetOpenApiInfo();
private static IList<Model> openApiInfo_beta = new OriginalMetadata(openApiInfoMetadataUrl_beta).GetOpenApiInfo();
private static IDictionary<string, IList<Model>> openApiVersions = new Dictionary<string, IList<Model>>();
Expand Down

0 comments on commit 59d7e37

Please sign in to comment.