Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public sealed partial class ProviderResponse
/// HTTP status code from the provider
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("status")]
public double? Status { get; set; }
public int? Status { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down Expand Up @@ -91,7 +91,7 @@ public ProviderResponse(
double? latency,
string? modelPermaslug,
global::OpenRouter.ProviderResponseProviderName? providerName,
double? status)
int? status)
{
this.EndpointId = endpointId;
this.Id = id;
Expand Down
3 changes: 1 addition & 2 deletions src/libs/OpenRouter/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20921,10 +20921,9 @@
},
"status": {
"type": [
"number",
"integer",
"null"
],
"format": "double",
"description": "HTTP status code from the provider"
}
},
Expand Down