Skip to content

Commit

Permalink
[Automation] Generate SDK based on TypeSpec 0.10.0 (Azure#37328)
Browse files Browse the repository at this point in the history
* update version

* add back import

* pick codegen change

---------

Co-authored-by: XiaofeiCao <[email protected]>
  • Loading branch information
azure-sdk and XiaofeiCao authored Oct 24, 2023
1 parent ed8e111 commit 23ea4a7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions eng/emitter-package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"main": "dist/src/index.js",
"dependencies": {
"@azure-tools/typespec-java": "0.9.0"
"@azure-tools/typespec-java": "0.10.0"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1688,7 +1688,8 @@ public PollerFlux<BinaryData, BinaryData> beginBeginAzureBatchImageGenerationAsy
.setContext(
requestOptions != null && requestOptions.getContext() != null
? requestOptions.getContext()
: Context.NONE)),
: Context.NONE)
.setServiceVersion(this.getServiceVersion().getVersion())),
TypeReference.createInstance(BinaryData.class),
TypeReference.createInstance(BinaryData.class));
}
Expand Down Expand Up @@ -1756,7 +1757,8 @@ public SyncPoller<BinaryData, BinaryData> beginBeginAzureBatchImageGeneration(
.setContext(
requestOptions != null && requestOptions.getContext() != null
? requestOptions.getContext()
: Context.NONE)),
: Context.NONE)
.setServiceVersion(this.getServiceVersion().getVersion())),
TypeReference.createInstance(BinaryData.class),
TypeReference.createInstance(BinaryData.class));
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

/** Package containing the data models for OpenAI. Azure OpenAI APIs for completions and search. */
package com.azure.ai.openai.models;
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

/** Package containing the classes for OpenAI. Azure OpenAI APIs for completions and search. */
package com.azure.ai.openai;

0 comments on commit 23ea4a7

Please sign in to comment.