Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to Fix JS SDK Generation for RLC #3495

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
2 changes: 1 addition & 1 deletion specification/cognitiveservices/ContentSafety/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ using TypeSpec.Versioning;
using Azure.Core;

@service({
title: "ContentSafety Service",
title: "ContentSafety Service ...",
})
@versioned(ContentSafety.Versions)
@useAuth(
Expand Down
6 changes: 6 additions & 0 deletions specification/cognitiveservices/ContentSafety/tspconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@ options:
model-namespace: false
flavor: azure
"@azure-tools/typespec-ts":
# reference: https://github.com/Azure/autorest.typescript/blob/main/packages/typespec-test/test/loadTest/tspconfig.yaml
package-dir: "ai-content-safety-rest"
generateMetadata: true
generateSample: true
generateTest: true
azureSdkForJs: true
emitter-output-dir: "{project-root}/sdk/openai/ai-content-safety-rest"
packageDetails:
name: "@azure-rest/ai-content-safety"
version: "1.0.0"
Expand Down
9 changes: 6 additions & 3 deletions specificationRepositoryConfiguration.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"sdkRepositoryMappings": {
"azure-sdk-for-go": {
"integrationRepository": "azure-sdk/azure-sdk-for-go",
"mainRepository": "Azure/azure-sdk-for-go",
"mainRepository": "Alancere/azure-sdk-for-go",
"mainBranch": "fix_generator_tool_0807",
"configFilePath": "eng/swagger_to_sdk_config.json"
},
"azure-sdk-for-java": {
Expand All @@ -14,7 +15,8 @@
},
"azure-sdk-for-js": {
"integrationRepository": "azure-sdk/azure-sdk-for-js",
"mainRepository": "Azure/azure-sdk-for-js"
"mainRepository": "test-repo-billy/azure-sdk-for-js",
"mainBranch": "test_repo_breaking_change_mlc"
},
"azure-sdk-for-net": {
"integrationRepository": "azure-sdk/azure-sdk-for-net",
Expand All @@ -27,7 +29,8 @@
},
"azure-sdk-for-python": {
"integrationRepository": "azure-sdk/azure-sdk-for-python",
"mainRepository": "Azure/azure-sdk-for-python"
"mainRepository": "Azure/azure-sdk-for-python",
"mainBranch": "pipeline-optimize-for-multi-input"
},
"azure-resource-manager-schemas": {
"integrationRepository": "azure-sdk/azure-resource-manager-schemas",
Expand Down