File tree Expand file tree Collapse file tree
modules/openapi-generator/src/main/resources/csharp/libraries/generichost Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,6 +33,11 @@ namespace {{packageName}}.{{clientPackage}}
3333 /// The raw content of this response.
3434 /// </summary >
3535 string RawContent { get; }
36+
37+ /// <summary >
38+ /// The raw binary stream (only set for binary responses)
39+ /// </summary >
40+ public System.IO.Stream? ContentStream { get; }
3641
3742 /// <summary >
3843 /// The DateTime when the request was retrieved.
@@ -81,6 +86,11 @@ namespace {{packageName}}.{{clientPackage}}
8186 /// </summary >
8287 public string RawContent { get; protected set; }
8388
89+ /// <summary >
90+ /// The raw binary stream (only set for binary responses)
91+ /// </summary >
92+ public System.IO.Stream? ContentStream { get; protected set; }
93+
8494 /// <summary >
8595 /// The IsSuccessStatusCode from the api response
8696 /// </summary >
You can’t perform that action at this time.
0 commit comments