Skip to content

Commit adf5946

Browse files
Merge pull request #82 from textkernel/mark-Job-Description-API-as-obsolete
market JobDescription API as obsolete
2 parents 50db81c + fbea86a commit adf5946

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/Textkernel.Tx.SDK/Services/ISkillsIntelligenceClient.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,15 +409,17 @@ Task<AutoCompleteSkillsResponse> AutocompleteSkill(string prefix, IEnumerable<st
409409
/// </summary>
410410
/// <param name="request">The request body</param>
411411
/// <exception cref="TxException">Thrown when an API error occurred</exception>
412+
[Obsolete("This feature is deprecated and will be discontinued on June 23, 2027.")]
412413
Task<GenerateJobResponse> GenerateJobDescription(GenerateJobRequest request);
413414

414415
/// <summary>
415-
/// Takes a job title and suggests relevant skills.
416+
/// Takes a job title and suggests relevant skills.
416417
/// </summary>
417418
/// <param name="jobTitle">The title of the job for which skills are being suggested.</param>
418419
/// <param name="language">Language of the suggested skills in ISO 639-1 code format.</param>
419420
/// <param name="limit">Maximum number of skills to suggest. If not specified this parameter defaults to 10. This value cannot exceed 50.</param>
420421
/// <exception cref="TxException">Thrown when an API error occurred</exception>
422+
[Obsolete("This feature is deprecated and will be discontinued on June 23, 2027.")]
421423
Task<SuggestSkillsFromJobTitleResponse> SuggestSkillsFromJobTitle(string jobTitle, string language = "en", int? limit = null);
422424

423425
#endregion

src/Textkernel.Tx.SDK/Services/SkillsIntelligenceClient.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,7 @@ public async Task<SkillsSimilarityScoreResponse> SkillsSimilarityScore(IEnumerab
381381
#region Job Description API
382382

383383
/// <inheritdoc />
384+
[Obsolete("This feature is deprecated and will be discontinued on June 23, 2027.")]
384385
public async Task<GenerateJobResponse> GenerateJobDescription(GenerateJobRequest request)
385386
{
386387
HttpRequestMessage apiRequest = ApiEndpoints.JobDescriptionGenerate();
@@ -390,6 +391,7 @@ public async Task<GenerateJobResponse> GenerateJobDescription(GenerateJobRequest
390391
}
391392

392393
/// <inheritdoc />
394+
[Obsolete("This feature is deprecated and will be discontinued on June 23, 2027.")]
393395
public async Task<SuggestSkillsFromJobTitleResponse> SuggestSkillsFromJobTitle(string jobTitle, string language = "en", int? limit = null)
394396
{
395397
HttpRequestMessage apiRequest = ApiEndpoints.JobDescriptionSuggestSkills();

src/Textkernel.Tx.SDK/Textkernel.Tx.SDK.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<Copyright>Copyright © $([System.DateTime]::UtcNow.Year) Textkernel BV. All rights reserved.</Copyright>
1111
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
1212
<PackageProjectUrl>https://github.com/textkernel/tx-dotnet</PackageProjectUrl>
13-
<Version>4.0.3</Version>
13+
<Version>4.0.4</Version>
1414
<PackageIcon>images\icon.png</PackageIcon>
1515
<PackageIconUrl>https://raw.githubusercontent.com/textkernel/tx-dotnet/master/src/Textkernel.Tx.SDK/icon.png</PackageIconUrl>
1616
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>

0 commit comments

Comments
 (0)