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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ partial void ProcessGetUserActivityResponseContent(
pathTemplate: "\"/activity\"",
httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: null,
exception: null,
clientOptions: Options,
Expand Down Expand Up @@ -228,7 +228,7 @@ partial void ProcessGetUserActivityResponseContent(
pathTemplate: "\"/activity\"",
httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: null,
exception: __exception,
clientOptions: Options,
Expand Down Expand Up @@ -269,7 +269,7 @@ partial void ProcessGetUserActivityResponseContent(
pathTemplate: "\"/activity\"",
httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: __response,
exception: null,
clientOptions: Options,
Expand Down Expand Up @@ -317,7 +317,7 @@ partial void ProcessGetUserActivityResponseContent(
pathTemplate: "\"/activity\"",
httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: __response,
exception: null,
clientOptions: Options,
Expand All @@ -339,7 +339,7 @@ partial void ProcessGetUserActivityResponseContent(
pathTemplate: "\"/activity\"",
httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: __response,
exception: null,
clientOptions: Options,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ partial void ProcessCreateMessagesResponseContent(
pathTemplate: "\"/messages\"",
httpMethod: "POST",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: null,
exception: null,
clientOptions: Options,
Expand Down Expand Up @@ -235,7 +235,7 @@ partial void ProcessCreateMessagesResponseContent(
pathTemplate: "\"/messages\"",
httpMethod: "POST",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: null,
exception: __exception,
clientOptions: Options,
Expand Down Expand Up @@ -276,7 +276,7 @@ partial void ProcessCreateMessagesResponseContent(
pathTemplate: "\"/messages\"",
httpMethod: "POST",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: __response,
exception: null,
clientOptions: Options,
Expand Down Expand Up @@ -324,7 +324,7 @@ partial void ProcessCreateMessagesResponseContent(
pathTemplate: "\"/messages\"",
httpMethod: "POST",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: __response,
exception: null,
clientOptions: Options,
Expand All @@ -346,7 +346,7 @@ partial void ProcessCreateMessagesResponseContent(
pathTemplate: "\"/messages\"",
httpMethod: "POST",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: __response,
exception: null,
clientOptions: Options,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ partial void ProcessCreateKeysResponseContent(
pathTemplate: "\"/keys\"",
httpMethod: "POST",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: null,
exception: null,
clientOptions: Options,
Expand Down Expand Up @@ -216,7 +216,7 @@ partial void ProcessCreateKeysResponseContent(
pathTemplate: "\"/keys\"",
httpMethod: "POST",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: null,
exception: __exception,
clientOptions: Options,
Expand Down Expand Up @@ -257,7 +257,7 @@ partial void ProcessCreateKeysResponseContent(
pathTemplate: "\"/keys\"",
httpMethod: "POST",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: __response,
exception: null,
clientOptions: Options,
Expand Down Expand Up @@ -305,7 +305,7 @@ partial void ProcessCreateKeysResponseContent(
pathTemplate: "\"/keys\"",
httpMethod: "POST",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: __response,
exception: null,
clientOptions: Options,
Expand All @@ -327,7 +327,7 @@ partial void ProcessCreateKeysResponseContent(
pathTemplate: "\"/keys\"",
httpMethod: "POST",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: __response,
exception: null,
clientOptions: Options,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ partial void ProcessDeleteKeysResponseContent(
PrepareDeleteKeysRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
hash: hash!);
hash: hash);

global::OpenRouter.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest);

Expand All @@ -171,7 +171,7 @@ partial void ProcessDeleteKeysResponseContent(
pathTemplate: "$\"/keys/{hash}\"",
httpMethod: "DELETE",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: null,
exception: null,
clientOptions: Options,
Expand Down Expand Up @@ -205,7 +205,7 @@ partial void ProcessDeleteKeysResponseContent(
pathTemplate: "$\"/keys/{hash}\"",
httpMethod: "DELETE",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: null,
exception: __exception,
clientOptions: Options,
Expand Down Expand Up @@ -246,7 +246,7 @@ partial void ProcessDeleteKeysResponseContent(
pathTemplate: "$\"/keys/{hash}\"",
httpMethod: "DELETE",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: __response,
exception: null,
clientOptions: Options,
Expand Down Expand Up @@ -294,7 +294,7 @@ partial void ProcessDeleteKeysResponseContent(
pathTemplate: "$\"/keys/{hash}\"",
httpMethod: "DELETE",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: __response,
exception: null,
clientOptions: Options,
Expand All @@ -316,7 +316,7 @@ partial void ProcessDeleteKeysResponseContent(
pathTemplate: "$\"/keys/{hash}\"",
httpMethod: "DELETE",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: __response,
exception: null,
clientOptions: Options,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ partial void ProcessGetCurrentKeyResponseContent(
pathTemplate: "\"/key\"",
httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: null,
exception: null,
clientOptions: Options,
Expand Down Expand Up @@ -196,7 +196,7 @@ partial void ProcessGetCurrentKeyResponseContent(
pathTemplate: "\"/key\"",
httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: null,
exception: __exception,
clientOptions: Options,
Expand Down Expand Up @@ -237,7 +237,7 @@ partial void ProcessGetCurrentKeyResponseContent(
pathTemplate: "\"/key\"",
httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: __response,
exception: null,
clientOptions: Options,
Expand Down Expand Up @@ -285,7 +285,7 @@ partial void ProcessGetCurrentKeyResponseContent(
pathTemplate: "\"/key\"",
httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: __response,
exception: null,
clientOptions: Options,
Expand All @@ -307,7 +307,7 @@ partial void ProcessGetCurrentKeyResponseContent(
pathTemplate: "\"/key\"",
httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: __response,
exception: null,
clientOptions: Options,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ partial void ProcessGetKeyResponseContent(
PrepareGetKeyRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
hash: hash!);
hash: hash);

global::OpenRouter.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest);

Expand All @@ -171,7 +171,7 @@ partial void ProcessGetKeyResponseContent(
pathTemplate: "$\"/keys/{hash}\"",
httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: null,
exception: null,
clientOptions: Options,
Expand Down Expand Up @@ -205,7 +205,7 @@ partial void ProcessGetKeyResponseContent(
pathTemplate: "$\"/keys/{hash}\"",
httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: null,
exception: __exception,
clientOptions: Options,
Expand Down Expand Up @@ -246,7 +246,7 @@ partial void ProcessGetKeyResponseContent(
pathTemplate: "$\"/keys/{hash}\"",
httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: __response,
exception: null,
clientOptions: Options,
Expand Down Expand Up @@ -294,7 +294,7 @@ partial void ProcessGetKeyResponseContent(
pathTemplate: "$\"/keys/{hash}\"",
httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: __response,
exception: null,
clientOptions: Options,
Expand All @@ -316,7 +316,7 @@ partial void ProcessGetKeyResponseContent(
pathTemplate: "$\"/keys/{hash}\"",
httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
response: __response,
exception: null,
clientOptions: Options,
Expand Down
Loading
Loading