File tree 3 files changed +7
-7
lines changed
Skyline.DataMiner.CICD.Tools.GitHubToCatalogYaml
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -106,11 +106,11 @@ private async Task CheckId(CatalogYaml catalogYaml)
106
106
private async Task CheckShortDescription ( CatalogYaml catalogYaml )
107
107
{
108
108
logger . LogDebug ( "Checking if Short_description exists, otherwise retrieve the GitHub repository description..." ) ;
109
- if ( String . IsNullOrWhiteSpace ( catalogYaml . Short_description ) )
109
+ if ( String . IsNullOrWhiteSpace ( catalogYaml . ShortDescription ) )
110
110
{
111
111
var description = await service . GetRepositoryDescriptionAsync ( ) ?? "No description available" ;
112
112
113
- catalogYaml . Short_description = description ;
113
+ catalogYaml . ShortDescription = description ;
114
114
logger . LogDebug ( $ "Description applied: { description } ") ;
115
115
}
116
116
}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public CatalogYaml()
20
20
/// Gets or sets the URL to the documentation related to the catalog entry.
21
21
/// </summary>
22
22
/// <value>A string representing the documentation URL.</value>
23
- public string Documentation_url { get ; set ; }
23
+ public string DocumentationUrl { get ; set ; }
24
24
25
25
/// <summary>
26
26
/// Gets or sets the unique identifier for the catalog entry.
@@ -38,13 +38,13 @@ public CatalogYaml()
38
38
/// Gets or sets the short description of the catalog entry.
39
39
/// </summary>
40
40
/// <value>A string representing the short description of the entry.</value>
41
- public string Short_description { get ; set ; }
41
+ public string ShortDescription { get ; set ; }
42
42
43
43
/// <summary>
44
44
/// Gets or sets the URL to the source code related to the catalog entry.
45
45
/// </summary>
46
46
/// <value>A string representing the source code URL.</value>
47
- public string Source_code_url { get ; set ; }
47
+ public string SourceCodeUrl { get ; set ; }
48
48
49
49
/// <summary>
50
50
/// Gets or sets the tags associated with the catalog entry.
Original file line number Diff line number Diff line change @@ -55,13 +55,13 @@ public CleanTitle(string githubRepoName)
55
55
}
56
56
57
57
/// <summary>
58
- /// Gets or sets the inferred item type from the repository name, if available.
58
+ /// Gets the inferred item type from the repository name, if available.
59
59
/// This value is determined based on a mapping of known artifact types in the repository name.
60
60
/// </summary>
61
61
public string FoundItemType { get ; }
62
62
63
63
/// <summary>
64
- /// Gets or sets the cleaned-up version of the repository name.
64
+ /// Gets the cleaned-up version of the repository name.
65
65
/// The name is formatted by removing underscores and any owner prefixes, and applying specific guidelines if the name follows the expected format.
66
66
/// </summary>
67
67
public string Value { get ; }
You can’t perform that action at this time.
0 commit comments