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

Dev healthcareapis microsoft.healthcare apis 2021 11 01 changes #16108

Merged

Conversation

dustinburson
Copy link
Member

@dustinburson dustinburson commented Sep 21, 2021

Adding new API version for 2021-11-01 stable. This PR is taking the resources added in the 2021-06-01-preview and moving them to a stable version with some minor updates.

Changes include:

  • Add User Assigned Managed Identity support for workspace related resources.
  • Add Private Link resources for workspaces
  • Remove referenced swaggers and add definitions into our Swagger.
  • Refactor readonly private link properties into a common definition for reuse
  • Add Private Link properties for workspaces, fhirservices, and dicomservices
  • Add EventState support to the FHIR Service
  • Update Cors Origin Regex to address runaway condition.

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

Changelog

Add a changelog entry for 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 are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
  4. If updating an existing version, please select the specific langauge SDKs and CLIs that must be refreshed after the 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 refresh required 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

Applicability: ⚠️

If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

  • Change to data plane APIs
  • Adding new properties
  • All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

  • Check this box if any of the following apply to the PR so that label “WaitForARMFeedback” will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version
      -[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits.
  • 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 any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

  • Removing API(s) in a stable version
  • Removing properties in a stable version
  • Removing API version(s) in a stable version
  • Updating API in a stable or public preview version with Breaking Change Validation errors
  • Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

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, @dustinburson 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

    @openapi-workflow-bot
    Copy link

    [Call for Action] To better understand Azure service dev/test scenario, and support Azure service developer better on Swagger and REST API related tests in early phase, please help to fill in with this survey https://aka.ms/SurveyForEarlyPhase. It will take 5 to 10 minutes. If you already complete survey, please neglect this comment. Thanks.

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Sep 21, 2021

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️⚠️LintDiff: 7 Warnings warning [Detail]
    The following errors/warnings are introduced by current PR:
    Rule Message
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2840
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'privateEndpointConnections' with immediate parent 'Workspace', must have a list by immediate parent operation.
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2689
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'privateLinkResources' with immediate parent 'Workspace', must have a list by immediate parent operation.
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2704
    ⚠️ R3017 - GuidUsage Guid used in model definition 'ServiceManagedIdentity' for property 'principalId'. Usage of Guid is not recommanded. If GUIDs are absolutely required in your service, please get sign off from the Azure API review board.
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L3157
    ⚠️ R3017 - GuidUsage Guid used in model definition 'UserAssignedIdentity' for property 'principalId'. Usage of Guid is not recommanded. If GUIDs are absolutely required in your service, please get sign off from the Azure API review board.
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L3202
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: fillGapWithZero
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L3015
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: toBeExportedForShoebox
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L3046


    The following errors/warnings exist before current PR submission:

    Rule Message
    R4011 - DeleteOperationResponses The delete operation is defined without a 200 or 204 error response implementation,please add it.'
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L213
    R4013 - IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2359
    R4013 - IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2422
    R4037 - MissingTypeObject The schema 'ServiceAccessPolicyEntry' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2342
    R4037 - MissingTypeObject The schema 'ServicesResource' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2521
    R4039 - ParametersOrder The parameters:resourceGroupName,dicomServiceName,workspaceName should be kept in the same order as they present in the path.
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L1075
    R4039 - ParametersOrder The parameters:resourceGroupName,dicomServiceName,workspaceName should be kept in the same order as they present in the path.
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L1134
    R4039 - ParametersOrder The parameters:resourceGroupName,iotConnectorName,workspaceName should be kept in the same order as they present in the path.
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L1336
    R4039 - ParametersOrder The parameters:resourceGroupName,iotConnectorName,workspaceName should be kept in the same order as they present in the path.
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L1395
    R4039 - ParametersOrder The parameters:resourceGroupName,fhirServiceName,workspaceName should be kept in the same order as they present in the path.
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L1811
    R4039 - ParametersOrder The parameters:resourceGroupName,fhirServiceName,workspaceName should be kept in the same order as they present in the path.
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L1870
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2335
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2790
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L3730
    ⚠️ R2017 - PutRequestResponseScheme A PUT operation request body schema should be the same as its 200 response schema, to allow reusing the same entity between GET and PUT. If the schema of the PUT request body is a superset of the GET response body, make sure you have a PATCH operation to make the resource updatable. Operation: 'PrivateEndpointConnections_CreateOrUpdate' Request Model: 'PrivateEndpointConnection' Response Model: 'PrivateEndpointConnectionDescription'
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L444
    ⚠️ R2029 - PageableOperation Based on the response model schema, operation 'PrivateLinkResources_ListByService' might be pageable. Consider adding the x-ms-pageable extension.
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L546
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'privateEndpointConnections' with immediate parent 'ServicesDescription', must have a list by immediate parent operation.
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2689
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'privateLinkResources' with immediate parent 'ServicesDescription', must have a list by immediate parent operation.
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2704
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: smartProxyEnabled
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2387
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: allowCredentials
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2429
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: nameAvailable
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2665
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: isDataAction
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2814
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: smartProxyEnabled
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L3788
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: allowCredentials
    Location: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L3831
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️~[Staging] ApiReadinessCheck succeeded [Detail] [Expand]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️⚠️Cross-Version Breaking Changes: 39 Warnings warning [Detail]
    The following breaking changes are detected by comparison with the latest stable version:
    Rule Message
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2912:9
    Old: Microsoft.HealthcareApis/stable/2021-01-11/healthcare-apis.json#L1273:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L379:13
    Old: Microsoft.HealthcareApis/stable/2021-01-11/healthcare-apis.json#L471:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2725:11
    Old: Microsoft.HealthcareApis/stable/2021-01-11/healthcare-apis.json#L1312:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L427:13
    Old: Microsoft.HealthcareApis/stable/2021-01-11/healthcare-apis.json#L519:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L479:13
    Old: Microsoft.HealthcareApis/stable/2021-01-11/healthcare-apis.json#L571:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L569:13
    Old: Microsoft.HealthcareApis/stable/2021-01-11/healthcare-apis.json#L661:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2738:11
    Old: Microsoft.HealthcareApis/stable/2021-01-11/healthcare-apis.json#L1324:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L618:13
    Old: Microsoft.HealthcareApis/stable/2021-01-11/healthcare-apis.json#L710:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2689:5
    Old: Microsoft.HealthcareApis/stable/2021-01-11/healthcare-apis.json#L1279:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2704:5
    Old: Microsoft.HealthcareApis/stable/2021-01-11/healthcare-apis.json#L1293:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2719:5
    Old: Microsoft.HealthcareApis/stable/2021-01-11/healthcare-apis.json#L1307:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2732:5
    Old: Microsoft.HealthcareApis/stable/2021-01-11/healthcare-apis.json#L1319:5


    The following breaking changes are detected by comparison with latest preview version:

    Rule Message
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L379:13
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L379:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2725:11
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L2445:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L427:13
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L427:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L479:13
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L479:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L569:13
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L569:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2738:11
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L2457:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L618:13
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L618:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2689:5
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L2412:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2704:5
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L2426:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2719:5
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L2440:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L2732:5
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L2452:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L3335:11
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L2848:11
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L998:13
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L998:13
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L1043:13
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L1043:13
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L1051:13
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L1051:13
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L1057:13
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L1057:13
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L1063:13
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L1063:13
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L1108:13
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L1108:13
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L1116:13
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L1116:13
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L1122:13
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L1122:13
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L3289:5
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L2808:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L3312:5
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L2828:5
    ⚠️ 1034 - AddedRequiredProperty The new version has new required property 'type' that was not found in the old version.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L3158:9
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L2735:9
    ⚠️ 1034 - AddedRequiredProperty The new version has new required property 'type' that was not found in the old version.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L3158:9
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L2735:9
    ⚠️ 1034 - AddedRequiredProperty The new version has new required property 'type' that was not found in the old version.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L3158:9
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L2735:9
    ⚠️ 1034 - AddedRequiredProperty The new version has new required property 'type' that was not found in the old version.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L3158:9
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L2735:9
    ⚠️ 1034 - AddedRequiredProperty The new version has new required property 'type' that was not found in the old version.
    New: Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json#L3158:9
    Old: Microsoft.HealthcareApis/preview/2021-06-01-preview/healthcare-apis.json#L2735:9
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️️✔️SDK Track2 Validation succeeded [Detail] [Expand]
    Validation passes for SDKTrack2Validation

    ️️✔️PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Sep 21, 2021

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
     Please click here to preview with your @microsoft account. 
    ️❌SDK Breaking Change Tracking failed [Detail]

    Breaking Changes Tracking

    azure-sdk-for-python-track2 - track2_azure-mgmt-healthcareapis - Approved - 1.1.0b1
    +	Parameter type of model ServiceManagedIdentityIdentity is now required
    ️✔️azure-sdk-for-go - healthcareapis/mgmt/2020-03-30/healthcareapis - v62.0.0
    ️✔️azure-sdk-for-go - healthcareapis/mgmt/2020-03-15/healthcareapis - v62.0.0
    ️✔️azure-sdk-for-go - healthcareapis/mgmt/2019-09-16/healthcareapis - v62.0.0
    ️✔️azure-sdk-for-go - preview/healthcareapis/mgmt/2018-08-20-preview/healthcareapis - v62.0.0
    azure-sdk-for-go-track2 - armhealthcareapis - 0.3.0
    +	Type of `ServiceManagedIdentityIdentity.Type` has been changed from `*ManagedServiceIdentityType` to `*ServiceManagedIdentityType`
    ️✔️azure-sdk-for-go - preview/healthcareapis/mgmt/2021-06-01-preview/healthcareapis - v62.0.0
    ️️✔️ azure-sdk-for-net succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 6722814. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	sudo apt-get install -y dotnet-sdk-6.0
      command	autorest --version=2.0.4421 --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/healthcareapis/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.HealthcareApis [View full logs]  [Release SDK Changes]
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 6722814. 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] WARNING: Skipping azure-nspkg as it is not installed.
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
      cmderr	[automation_generate.sh] npm notice
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 8.3.1 -> 8.5.2
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.5.2>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@8.5.2` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-healthcareapis [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added operation group WorkspacePrivateEndpointConnectionsOperations
      info	[Changelog]   - Added operation group WorkspacePrivateLinkResourcesOperations
      info	[Changelog]   - Model DicomService has a new parameter identity
      info	[Changelog]   - Model DicomService has a new parameter private_endpoint_connections
      info	[Changelog]   - Model DicomService has a new parameter public_network_access
      info	[Changelog]   - Model DicomServicePatchResource has a new parameter identity
      info	[Changelog]   - Model FhirService has a new parameter event_state
      info	[Changelog]   - Model FhirService has a new parameter private_endpoint_connections
      info	[Changelog]   - Model FhirService has a new parameter public_network_access
      info	[Changelog]   - Model FhirService has a new parameter resource_version_policy_configuration
      info	[Changelog]   - Model FhirServiceAcrConfiguration has a new parameter oci_artifacts
      info	[Changelog]   - Model OperationDetail has a new parameter properties
      info	[Changelog]   - Model OperationResultsDescription has a new parameter end_time
      info	[Changelog]   - Model ServiceAcrConfigurationInfo has a new parameter oci_artifacts
      info	[Changelog]   - Model ServiceManagedIdentityIdentity has a new parameter principal_id
      info	[Changelog]   - Model ServiceManagedIdentityIdentity has a new parameter tenant_id
      info	[Changelog]   - Model ServiceManagedIdentityIdentity has a new parameter user_assigned_identities
      info	[Changelog]   - Model WorkspaceProperties has a new parameter private_endpoint_connections
      info	[Changelog]   - Model WorkspaceProperties has a new parameter public_network_access
      info	[Changelog]
      info	[Changelog] **Breaking changes**
      info	[Changelog]
      info	[Changelog]   - Parameter type of model ServiceManagedIdentityIdentity is now required
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 6722814. 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
      command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
      cmderr	[generate.py] 2022-03-01 01:56:58 INFO [VERSION][Found] current version "com.azure.resourcemanager:azure-resourcemanager-healthcareapis;1.0.0-beta.1;1.0.0-beta.2"
      cmderr	[generate.py] 2022-03-01 01:56:58 INFO [VERSION][Not Found] cannot find stable version, current version "1.0.0-beta.2"
      cmderr	[generate.py] 2022-03-01 01:56:58 INFO autorest --version=3.6.6 --use=@autorest/java@4.0.50 --java --java.azure-libraries-for-java-folder=/home/vsts/work/1/s/azure-sdk-for-java --java.output-folder=/home/vsts/work/1/s/azure-sdk-for-java/sdk/healthcareapis/azure-resourcemanager-healthcareapis --java.namespace=com.azure.resourcemanager.healthcareapis   --pipeline.modelerfour.additional-checks=false --pipeline.modelerfour.lenient-model-deduplication=true --azure-arm --verbose --sdk-integration --generate-samples --fluent=lite --java.fluent=lite --java.license-header=MICROSOFT_MIT_SMALL  ../azure-rest-api-specs/specification/healthcareapis/resource-manager/readme.md
      cmderr	[generate.py] 2022-03-01 01:57:29 INFO [CI][Skip] ci.yml already has module azure-resourcemanager-healthcareapis
      cmderr	[generate.py] 2022-03-01 01:57:29 INFO [POM][Process] dealing with pom.xml
      cmderr	[generate.py] 2022-03-01 01:57:29 INFO [POM][Skip] pom already has module azure-resourcemanager-healthcareapis
      cmderr	[generate.py] 2022-03-01 01:57:29 INFO [POM][Success] Write to pom.xml
      cmderr	[generate.py] 2022-03-01 01:57:29 INFO [POM][Process] dealing with root pom
      cmderr	[generate.py] 2022-03-01 01:57:29 INFO [POM][Skip] pom already has module sdk/healthcareapis
      cmderr	[generate.py] 2022-03-01 01:57:29 INFO [POM][Success] Write to root pom
    • ️✔️azure-resourcemanager-healthcareapis [View full logs]  [Release SDK Changes]
      cmderr	[Inst] 2022-03-01 01:58:30 DEBUG Got artifact_id: azure-resourcemanager-healthcareapis
      cmderr	[Inst] 2022-03-01 01:58:30 DEBUG Got artifact: pom.xml
      cmderr	[Inst] 2022-03-01 01:58:30 DEBUG Got artifact: azure-resourcemanager-healthcareapis-1.0.0-beta.2.jar
      cmderr	[Inst] 2022-03-01 01:58:30 DEBUG Match jar package: azure-resourcemanager-healthcareapis-1.0.0-beta.2.jar
      cmderr	[Inst] 2022-03-01 01:58:30 DEBUG output: {"full": "```sh\ncurl -L \"https://portal.azure-devex-tools.com/api/sdk-dl-pub?p=Azure/16108/azure-sdk-for-java/azure-resourcemanager-healthcareapis/azure-resourcemanager-healthcareapis-1.0.0-beta.2.jar\" -o azure-resourcemanager-healthcareapis-1.0.0-beta.2.jar\nmvn install:install-file -DgroupId=com.azure.resourcemanager -DartifactId=azure-resourcemanager-healthcareapis -Dversion=1.0.0-beta.0 -Dfile=azure-resourcemanager-healthcareapis-1.0.0-beta.2.jar -Dpackaging=jar -DgeneratePom=true
      ```"}
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 6722814. SDK Automation 14.0.0
      command	sh ./eng/initScript.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️healthcareapis/mgmt/2020-03-30/healthcareapis [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New field `Properties` in struct `Operation`
      info	[Changelog] - New field `IsDataAction` in struct `Operation`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 1 additive change(s).
    • ️✔️healthcareapis/mgmt/2020-03-15/healthcareapis [View full logs
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New field `Properties` in struct `Operation`
      info	[Changelog] - New field `IsDataAction` in struct `Operation`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 1 additive change(s).
    • ️✔️healthcareapis/mgmt/2019-09-16/healthcareapis [View full logs
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New field `IsDataAction` in struct `Operation`
      info	[Changelog] - New field `Properties` in struct `Operation`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 1 additive change(s).
    • ️✔️preview/healthcareapis/mgmt/2021-06-01-preview/healthcareapis [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️preview/healthcareapis/mgmt/2018-08-20-preview/healthcareapis [View full logs
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New const `None`
      info	[Changelog] - New const `SystemAssigned`
      info	[Changelog] - New function `PossibleManagedServiceIdentityTypeValues() []ManagedServiceIdentityType`
      info	[Changelog] - New function `ResourceIdentity.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New struct `ResourceIdentity`
      info	[Changelog] - New field `Properties` in struct `Operation`
      info	[Changelog] - New field `IsDataAction` in struct `Operation`
      info	[Changelog] - New field `Identity` in struct `ServicesDescription`
      info	[Changelog] - New field `Identity` in struct `Resource`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 9 additive change(s).
    ️️✔️ azure-sdk-for-go-track2 succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 6722814. SDK Automation 14.0.0
      command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️armhealthcareapis [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] - Type of `IotMappingProperties.Content` has been changed from `map[string]interface{}` to `interface{}`
      info	[Changelog] - Type of `ServiceManagedIdentityIdentity.Type` has been changed from `*ManagedServiceIdentityType` to `*ServiceManagedIdentityType`
      info	[Changelog] - Type of `OperationResultsDescription.Properties` has been changed from `map[string]interface{}` to `interface{}`
      info	[Changelog] - Struct `Error` has been removed
      info	[Changelog] - Struct `ErrorDetails` has been removed
      info	[Changelog] - Struct `ErrorDetailsInternal` has been removed
      info	[Changelog]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New const `ServiceManagedIdentityTypeUserAssigned`
      info	[Changelog] - New const `ServiceManagedIdentityTypeNone`
      info	[Changelog] - New const `FhirResourceVersionPolicyNoVersion`
      info	[Changelog] - New const `ServiceManagedIdentityTypeSystemAssigned`
      info	[Changelog] - New const `ServiceEventStateUpdating`
      info	[Changelog] - New const `ServiceManagedIdentityTypeSystemAssignedUserAssigned`
      info	[Changelog] - New const `FhirResourceVersionPolicyVersionedUpdate`
      info	[Changelog] - New const `ServiceEventStateDisabled`
      info	[Changelog] - New const `ServiceEventStateEnabled`
      info	[Changelog] - New const `FhirResourceVersionPolicyVersioned`
      info	[Changelog] - New function `*WorkspacePrivateEndpointConnectionsClientDeletePoller.ResumeToken() (string, error)`
      info	[Changelog] - New function `*WorkspacePrivateEndpointConnectionsClient.BeginDelete(context.Context, string, string, string, *WorkspacePrivateEndpointConnectionsClientBeginDeleteOptions) (WorkspacePrivateEndpointConnectionsClientDeletePollerResponse, error)`
      info	[Changelog] - New function `*WorkspacePrivateEndpointConnectionsClient.Get(context.Context, string, string, string, *WorkspacePrivateEndpointConnectionsClientGetOptions) (WorkspacePrivateEndpointConnectionsClientGetResponse, error)`
      info	[Changelog] - New function `DicomServiceProperties.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `MetricSpecification.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `*WorkspacePrivateEndpointConnectionsClient.ListByWorkspace(context.Context, string, string, *WorkspacePrivateEndpointConnectionsClientListByWorkspaceOptions) (WorkspacePrivateEndpointConnectionsClientListByWorkspaceResponse, error)`
      info	[Changelog] - New function `WorkspacePrivateEndpointConnectionsClientCreateOrUpdatePollerResponse.PollUntilDone(context.Context, time.Duration) (WorkspacePrivateEndpointConnectionsClientCreateOrUpdateResponse, error)`
      info	[Changelog] - New function `*WorkspacePrivateEndpointConnectionsClientCreateOrUpdatePoller.Poll(context.Context) (*http.Response, error)`
      info	[Changelog] - New function `ServiceManagedIdentityIdentity.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `*WorkspacePrivateLinkResourcesClient.Get(context.Context, string, string, string, *WorkspacePrivateLinkResourcesClientGetOptions) (WorkspacePrivateLinkResourcesClientGetResponse, error)`
      info	[Changelog] - New function `*WorkspacePrivateEndpointConnectionsClientCreateOrUpdatePoller.FinalResponse(context.Context) (WorkspacePrivateEndpointConnectionsClientCreateOrUpdateResponse, error)`
      info	[Changelog] - New function `WorkspacePrivateEndpointConnectionsClientDeletePollerResponse.PollUntilDone(context.Context, time.Duration) (WorkspacePrivateEndpointConnectionsClientDeleteResponse, error)`
      info	[Changelog] - New function `NewWorkspacePrivateEndpointConnectionsClient(string, azcore.TokenCredential, *arm.ClientOptions) *WorkspacePrivateEndpointConnectionsClient`
      info	[Changelog] - New function `*WorkspacePrivateEndpointConnectionsClientCreateOrUpdatePoller.ResumeToken() (string, error)`
      info	[Changelog] - New function `*WorkspacePrivateEndpointConnectionsClientDeletePoller.Done() bool`
      info	[Changelog] - New function `FhirResourceVersionPolicy.ToPtr() *FhirResourceVersionPolicy`
      info	[Changelog] - New function `PossibleFhirResourceVersionPolicyValues() []FhirResourceVersionPolicy`
      info	[Changelog] - New function `*WorkspacePrivateEndpointConnectionsClientDeletePoller.FinalResponse(context.Context) (WorkspacePrivateEndpointConnectionsClientDeleteResponse, error)`
      info	[Changelog] - New function `ResourceVersionPolicyConfiguration.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `PossibleServiceEventStateValues() []ServiceEventState`
      info	[Changelog] - New function `ServiceSpecification.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `*WorkspacePrivateEndpointConnectionsClientCreateOrUpdatePoller.Done() bool`
      info	[Changelog] - New function `PossibleServiceManagedIdentityTypeValues() []ServiceManagedIdentityType`
      info	[Changelog] - New function `ServiceManagedIdentityType.ToPtr() *ServiceManagedIdentityType`
      info	[Changelog] - New function `*WorkspacePrivateEndpointConnectionsClientDeletePoller.Poll(context.Context) (*http.Response, error)`
      info	[Changelog] - New function `*WorkspacePrivateEndpointConnectionsClient.BeginCreateOrUpdate(context.Context, string, string, string, PrivateEndpointConnectionDescription, *WorkspacePrivateEndpointConnectionsClientBeginCreateOrUpdateOptions) (WorkspacePrivateEndpointConnectionsClientCreateOrUpdatePollerResponse, error)`
      info	[Changelog] - New function `*WorkspacePrivateEndpointConnectionsClientDeletePollerResponse.Resume(context.Context, *WorkspacePrivateEndpointConnectionsClient, string) error`
      info	[Changelog] - New function `*WorkspacePrivateEndpointConnectionsClientCreateOrUpdatePollerResponse.Resume(context.Context, *WorkspacePrivateEndpointConnectionsClient, string) error`
      info	[Changelog] - New function `NewWorkspacePrivateLinkResourcesClient(string, azcore.TokenCredential, *arm.ClientOptions) *WorkspacePrivateLinkResourcesClient`
      info	[Changelog] - New function `WorkspaceProperties.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `ServiceEventState.ToPtr() *ServiceEventState`
      info	[Changelog] - New function `*WorkspacePrivateLinkResourcesClient.ListByWorkspace(context.Context, string, string, *WorkspacePrivateLinkResourcesClientListByWorkspaceOptions) (WorkspacePrivateLinkResourcesClientListByWorkspaceResponse, error)`
      info	[Changelog] - New struct `LogSpecification`
      info	[Changelog] - New struct `MetricDimension`
      info	[Changelog] - New struct `MetricSpecification`
      info	[Changelog] - New struct `OperationProperties`
      info	[Changelog] - New struct `ResourceVersionPolicyConfiguration`
      info	[Changelog] - New struct `ServiceOciArtifactEntry`
      info	[Changelog] - New struct `ServiceSpecification`
      info	[Changelog] - New struct `UserAssignedIdentity`
      info	[Changelog] - New struct `WorkspacePrivateEndpointConnectionsClient`
      info	[Changelog] - New struct `WorkspacePrivateEndpointConnectionsClientBeginCreateOrUpdateOptions`
      info	[Changelog] - New struct `WorkspacePrivateEndpointConnectionsClientBeginDeleteOptions`
      info	[Changelog] - New struct `WorkspacePrivateEndpointConnectionsClientCreateOrUpdatePoller`
      info	[Changelog] - New struct `WorkspacePrivateEndpointConnectionsClientCreateOrUpdatePollerResponse`
      info	[Changelog] - New struct `WorkspacePrivateEndpointConnectionsClientCreateOrUpdateResponse`
      info	[Changelog] - New struct `WorkspacePrivateEndpointConnectionsClientCreateOrUpdateResult`
      info	[Changelog] - New struct `WorkspacePrivateEndpointConnectionsClientDeletePoller`
      info	[Changelog] - New struct `WorkspacePrivateEndpointConnectionsClientDeletePollerResponse`
      info	[Changelog] - New struct `WorkspacePrivateEndpointConnectionsClientDeleteResponse`
      info	[Changelog] - New struct `WorkspacePrivateEndpointConnectionsClientGetOptions`
      info	[Changelog] - New struct `WorkspacePrivateEndpointConnectionsClientGetResponse`
      info	[Changelog] - New struct `WorkspacePrivateEndpointConnectionsClientGetResult`
      info	[Changelog] - New struct `WorkspacePrivateEndpointConnectionsClientListByWorkspaceOptions`
      info	[Changelog] - New struct `WorkspacePrivateEndpointConnectionsClientListByWorkspaceResponse`
      info	[Changelog] - New struct `WorkspacePrivateEndpointConnectionsClientListByWorkspaceResult`
      info	[Changelog] - New struct `WorkspacePrivateLinkResourcesClient`
      info	[Changelog] - New struct `WorkspacePrivateLinkResourcesClientGetOptions`
      info	[Changelog] - New struct `WorkspacePrivateLinkResourcesClientGetResponse`
      info	[Changelog] - New struct `WorkspacePrivateLinkResourcesClientGetResult`
      info	[Changelog] - New struct `WorkspacePrivateLinkResourcesClientListByWorkspaceOptions`
      info	[Changelog] - New struct `WorkspacePrivateLinkResourcesClientListByWorkspaceResponse`
      info	[Changelog] - New struct `WorkspacePrivateLinkResourcesClientListByWorkspaceResult`
      info	[Changelog] - New field `Identity` in struct `DicomServicePatchResource`
      info	[Changelog] - New field `UserAssignedIdentities` in struct `ServiceManagedIdentityIdentity`
      info	[Changelog] - New field `PrincipalID` in struct `ServiceManagedIdentityIdentity`
      info	[Changelog] - New field `TenantID` in struct `ServiceManagedIdentityIdentity`
      info	[Changelog] - New field `OciArtifacts` in struct `FhirServiceAcrConfiguration`
      info	[Changelog] - New field `Properties` in struct `OperationDetail`
      info	[Changelog] - New field `PublicNetworkAccess` in struct `FhirServiceProperties`
      info	[Changelog] - New field `EventState` in struct `FhirServiceProperties`
      info	[Changelog] - New field `ResourceVersionPolicyConfiguration` in struct `FhirServiceProperties`
      info	[Changelog] - New field `PrivateEndpointConnections` in struct `FhirServiceProperties`
      info	[Changelog] - New field `Identity` in struct `DicomService`
      info	[Changelog] - New field `PrivateEndpointConnections` in struct `WorkspaceProperties`
      info	[Changelog] - New field `PublicNetworkAccess` in struct `WorkspaceProperties`
      info	[Changelog] - New field `EndTime` in struct `OperationResultsDescription`
      info	[Changelog] - New field `PublicNetworkAccess` in struct `DicomServiceProperties`
      info	[Changelog] - New field `PrivateEndpointConnections` in struct `DicomServiceProperties`
      info	[Changelog] - New field `OciArtifacts` in struct `ServiceAcrConfigurationInfo`
      info	[Changelog]
      info	[Changelog] Total 9 breaking change(s), 114 additive change(s).
    ️⚠️ azure-sdk-for-js warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 6722814. SDK Automation 14.0.0
      command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
      cmderr	[automation_init.sh] npm WARN deprecated read-package-tree@5.1.6: The functionality that this package provided is now in @npmcli/arborist
      cmderr	[automation_init.sh] npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      cmderr	[automation_init.sh]  @opentelemetry/types@0.2.0: Package renamed to @opentelemetry/api, see https://github.com/open-telemetry/opentelemetry-js
      cmderr	[automation_init.sh]  created a lockfile as package-lock.json. You should commit this file.
      cmderr	[automation_init.sh] WARN @octokit/plugin-request-log@1.0.4 requires a peer of @octokit/core@>=3 but none is installed. You must install peer dependencies yourself.
      warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
      command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
    • ️✔️@azure/arm-healthcareapis [View full logs]  [Release SDK Changes]
      Only show 120 items here, please refer to log for details.
      info	[Changelog]   - Added Interface FhirServicesDeleteOptionalParams
      info	[Changelog]   - Added Interface FhirServicesGetOptionalParams
      info	[Changelog]   - Added Interface FhirServicesListByWorkspaceNextOptionalParams
      info	[Changelog]   - Added Interface FhirServicesListByWorkspaceOptionalParams
      info	[Changelog]   - Added Interface FhirServicesUpdateOptionalParams
      info	[Changelog]   - Added Interface IotConnectorCollection
      info	[Changelog]   - Added Interface IotConnectorFhirDestinationCreateOrUpdateOptionalParams
      info	[Changelog]   - Added Interface IotConnectorFhirDestinationDeleteOptionalParams
      info	[Changelog]   - Added Interface IotConnectorFhirDestinationGetOptionalParams
      info	[Changelog]   - Added Interface IotConnectorsCreateOrUpdateOptionalParams
      info	[Changelog]   - Added Interface IotConnectorsDeleteOptionalParams
      info	[Changelog]   - Added Interface IotConnectorsGetOptionalParams
      info	[Changelog]   - Added Interface IotConnectorsListByWorkspaceNextOptionalParams
      info	[Changelog]   - Added Interface IotConnectorsListByWorkspaceOptionalParams
      info	[Changelog]   - Added Interface IotConnectorsUpdateOptionalParams
      info	[Changelog]   - Added Interface IotDestinationProperties
      info	[Changelog]   - Added Interface IotEventHubIngestionEndpointConfiguration
      info	[Changelog]   - Added Interface IotFhirDestinationCollection
      info	[Changelog]   - Added Interface IotMappingProperties
      info	[Changelog]   - Added Interface ListOperations
      info	[Changelog]   - Added Interface LogSpecification
      info	[Changelog]   - Added Interface MetricDimension
      info	[Changelog]   - Added Interface MetricSpecification
      info	[Changelog]   - Added Interface OperationDetail
      info	[Changelog]   - Added Interface OperationProperties
      info	[Changelog]   - Added Interface PrivateEndpointConnectionListResult
      info	[Changelog]   - Added Interface ResourceCore
      info	[Changelog]   - Added Interface ResourceTags
      info	[Changelog]   - Added Interface ResourceVersionPolicyConfiguration
      info	[Changelog]   - Added Interface ServiceManagedIdentity
      info	[Changelog]   - Added Interface ServiceManagedIdentityIdentity
      info	[Changelog]   - Added Interface ServiceOciArtifactEntry
      info	[Changelog]   - Added Interface ServiceSpecification
      info	[Changelog]   - Added Interface UserAssignedIdentity
      info	[Changelog]   - Added Interface WorkspaceList
      info	[Changelog]   - Added Interface WorkspacePrivateEndpointConnectionsCreateOrUpdateOptionalParams
      info	[Changelog]   - Added Interface WorkspacePrivateEndpointConnectionsDeleteOptionalParams
      info	[Changelog]   - Added Interface WorkspacePrivateEndpointConnectionsGetOptionalParams
      info	[Changelog]   - Added Interface WorkspacePrivateEndpointConnectionsListByWorkspaceOptionalParams
      info	[Changelog]   - Added Interface WorkspacePrivateLinkResourcesGetOptionalParams
      info	[Changelog]   - Added Interface WorkspacePrivateLinkResourcesListByWorkspaceOptionalParams
      info	[Changelog]   - Added Interface WorkspaceProperties
      info	[Changelog]   - Added Interface WorkspacesCreateOrUpdateOptionalParams
      info	[Changelog]   - Added Interface WorkspacesDeleteOptionalParams
      info	[Changelog]   - Added Interface WorkspacesGetOptionalParams
      info	[Changelog]   - Added Interface WorkspacesListByResourceGroupNextOptionalParams
      info	[Changelog]   - Added Interface WorkspacesListByResourceGroupOptionalParams
      info	[Changelog]   - Added Interface WorkspacesListBySubscriptionNextOptionalParams
      info	[Changelog]   - Added Interface WorkspacesListBySubscriptionOptionalParams
      info	[Changelog]   - Added Interface WorkspacesUpdateOptionalParams
      info	[Changelog]   - Added Type Alias ActionType
      info	[Changelog]   - Added Type Alias DicomService
      info	[Changelog]   - Added Type Alias DicomServicePatchResource
      info	[Changelog]   - Added Type Alias DicomServicesCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias DicomServicesGetResponse
      info	[Changelog]   - Added Type Alias DicomServicesListByWorkspaceNextResponse
      info	[Changelog]   - Added Type Alias DicomServicesListByWorkspaceResponse
      info	[Changelog]   - Added Type Alias DicomServicesUpdateResponse
      info	[Changelog]   - Added Type Alias FhirDestinationsListByIotConnectorNextResponse
      info	[Changelog]   - Added Type Alias FhirDestinationsListByIotConnectorResponse
      info	[Changelog]   - Added Type Alias FhirResourceVersionPolicy
      info	[Changelog]   - Added Type Alias FhirService
      info	[Changelog]   - Added Type Alias FhirServiceKind
      info	[Changelog]   - Added Type Alias FhirServicePatchResource
      info	[Changelog]   - Added Type Alias FhirServicesCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias FhirServicesGetResponse
      info	[Changelog]   - Added Type Alias FhirServicesListByWorkspaceNextResponse
      info	[Changelog]   - Added Type Alias FhirServicesListByWorkspaceResponse
      info	[Changelog]   - Added Type Alias FhirServicesUpdateResponse
      info	[Changelog]   - Added Type Alias IotConnector
      info	[Changelog]   - Added Type Alias IotConnectorFhirDestinationCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias IotConnectorFhirDestinationGetResponse
      info	[Changelog]   - Added Type Alias IotConnectorPatchResource
      info	[Changelog]   - Added Type Alias IotConnectorsCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias IotConnectorsGetResponse
      info	[Changelog]   - Added Type Alias IotConnectorsListByWorkspaceNextResponse
      info	[Changelog]   - Added Type Alias IotConnectorsListByWorkspaceResponse
      info	[Changelog]   - Added Type Alias IotConnectorsUpdateResponse
      info	[Changelog]   - Added Type Alias IotFhirDestination
      info	[Changelog]   - Added Type Alias IotFhirDestinationProperties
      info	[Changelog]   - Added Type Alias IotIdentityResolutionType
      info	[Changelog]   - Added Type Alias LocationBasedResource
      info	[Changelog]   - Added Type Alias ServiceEventState
      info	[Changelog]   - Added Type Alias ServiceManagedIdentityType
      info	[Changelog]   - Added Type Alias TaggedResource
      info	[Changelog]   - Added Type Alias Workspace
      info	[Changelog]   - Added Type Alias WorkspacePatchResource
      info	[Changelog]   - Added Type Alias WorkspacePrivateEndpointConnectionsCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias WorkspacePrivateEndpointConnectionsGetResponse
      info	[Changelog]   - Added Type Alias WorkspacePrivateEndpointConnectionsListByWorkspaceResponse
      info	[Changelog]   - Added Type Alias WorkspacePrivateLinkResourcesGetResponse
      info	[Changelog]   - Added Type Alias WorkspacePrivateLinkResourcesListByWorkspaceResponse
      info	[Changelog]   - Added Type Alias WorkspacesCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias WorkspacesGetResponse
      info	[Changelog]   - Added Type Alias WorkspacesListByResourceGroupNextResponse
      info	[Changelog]   - Added Type Alias WorkspacesListByResourceGroupResponse
      info	[Changelog]   - Added Type Alias WorkspacesListBySubscriptionNextResponse
      info	[Changelog]   - Added Type Alias WorkspacesListBySubscriptionResponse
      info	[Changelog]   - Added Type Alias WorkspacesUpdateResponse
      info	[Changelog]   - Interface OperationResultsDescription has a new optional parameter endTime
      info	[Changelog]   - Interface ServiceAcrConfigurationInfo has a new optional parameter ociArtifacts
      info	[Changelog]   - Class HealthcareApisManagementClient has a new parameter dicomServices
      info	[Changelog]   - Class HealthcareApisManagementClient has a new parameter fhirDestinations
      info	[Changelog]   - Class HealthcareApisManagementClient has a new parameter fhirServices
      info	[Changelog]   - Class HealthcareApisManagementClient has a new parameter iotConnectorFhirDestination
      info	[Changelog]   - Class HealthcareApisManagementClient has a new parameter iotConnectors
      info	[Changelog]   - Class HealthcareApisManagementClient has a new parameter workspacePrivateEndpointConnections
      info	[Changelog]   - Class HealthcareApisManagementClient has a new parameter workspacePrivateLinkResources
      info	[Changelog]   - Class HealthcareApisManagementClient has a new parameter workspaces
      info	[Changelog]   - Added Enum KnownActionType
      info	[Changelog]   - Added Enum KnownFhirResourceVersionPolicy
      info	[Changelog]   - Added Enum KnownFhirServiceKind
      info	[Changelog]   - Added Enum KnownIotIdentityResolutionType
      info	[Changelog]   - Added Enum KnownServiceEventState
      info	[Changelog]   - Added Enum KnownServiceManagedIdentityType
      info	[Changelog]   - Enum KnownProvisioningState has a new value Moving
      info	[Changelog]   - Enum KnownProvisioningState has a new value Suspended
      info	[Changelog]   - Enum KnownProvisioningState has a new value SystemMaintenance
      info	[Changelog]   - Enum KnownProvisioningState has a new value Warned
      error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 6722814. Schema Automation 14.0.0
      command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
      cmderr	[initScript.sh] WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile The package-lock.json file was created with an old version of npm,
      cmderr	[initScript.sh] npm WARN old lockfile so supplemental metadata must be fetched from the registry.
      cmderr	[initScript.sh] npm WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile This is a one-time fix-up, please be patient...
      cmderr	[initScript.sh] npm WARN old lockfile
      warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
      command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
    • ️✔️healthcareapis [View full logs]  [Release Schema Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot
    Copy link

    Hi, @dustinburson your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board(armapireview@microsoft.com).

    @raosuhas
    Copy link

              "$ref": "#/definitions/PrivateEndpointConnection"
    

    Why is this change made ? It is recommended to use the common types for the private links to ensure consistency across the azure resources.


    Refers to: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json:471 in cbc165f. [](commit_id = cbc165f, deletion_comment = False)

    @dustinburson
    Copy link
    Member Author

              "$ref": "#/definitions/PrivateEndpointConnection"
    

    Why is this change made ? It is recommended to use the common types for the private links to ensure consistency across the azure resources.

    Refers to: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json:471 in cbc165f. [](commit_id = cbc165f, deletion_comment = False)

    The change was made to accommodate our RP validation framework. We have a copy of our swagger deployed with our service that we use to validate incoming properties on our PUT and PATCH requests. This is how we support OAPI018. If we have the referenced types those types can't be validated. We could maintain two versions of the Swagger one with the types self contained and one here with the references but that is undesirable due to the maintenance overhead and additional risk of mistakes when updating and synchronizing the content.

    It also makes it easier to validate the Swagger with tooling since everything is self contained. The data contracts are identical to the common references you pointed out.

    @raosuhas
    Copy link

    Cant you copy over the folder structure with the links to your repo ?.


    In reply to: 926043149

    @dustinburson
    Copy link
    Member Author

    Cant you copy over the folder structure with the links to your repo ?.

    In reply to: 926043149

    Unfortunately that isn't the issue. There are two problems.

    • It isn't the presence in our repo that is the problem. The swagger is used for runtime validation. So all referenced files and their relative paths would need to be copied consistently for use in the service.
    • The second, and larger issue is the Swagger validation framework we are using doesn't support referenced files. I can revert the change but it means that we won't be supporting OAPI018 for the Private Link resources.

    @raosuhas
    Copy link

    The reason we ask to use common is also to avoid copy paste errors and to make it easier for the audience\reviewers to read this. Please note that this would come up everytime this comes up for ARM review. I would strongly suggest to update the swagger validation mechanism you use with one that supports these references. Again, that said , as long as you make sure that the resources have been copied exactly from the common , I am ok with signing off from ARM side for this change.


    In reply to: 926074966

    @raosuhas raosuhas added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Sep 23, 2021
    @dustinburson dustinburson reopened this Oct 25, 2021
    @ghost
    Copy link

    ghost commented Nov 14, 2021

    Hi, @dustinburson. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove no-recent-activity label.

    @ghost ghost added the no-recent-activity label Nov 14, 2021
    @dustinburson
    Copy link
    Member Author

    @dustinburson sorry the link is here https://github.com/Azure/azure-rest-api-specs/blob/main/documentation/openapi-authoring-automated-guidelines.md#r4041-xmsidentifiervalidation fixing this rule will not break your contract, as it only need to add the 'x-ms-identifier' to the array definition, it has no impact to API behavior, it only add some metadata for the array definition

    @jianyexi thanks for the example and clarification. I will look at making the necessary changes.

    @dustinburson
    Copy link
    Member Author

    @jianyexi I have added the xmsidentifers property and addressed the linting error. They are now gone.

    The Swagger Go Track 2 SDK check now has some failures. These have been showing up intermittently when I have been addressing other issues and appear to be unrelated to the changes. Is this a blocking issue (i.e. will prevent us from completing the PR?) and if so do you know who I can work with to understand where the errors are coming from?

    @dustinburson
    Copy link
    Member Author

    dustinburson commented Jan 21, 2022

    @jianyexi it appears the addition of the xmsidenitiers while solving the linting errors is now triggering SDK azure-sdk-for-net failures. Please see https://github.com/Azure/azure-rest-api-specs/pull/16108/checks?check_run_id=4885819186

    cmderr [Autorest] ERROR: Schema violation: Additional properties not allowed: x-ms-identifiers cmderr [Autorest] - file:///home/vsts/work/1/s/azure-rest-api-specs/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json:3763:8 ($.definitions.FhirServiceAcrConfiguration.properties.ociArtifacts) cmderr [Autorest] ERROR: Schema violation: Additional properties not allowed: x-ms-identifiers cmderr [Autorest] - file:///home/vsts/work/1/s/azure-rest-api-specs/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json:3019:8 ($.definitions.MetricSpecification.properties.dimensions) cmderr [Autorest] ERROR: Schema violation: Additional properties not allowed: x-ms-identifiers cmderr [Autorest] - file:///home/vsts/work/1/s/azure-rest-api-specs/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json:2942:8 ($.definitions.ServiceSpecification.properties.metricSpecifications) cmderr [Autorest] ERROR: Schema violation: Additional properties not allowed: x-ms-identifiers cmderr [Autorest] - file:///home/vsts/work/1/s/azure-rest-api-specs/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json:2933:8 ($.definitions.ServiceSpecification.properties.logSpecifications) cmderr [Autorest] ERROR: Schema violation: Additional properties not allowed: x-ms-identifiers cmderr [Autorest] - file:///home/vsts/work/1/s/azure-rest-api-specs/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/healthcare-apis.json:2459:8 ($.definitions.ServiceAcrConfigurationInfo.properties.ociArtifacts)

    @jianyexi jianyexi added the Approved-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates label Jan 25, 2022
    @ghost
    Copy link

    ghost commented Feb 20, 2022

    Hi, @dustinburson. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove no-recent-activity label.

    @ghost ghost removed the no-recent-activity label Feb 28, 2022
    @dustinburson dustinburson removed the DoNotMerge <valid label in PR review process> use to hold merge after approval label Feb 28, 2022
    @jianyexi jianyexi merged commit 6722814 into main Mar 1, 2022
    FredericHeem pushed a commit to grucloud/azure-rest-api-specs that referenced this pull request Mar 7, 2022
    …e#16108)
    
    * Adds base for updating Microsoft.HealthcareApis from version preview/2021-06-01-preview to version 2021-11-01
    
    * Updates readme
    
    * Updates API version in new specs and examples
    
    * Initial updates for 2021-11-01 version
    
    * Fix prettier errors and resolve systemData error
    
    * Add missing type definitions
    
    * Remove pattern for validating Cors Origin.  Regex was found to have DDoS issues.  New correct pattern triggeres backwards breaking change alerts.  Removing patterns in latest iteration to avoid error.  Regexes are validated service side with updated logic already.
    
    * Add missing endtime from OperationResult
    
    * Revert CorsOriginEntry pattern removal to avoid false positive cross version breaking change
    
    * Add definition for Properties property in operation definition that was missing.
    
    * Test updating default verison per recommendation
    
    * Update services and workspaces to use some provisioning state to remove .NET SDK error
    
    * Resolve System.InvalidOperationException: Swagger document contains two or more x-ms-enum extensions with the same name 'ManagedServiceIdentityType' and different values: SystemAssigned,None vs. None,SystemAssigned,UserAssigned,SystemAssigned,UserAssigned
    
    * Revert "Resolve System.InvalidOperationException: Swagger document contains two or more x-ms-enum extensions with the same name 'ManagedServiceIdentityType' and different values: SystemAssigned,None vs. None,SystemAssigned,UserAssigned,SystemAssigned,UserAssigned"
    
    This reverts commit d44373c.
    
    * Resolve System.InvalidOperationException: Swagger document contains two or more x-ms-enum extensions with the same name 'ManagedServiceIdentityType' and different values: SystemAssigned,None vs. None,SystemAssigned,UserAssigned,SystemAssigned,UserAssigned"
    
    * Change default back to 2021-01-11 version
    
    * Change default version back in 2021-11-01 in anticipation of new release
    
    * Revert changes that removed common-type references for local references
    
    * Add async headers to patch examples
    
    * Add managed identity settings to dicomservices
    
    * Add resourceVersionPolicyCOnfiguration to workspaces/fhirservices
    
    * Fix prettier errors
    
    * Add missing description for resourceTypeOverrides
    
    * Add missing  "x-ms-identifiers" property for arrays.
    @JackTn JackTn deleted the dev-healthcareapis-Microsoft.HealthcareApis-2021-11-01-changes branch June 16, 2022 00:49
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates Approved-SdkBreakingChange-Python ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review CI-BreakingChange-Go-V2
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    5 participants