Skip to content

Commit

Permalink
fix(specs): add a linter to assert that type is present (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4393

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Pierre Millot <[email protected]>
  • Loading branch information
algolia-bot and millotp committed Jan 27, 2025
1 parent 258402c commit aac561a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions algoliasearch/Models/Abtesting/ListABTestsResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public ListABTestsResponse() { }
/// <summary>
/// Initializes a new instance of the ListABTestsResponse class.
/// </summary>
/// <param name="abtests">A/B tests. (required).</param>
/// <param name="abtests">The list of A/B tests, null if no A/B tests are configured for this application. (required).</param>
/// <param name="count">Number of A/B tests. (required).</param>
/// <param name="total">Number of retrievable A/B tests. (required).</param>
public ListABTestsResponse(List<ABTest> abtests, int count, int total)
Expand All @@ -35,9 +35,9 @@ public ListABTestsResponse(List<ABTest> abtests, int count, int total)
}

/// <summary>
/// A/B tests.
/// The list of A/B tests, null if no A/B tests are configured for this application.
/// </summary>
/// <value>A/B tests.</value>
/// <value>The list of A/B tests, null if no A/B tests are configured for this application.</value>
[JsonPropertyName("abtests")]
public List<ABTest> Abtests { get; set; }

Expand Down
6 changes: 3 additions & 3 deletions algoliasearch/Models/Analytics/GetStatusResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ public GetStatusResponse() { }
/// <summary>
/// Initializes a new instance of the GetStatusResponse class.
/// </summary>
/// <param name="updatedAt">Date and time when the object was updated, in RFC 3339 format. (required).</param>
/// <param name="updatedAt">Date and time when the object was updated, in RFC 3339 format. (required).</param>
public GetStatusResponse(string updatedAt)
{
UpdatedAt = updatedAt ?? throw new ArgumentNullException(nameof(updatedAt));
}

/// <summary>
/// Date and time when the object was updated, in RFC 3339 format.
/// Date and time when the object was updated, in RFC 3339 format.
/// </summary>
/// <value>Date and time when the object was updated, in RFC 3339 format. </value>
/// <value>Date and time when the object was updated, in RFC 3339 format.</value>
[JsonPropertyName("updatedAt")]
public string UpdatedAt { get; set; }

Expand Down

0 comments on commit aac561a

Please sign in to comment.