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

Adding list library and custom library referred schema changed #12667

Merged
merged 4 commits into from
Feb 8, 2021

Conversation

navneet35
Copy link
Contributor

@navneet35 navneet35 commented Jan 27, 2021

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

Changelog

Please ensure to add changelog with this PR by answering the following questions.

  1. What's the purpose of the update?
    • new service onboarding
    • new API version
    • update existing version for new feature
    • update existing version to fix swagger quality issue in s360
    • Other, please clarify
  2. When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
  3. When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
  4. If it's an update to existing version, please select SDKs of specific language and CLIs that require refresh after swagger is published.
    • SDK of .NET (need service team to ensure code readiness)
    • SDK of Python
    • SDK of Java
    • SDK of Js
    • SDK of Go
    • PowerShell
    • CLI
    • Terraform
    • No, no need to refresh for updates in this PR

Contribution checklist:

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

  • Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

    • Adding new API(s)
    • Adding a new API version
    • Adding a new service
  • Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

  • If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist

If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

  • Removing API(s) in stable version
  • Removing properties in stable version
  • Removing API version(s) in stable version
  • Updating API in stable version with Breaking Change Validation errors
  • Updating API(s) in preview over 1 year

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.

Please follow the link to find more details on PR review process.

@openapi-workflow-bot
Copy link

