@@ -6,8 +6,8 @@ internal class Program
66{
77 public static string openApiInfoFile = "openApiInfo.json" ;
88 public static string openApiFileError = "openAPIErrors.csv" ;
9- private const string openApiInfoMetadataUrl_v1 = "https://raw.githubusercontent.com/microsoftgraph/msgraph-sdk-powershell/metadata-changes-detection/openApiDocs/ v1.0/OpenApiInfo /openApiInfo.json" ;
10- private const string openApiInfoMetadataUrl_beta = "https://raw.githubusercontent.com/microsoftgraph/msgraph-sdk-powershell/metadata-changes-detection/openApiDocs/beta/ OpenApiInfo/openApiInfo.json" ;
9+ private const string openApiInfoMetadataUrl_v1 = "https://raw.githubusercontent.com/microsoftgraph/msgraph-sdk-powershell/metadata-changes-detection/docs/OpenApiInfo/ v1.0/openApiInfo.json" ;
10+ private const string openApiInfoMetadataUrl_beta = "https://raw.githubusercontent.com/microsoftgraph/msgraph-sdk-powershell/metadata-changes-detection/docs/ OpenApiInfo/beta /openApiInfo.json" ;
1111 private static IList < Model > openApiInfo_v1 = new OriginalMetadata ( openApiInfoMetadataUrl_v1 ) . GetOpenApiInfo ( ) ;
1212 private static IList < Model > openApiInfo_beta = new OriginalMetadata ( openApiInfoMetadataUrl_beta ) . GetOpenApiInfo ( ) ;
1313 private static IDictionary < string , IList < Model > > openApiVersions = new Dictionary < string , IList < Model > > ( ) ;
@@ -30,9 +30,10 @@ private static void CompareOpenApiInfo(string version, IList<Model> openApiInfoM
3030 var openApiErrors = new HashSet < string > ( ) ;
3131 newPathsAdded . Add ( "Module,Path,Method" ) ;
3232 openApiErrors . Add ( "Module,ApiPath,Method,From,To" ) ;
33- var filePath = FileHandler . GetOpenApiFolder ( ) ;
34- var combinedPath = filePath != null ? Path . Combine ( filePath , version ) : null ;
35- var openAPiInfoPath = combinedPath != null ? Path . Combine ( combinedPath , "OpenAPiInfo" ) : null ;
33+ var filePath = FileHandler . GetDocsFolder ( ) ;
34+ Console . WriteLine ( filePath ) ;
35+ var combinedPath = filePath != null ? Path . Combine ( filePath , "openApiInfo" ) : null ;
36+ var openAPiInfoPath = combinedPath != null ? Path . Combine ( combinedPath , version ) : null ;
3637 var combinedErrorPath = openAPiInfoPath != null ? Path . Combine ( openAPiInfoPath , openApiFileError ) : null ;
3738 if ( combinedErrorPath != null && File . Exists ( combinedErrorPath ) )
3839 {
0 commit comments