Hi, @navneet35 Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. vsswagger@microsoft.com

    @ghost ghost added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Jan 27, 2021
    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jan 27, 2021

    Swagger Validation Report

    ️❌BreakingChange: 5 Errors, 0 Warnings failed [Detail]

    Rule Message
    1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'Component' removed or renamed?
    New: Microsoft.Synapse/preview/2019-06-01-preview/library.json#L519:3
    Old: Microsoft.Synapse/preview/2019-06-01-preview/library.json#L493:3
    1008 - ModifiedOperationId The operation id has been changed from 'Library_CreateOrAppend' to 'Library_Create'. This will impact generated code.
    New: Microsoft.Synapse/preview/2019-06-01-preview/library.json#L223:7
    Old: Microsoft.Synapse/preview/2019-06-01-preview/library.json#L223:7
    1012 - RemovedResponseCode The new version removes the response code '201'
    Old: Microsoft.Synapse/preview/2019-06-01-preview/library.json#L271:11
    1012 - RemovedResponseCode The new version removes the response code '412'
    Old: Microsoft.Synapse/preview/2019-06-01-preview/library.json#L280:11
    1038 - AddedPath The new version is adding a path that was not found in the old version.
    New: Microsoft.Synapse/preview/2019-06-01-preview/library.json#L264:5
    ️⚠️LintDiff: 1 Warnings warning [Detail]

    Rule Message
    ⚠️ R2064 - LROStatusCodesReturnTypeSchema 200/201 Responses of long running operations must have a schema definition for return type. OperationId: 'Library_Create', Response code: '200'
    Location: Microsoft.Synapse/preview/2019-06-01-preview/library.json#L244
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️[Staging] Cross Version BreakingChange (Base on preview version) succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️[Staging] Cross Version BreakingChange (Base on stable version) succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️❌[Staging] SDK Track2 Validation: 9 Errors, 374 Warnings failed [Detail] Only 10 items are listed, please refer to log for more details.

    Rule Message
    PreCheck/DuplicateSchema "readme":"synapse/resource-manager/readme.md",
    "tag":"package-2019-06-01-preview",
    "details":"Duplicate Schema named CloudError -- properties.error.$ref: undefined => "#/components/schemas/schemas:803" ; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    PreCheck/DuplicateSchema "readme":"synapse/resource-manager/readme.md",
    "tag":"package-2019-06-01-preview",
    "details":"Duplicate Schema named CloudErrorBody -- properties.details.$ref: undefined => "#/components/schemas/schemas:807" ; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    PreCheck/DuplicateSchema "readme":"synapse/resource-manager/readme.md",
    "tag":"package-2019-06-01-preview",
    "details":"Duplicate Schema named PrivateEndpointConnectionForPrivateLinkHubBasic -- properties.id.description: "identifier" =>,
    properties.id.readOnly: true =>,
    properties.id.$ref: undefined => "#/components/schemas/schemas:1097",
    properties.properties.description: "Properties of private endpoint connection for private link hub" =>,
    properties.properties.x-ms-client-flatten: true => ; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    AutorestCore/Exception "readme":"synapse/resource-manager/readme.md",
    "tag":"package-2019-06-01-preview",
    "details":"Error: Plugin prechecker reported failure."
    PreCheck/DuplicateSchema "readme":"synapse/resource-manager/readme.md",
    "tag":"package-2020-12-01",
    "details":"Duplicate Schema named PrivateEndpointConnectionForPrivateLinkHubBasic -- properties.id.description: "identifier" =>,
    properties.id.readOnly: true =>,
    properties.id.$ref: undefined => "#/components/schemas/schemas:1191",
    properties.properties.description: "Properties of private endpoint connection for private link hub" =>,
    properties.properties.x-ms-client-flatten: true => ; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    AutorestCore/Exception "readme":"synapse/resource-manager/readme.md",
    "tag":"package-2020-12-01",
    "details":"Error: Plugin prechecker reported failure."
    PreCheck/DuplicateSchema "readme":"synapse/data-plane/readme.md",
    "tag":"package-artifacts-2019-06-01-preview",
    "details":"Duplicate Schema named CloudError -- properties.error.$ref: undefined => "#/components/schemas/schemas:350" ; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    PreCheck/DuplicateSchema "readme":"synapse/data-plane/readme.md",
    "tag":"package-artifacts-2019-06-01-preview",
    "details":"Duplicate Schema named CloudErrorBody -- properties.details.$ref: undefined => "#/components/schemas/schemas:354" ; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    AutorestCore/Exception "readme":"synapse/data-plane/readme.md",
    "tag":"package-artifacts-2019-06-01-preview",
    "details":"Error: Plugin prechecker reported failure."
    ⚠️ PreCheck/SchemaMissingType "readme":"synapse/resource-manager/readme.md",
    "tag":"package-2019-06-01-preview",
    "details":"The schema 'MetadataSyncConfig-properties' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'"
    ️️✔️[Staging] PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️[Staging] SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    Posted by Swagger Pipeline | How to fix these errors?

    @ghost
    Copy link

    ghost commented Jan 27, 2021

    Thank you for your contribution navneet35! We will review the pull request and get back to you soon.

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jan 27, 2021

    Swagger Generation Artifacts

    ️⚠️ azure-sdk-for-python warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from eb03a12. SDK Automation 14.0.0
      command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
      cmderr	[automation_init.sh] Ignoring mock: markers 'python_version <= "2.7"' don't match your environment
      cmderr	[automation_init.sh]   Failed building wheel for ConfigArgParse
      cmderr	[automation_init.sh]   Failed building wheel for wrapt
      cmderr	[automation_init.sh]   Failed building wheel for yarl
      cmderr	[automation_init.sh]   Failed building wheel for multidict
      cmderr	[automation_init.sh] Command "python setup.py egg_info" failed with error code 1 in /home/vsts/work/1/s/azure-sdk-for-python_tmp/pip-build-ozq7zz_y/cryptography/
      cmderr	[automation_init.sh] Command '['/home/vsts/work/1/s/azure-sdk-for-python_tmp/venv-sdk/bin/python', '-m', 'pip', 'install', '--ignore-requires-python', '-e', 'tools/azure-sdk-tools']' returned non-zero exit status 1.
      warn		specification/synapse/data-plane/readme.md skipped due to azure-sdk-for-python not found in swagger-to-sdk
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
      cmdout	[automation_generate.sh] [Autorest]../azure-sdk-for-python_tmp/generateOutput.json does not exist!!!
      warn	File azure-sdk-for-python_tmp/generateOutput.json not found to read
      warn	No file changes detected after generation
      warn	No package detected after generation
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from eb03a12. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      warn		specification/synapse/data-plane/readme.md skipped due to azure-sdk-for-js not found in swagger-to-sdk
      command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.typescript@4.4.4 --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/synapse/resource-manager/readme.md
    • ️✔️@azure/arm-synapse [View full logs]  [Release SDK Changes]
      cmderr	[npmPack] loaded rollup.config.js with warnings
      cmderr	[npmPack] (!) Unused external imports
      cmderr	[npmPack] default imported from external module 'rollup' but never used
      cmderr	[npmPack] ./esm/synapseManagementClient.js → ./dist/arm-synapse.js...
      cmderr	[npmPack] created ./dist/arm-synapse.js in 1.1s
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from eb03a12. SDK Automation 14.0.0
      command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
      warn		specification/synapse/data-plane/readme.md skipped due to azure-sdk-for-java not found in swagger-to-sdk
      command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
      warn	No file changes detected after generation
      warn	No package detected after generation
    • ️✔️azure-resourcemanager-synapse [View full logs]  [Release SDK Changes]
      cmderr	[Inst] 2021-02-08 06:11:25 DEBUG Got artifact_id: azure-resourcemanager-synapse
      cmderr	[Inst] 2021-02-08 06:11:25 DEBUG Got artifact: pom.xml
      cmderr	[Inst] 2021-02-08 06:11:25 DEBUG Got artifact: azure-resourcemanager-synapse-1.0.0-beta.1-sources.jar
      cmderr	[Inst] 2021-02-08 06:11:25 DEBUG Got artifact: azure-resourcemanager-synapse-1.0.0-beta.1.jar
      cmderr	[Inst] 2021-02-08 06:11:25 DEBUG Match jar package: azure-resourcemanager-synapse-1.0.0-beta.1.jar
      cmderr	[Inst] 2021-02-08 06:11:25 DEBUG output: {"full": "```sh\ncurl -L \"https://portal.azure-devex-tools.com/api/sdk-dl-pub?p=Azure/12667/azure-sdk-for-java/azure-resourcemanager-synapse/azure-resourcemanager-synapse-1.0.0-beta.1.jar\" -o azure-resourcemanager-synapse-1.0.0-beta.1.jar\nmvn install:install-file -DgroupId=com.azure.resourcemanager -DartifactId=azure-resourcemanager-synapse -Dversion=1.0.0-beta.0 -Dfile=azure-resourcemanager-synapse-1.0.0-beta.1.jar -Dpackaging=jar -DgeneratePom=true
      ```"}
    ️️✔️ azure-sdk-for-net succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from eb03a12. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	sudo apt-get install -y dotnet-sdk-5.0
      warn		specification/synapse/data-plane/readme.md skipped due to azure-sdk-for-net not found in swagger-to-sdk
      command	autorest --version=V2 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/synapse/resource-manager/readme.md
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
    • ️✔️Microsoft.Azure.Management.Synapse [View full logs]  [Release SDK Changes]
    ️️✔️ azure-resource-manager-schemas succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from eb03a12. Schema Automation 14.0.0
      warn	Skip initScript due to not configured
      command	npx n 12
      warn		specification/synapse/data-plane/readme.md skipped due to azure-resource-manager-schemas not found in swagger-to-sdk
      command	autorest --use=@autorest/azureresourceschema@3.0.92 --version=3.0.6369 --azureresourceschema --multiapi --title=none --pass-thru:subset-reducer --azureresourceschema-folder=/home/vsts/work/1/s/azure-resource-manager-schemas/azure-resource-manager-schemas ../../azure-rest-api-specs/specification/synapse/resource-manager/readme.md
    • ️✔️synapse [View full logs]  [Release Schema Changes]
      cmderr	[resource-manager] node-pre-gyp
      cmderr	[resource-manager] WARN Using request for node-pre-gyp https download
      cmderr	[resource-manager] WARN template-schema-validation-tools@1.0.0 No repository field.
      cmderr	[resource-manager] WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
      cmderr	[resource-manager] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
    ️❌ azure-sdk-for-go failed [Detail]
    • Failed [Logs]Release - Generate from eb03a12. SDK Automation 14.0.0
      command	sh ./initScript.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      warn		specification/synapse/data-plane/readme.md skipped due to azure-sdk-for-go not found in swagger-to-sdk
      command	go run ./tools/generator/main.go ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
      Validation Failed: {"resource":"PullRequest","field":"head","code":"invalid"}
      HttpError: Validation Failed: {"resource":"PullRequest","field":"head","code":"invalid"}
          at /home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/@octokit/request@5.4.9/node_modules/@octokit/request/dist-node/index.js:66:23
          at processTicksAndRejections (internal/process/task_queues.js:93:5)
          at async workflowPkgUpdatePR (/home/vsts/work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflowPackage.js:305:21)
          at async Object.exports.workflowPkgMain (/home/vsts/work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflowPackage.js:40:5)
          at async workflowHandleReadmeMd (/home/vsts/work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflow.js:171:9)
          at async Object.exports.workflowMain (/home/vsts/work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflow.js:83:9)
          at async Object.exports.sdkAutoMain (/home/vsts/work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/entrypoint.js:152:13)
          at async /home/vsts/work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/cli/cli.js:18:20
    • ️✔️synapse/mgmt/2020-12-01/synapse [View full logs]  [Release SDK Changes]
      info	[Changelog] ### New Content
      info	[Changelog]
      info	[Changelog] - New function `NewLibraryListResponsePage(LibraryListResponse, func(context.Context, LibraryListResponse) (LibraryListResponse, error)) LibraryListResponsePage`
      info	[Changelog] - New function `NewLibrariesClient(string) LibrariesClient`
      info	[Changelog] - New function `LibraryListResponseIterator.NotDone() bool`
      info	[Changelog] - New function `NewLibraryClientWithBaseURI(string, string) LibraryClient`
      info	[Changelog] - New function `LibraryClient.GetSender(*http.Request) (*http.Response, error)`
      info	[Changelog] - New function `LibraryResource.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `LibrariesClient.ListByWorkspaceResponder(*http.Response) (LibraryListResponse, error)`
      info	[Changelog] - New function `LibraryListResponsePage.Response() LibraryListResponse`
      info	[Changelog] - New function `*LibraryResource.UnmarshalJSON([]byte) error`
      info	[Changelog] - New function `*LibraryListResponsePage.Next() error`
      info	[Changelog] - New function `LibraryListResponsePage.Values() []LibraryResource`
      info	[Changelog] - New function `LibrariesClient.ListByWorkspaceSender(*http.Request) (*http.Response, error)`
      info	[Changelog] - New function `LibraryListResponsePage.NotDone() bool`
      info	[Changelog] - New function `LibrariesClient.ListByWorkspace(context.Context, string, string) (LibraryListResponsePage, error)`
      info	[Changelog] - New function `LibrariesClient.ListByWorkspaceComplete(context.Context, string, string) (LibraryListResponseIterator, error)`
      info	[Changelog] - New function `*LibraryListResponseIterator.NextWithContext(context.Context) error`
      info	[Changelog] - New function `LibraryClient.GetPreparer(context.Context, string, string, string) (*http.Request, error)`
      info	[Changelog] - New function `*LibraryListResponsePage.NextWithContext(context.Context) error`
      info	[Changelog] - New function `*LibraryListResponseIterator.Next() error`
      info	[Changelog] - New function `LibraryListResponseIterator.Value() LibraryResource`
      info	[Changelog] - New function `NewLibraryClient(string) LibraryClient`
      info	[Changelog] - New function `LibraryClient.Get(context.Context, string, string, string) (LibraryResource, error)`
      info	[Changelog] - New function `LibraryClient.GetResponder(*http.Response) (LibraryResource, error)`
      info	[Changelog] - New function `NewLibraryListResponseIterator(LibraryListResponsePage) LibraryListResponseIterator`
      info	[Changelog] - New function `LibraryListResponse.IsEmpty() bool`
      info	[Changelog] - New function `LibraryListResponseIterator.Response() LibraryListResponse`
      info	[Changelog] - New function `NewLibrariesClientWithBaseURI(string, string) LibrariesClient`
      info	[Changelog] - New function `LibrariesClient.ListByWorkspacePreparer(context.Context, string, string) (*http.Request, error)`
      info	[Changelog] - New struct `LibrariesClient`
      info	[Changelog] - New struct `LibraryClient`
      info	[Changelog] - New struct `LibraryListResponse`
      info	[Changelog] - New struct `LibraryListResponseIterator`
      info	[Changelog] - New struct `LibraryListResponsePage`
      info	[Changelog] - New struct `LibraryResource`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 40 additive change(s).
      info	[Changelog]
    • ️✔️preview/synapse/mgmt/2019-06-01-preview/synapse [View full logsBreaking Change Detected
      Only show 60 items here, please refer to log for details.
      info	[Changelog] - New function `*MaintenanceWindowOptions.UnmarshalJSON([]byte) error`
      info	[Changelog] - New function `SQLPoolMaintenanceWindowsClient.GetResponder(*http.Response) (MaintenanceWindows, error)`
      info	[Changelog] - New function `PrivateLinkHubPrivateLinkResourcesClient.ListPreparer(context.Context, string, string) (*http.Request, error)`
      info	[Changelog] - New function `NewSQLPoolMaintenanceWindowOptionsClientWithBaseURI(string, string) SQLPoolMaintenanceWindowOptionsClient`
      info	[Changelog] - New function `SQLPoolMaintenanceWindowsClient.CreateOrUpdate(context.Context, string, string, string, string, MaintenanceWindows) (autorest.Response, error)`
      info	[Changelog] - New function `SQLPoolSensitivityLabelsClient.Update(context.Context, string, string, string, SensitivityLabelUpdateList) (autorest.Response, error)`
      info	[Changelog] - New function `MaintenanceWindows.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `SQLPoolSensitivityLabelsClient.UpdateResponder(*http.Response) (autorest.Response, error)`
      info	[Changelog] - New function `PossibleSensitivityLabelUpdateKindValues() []SensitivityLabelUpdateKind`
      info	[Changelog] - New function `SQLPoolRecommendedSensitivityLabelsClient.UpdatePreparer(context.Context, string, string, string, RecommendedSensitivityLabelUpdateList) (*http.Request, error)`
      info	[Changelog] - New function `SQLPoolMaintenanceWindowsClient.CreateOrUpdateSender(*http.Request) (*http.Response, error)`
      info	[Changelog] - New function `NewSQLPoolMaintenanceWindowsClientWithBaseURI(string, string) SQLPoolMaintenanceWindowsClient`
      info	[Changelog] - New function `*RecommendedSensitivityLabelUpdate.UnmarshalJSON([]byte) error`
      info	[Changelog] - New function `SQLPoolRecommendedSensitivityLabelsClient.UpdateResponder(*http.Response) (autorest.Response, error)`
      info	[Changelog] - New function `SQLPoolRecommendedSensitivityLabelsClient.Update(context.Context, string, string, string, RecommendedSensitivityLabelUpdateList) (autorest.Response, error)`
      info	[Changelog] - New function `SQLPoolGeoBackupPoliciesClient.CreateOrUpdate(context.Context, string, string, string, GeoBackupPolicy) (GeoBackupPolicy, error)`
      info	[Changelog] - New function `NewSQLPoolMaintenanceWindowOptionsClient(string) SQLPoolMaintenanceWindowOptionsClient`
      info	[Changelog] - New function `NewPrivateLinkHubPrivateLinkResourcesClient(string) PrivateLinkHubPrivateLinkResourcesClient`
      info	[Changelog] - New function `SQLPoolRecommendedSensitivityLabelsClient.UpdateSender(*http.Request) (*http.Response, error)`
      info	[Changelog] - New function `SQLPoolGeoBackupPoliciesClient.CreateOrUpdateResponder(*http.Response) (GeoBackupPolicy, error)`
      info	[Changelog] - New function `DataMaskingRulesClient.Get(context.Context, string, string, string, string) (DataMaskingRule, error)`
      info	[Changelog] - New function `PossibleDayOfWeekValues() []DayOfWeek`
      info	[Changelog] - New function `SQLPoolGeoBackupPoliciesClient.CreateOrUpdatePreparer(context.Context, string, string, string, GeoBackupPolicy) (*http.Request, error)`
      info	[Changelog] - New function `DataMaskingRulesClient.GetPreparer(context.Context, string, string, string, string) (*http.Request, error)`
      info	[Changelog] - New struct `DynamicExecutorAllocation`
      info	[Changelog] - New struct `LibraryResourceProperties`
      info	[Changelog] - New struct `MaintenanceWindowOptions`
      info	[Changelog] - New struct `MaintenanceWindowOptionsProperties`
      info	[Changelog] - New struct `MaintenanceWindowTimeRange`
      info	[Changelog] - New struct `MaintenanceWindows`
      info	[Changelog] - New struct `MaintenanceWindowsProperties`
      info	[Changelog] - New struct `PrivateLinkHubPrivateLinkResourcesClient`
      info	[Changelog] - New struct `RecommendedSensitivityLabelUpdate`
      info	[Changelog] - New struct `RecommendedSensitivityLabelUpdateList`
      info	[Changelog] - New struct `RecommendedSensitivityLabelUpdateProperties`
      info	[Changelog] - New struct `SQLPoolMaintenanceWindowOptionsClient`
      info	[Changelog] - New struct `SQLPoolMaintenanceWindowsClient`
      info	[Changelog] - New struct `SQLPoolRecommendedSensitivityLabelsClient`
      info	[Changelog] - New struct `SensitivityLabelUpdate`
      info	[Changelog] - New struct `SensitivityLabelUpdateList`
      info	[Changelog] - New struct `SensitivityLabelUpdateProperties`
      info	[Changelog] - New field `Rank` in struct `SensitivityLabelProperties`
      info	[Changelog] - New field `SchemaName` in struct `SensitivityLabelProperties`
      info	[Changelog] - New field `ColumnName` in struct `SensitivityLabelProperties`
      info	[Changelog] - New field `TableName` in struct `SensitivityLabelProperties`
      info	[Changelog] - New field `DynamicExecutorAllocation` in struct `BigDataPoolResourceProperties`
      info	[Changelog] - New field `CacheSize` in struct `BigDataPoolResourceProperties`
      info	[Changelog] - New field `CustomLibraries` in struct `BigDataPoolResourceProperties`
      info	[Changelog] - New field `AdlaResourceID` in struct `WorkspaceProperties`
      info	[Changelog] - New field `LastCommitID` in struct `WorkspaceRepositoryConfiguration`
      info	[Changelog] - New field `TenantID` in struct `WorkspaceRepositoryConfiguration`
      info	[Changelog] - New field `ManagedBy` in struct `SensitivityLabel`
      info	[Changelog] - New field `IsComputed` in struct `SQLPoolColumnProperties`
      info	[Changelog]
      info	[Changelog] Total 1 breaking change(s), 114 additive change(s).
      info	[Changelog]
      error	Fatal error: Validation Failed: {"resource":"PullRequest","field":"head","code":"invalid"}
      error	The following packages are still pending:
      error		synapse/mgmt/2020-12-01/synapse
      error		preview/synapse/mgmt/2019-06-01-preview/synapse
    ️🔄[Staging] ApiDocPreview inProgress [Detail]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot
    Copy link

    Hi @navneet35, Your PR has some issues. Please fix the CI sequentially by following the order of Avocado, semantic validation, model validation, breaking change, lintDiff.

    TaskHow to fixPrioritySupport (Microsoft alias)
    AvocadoFix-AvocadoHighruowan
    Semantic validationFix-SemanticValidation-ErrorHighraychen, jianyxi
    Model validationFix-ModelValidation-ErrorHighraychen,jianyxi
    LintDiffFix-LintDiffhighjianyxi, ruoxuan
    If you need further help, please feedback via swagger feedback."

    @openapi-workflow-bot
    Copy link

    Hi @navneet35, one or multiple breaking change(s) is detected in your PR. Please check out the breaking change(s), and provide business justification in the PR comment and @ PR assignee why you must have these change(s), and how external customer impact can be mitigated. Please ensure to follow breaking change policy to request breaking change review and approval before proceeding swagger PR review.
    Action: To initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
    If you want to know the production traffic statistic, please see ARM Traffic statistic.
    If you think it is false positive breaking change, please provide the reasons in the PR comment, report to Swagger Tooling Team via https://aka.ms/swaggerfeedback.

    @openapi-workflow-bot
    Copy link

    NewApiVersionRequired reason:

    A service’s API is a contract with customers and is represented by using the api-version query parameter. Changes such as adding an optional property to a request/response or introducing a new operation is a change to the service’s contract and therefore requires a new api-version value. This is critically important for documentation, client libraries, and customer support.

    EXAMPLE: if a customer calls a service in the public cloud using api-version=2020-07-27, the new property or operation may exist but if they call the service in a government cloud, air-gapped cloud, or Azure Stack Hub cloud using the same api-version, the property or operation may not exist. Because there is no clear relationship between the service api-version and the new property/operation, customers can’t trust the documentation and Azure customer have difficulty helping customers diagnose issues. In addition, each client library version documents the service version it supports. When an optional property or new operation is added to a service and its Swagger, new client libraries must be produced to expose this functionality to customers. Without updating the api-version, it is unclear to customers which version of a client library supports these new features.

    @navneet35 navneet35 force-pushed the navsi/lib_mgmt_stable branch from 2a34ffb to c0a8220 Compare February 5, 2021 07:35
    @ruowan
    Copy link
    Member

    ruowan commented Feb 5, 2021

    @jonathandturner Since you are data-plane synapse PR assignee, could you help to review this PR?

    @JeffreyRichter JeffreyRichter added the Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 label Feb 5, 2021
    @navneet35 navneet35 force-pushed the navsi/lib_mgmt_stable branch from c0a8220 to 7c54151 Compare February 8, 2021 05:40
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review CI-BreakingChange-Go customer-reported Issues that are reported by GitHub users external to the Azure organization.
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    8 participants