azure-rest-api-specs icon indicating copy to clipboard operation
azure-rest-api-specs copied to clipboard

Yifanzhou/swagger update 0801

Open yifan-zhou922 opened this issue 3 years ago • 11 comments

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
    • [x] 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 language 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
    • [x] 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: :warning:

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 appy to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review. Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version -[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.
  • [ ] 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.

yifan-zhou922 avatar Aug 03 '22 07:08 yifan-zhou922

Hi, @yifan-zhou922 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. [email protected]

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    compared swaggers (via Oad v0.10.2)] new version base version
    purviewcatalog.json 2022-03-01-preview(8f9b24d) 2022-03-01-preview(main)
    ️⚠️Breaking Change(Cross-Version): 54 Warnings warning [Detail]
    compared swaggers (via Oad v0.10.2)] new version base version
    purviewcatalog.json 2022-08-01-preview(8f9b24d) 2022-03-01-preview(main)

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

    Only 21 items are listed, please refer to log for more details.

    Rule Message
    :warning: 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L5488:13
    Old: Azure.Analytics.Purview.Catalog/preview/2022-03-01-preview/purviewcatalog.json#L5391:13
    :warning: 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L5553:13
    Old: Azure.Analytics.Purview.Catalog/preview/2022-03-01-preview/purviewcatalog.json#L5455:13
    :warning: 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L5980:13
    Old: Azure.Analytics.Purview.Catalog/preview/2022-03-01-preview/purviewcatalog.json#L5881:13
    :warning: 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L5989:13
    Old: Azure.Analytics.Purview.Catalog/preview/2022-03-01-preview/purviewcatalog.json#L5889:13
    :warning: 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L8081:9
    Old: Azure.Analytics.Purview.Catalog/preview/2022-03-01-preview/purviewcatalog.json#L7867:9
    :warning: 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L6394:13
    Old: Azure.Analytics.Purview.Catalog/preview/2022-03-01-preview/purviewcatalog.json#L6293:13
    :warning: 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L6429:13
    Old: Azure.Analytics.Purview.Catalog/preview/2022-03-01-preview/purviewcatalog.json#L6327:13
    :warning: 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L5135:9
    Old: Azure.Analytics.Purview.Catalog/preview/2022-03-01-preview/purviewcatalog.json#L5040:9
    :warning: 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L5175:9
    Old: Azure.Analytics.Purview.Catalog/preview/2022-03-01-preview/purviewcatalog.json#L5079:9
    :warning: 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L5135:9
    Old: Azure.Analytics.Purview.Catalog/preview/2022-03-01-preview/purviewcatalog.json#L5040:9
    :warning: 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L5175:9
    Old: Azure.Analytics.Purview.Catalog/preview/2022-03-01-preview/purviewcatalog.json#L5079:9
    :warning: 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L5135:9
    Old: Azure.Analytics.Purview.Catalog/preview/2022-03-01-preview/purviewcatalog.json#L5040:9
    :warning: 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L5175:9
    Old: Azure.Analytics.Purview.Catalog/preview/2022-03-01-preview/purviewcatalog.json#L5079:9
    :warning: 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L5135:9
    Old: Azure.Analytics.Purview.Catalog/preview/2022-03-01-preview/purviewcatalog.json#L5040:9
    :warning: 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L5175:9
    Old: Azure.Analytics.Purview.Catalog/preview/2022-03-01-preview/purviewcatalog.json#L5079:9
    :warning: 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L5135:9
    Old: Azure.Analytics.Purview.Catalog/preview/2022-03-01-preview/purviewcatalog.json#L5040:9
    :warning: 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L5175:9
    Old: Azure.Analytics.Purview.Catalog/preview/2022-03-01-preview/purviewcatalog.json#L5079:9
    :warning: 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L5135:9
    Old: Azure.Analytics.Purview.Catalog/preview/2022-03-01-preview/purviewcatalog.json#L5040:9
    :warning: 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L5175:9
    Old: Azure.Analytics.Purview.Catalog/preview/2022-03-01-preview/purviewcatalog.json#L5079:9
    :warning: 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L5135:9
    Old: Azure.Analytics.Purview.Catalog/preview/2022-03-01-preview/purviewcatalog.json#L5040:9
    :warning: 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L5175:9
    Old: Azure.Analytics.Purview.Catalog/preview/2022-03-01-preview/purviewcatalog.json#L5079:9
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️❌LintDiff: 1 Errors, 24 Warnings failed [Detail]
    compared tags (via openapi-validator v2.0.0) new version base version
    package-preview-2022-08 package-preview-2022-08(8f9b24d) default(main)

    [must fix]The following errors/warnings are introduced by current PR:

    Only 21 items are listed, please refer to log for more details.

    Rule Message Related RPC [For API reviewers]
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Glossary' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L3073
    :warning: ErrorResponse Error response should contain x-ms-error-response.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L1140
    :warning: ErrorResponse Error response should contain x-ms-error-response.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L1207
    :warning: ErrorResponse Error response should contain x-ms-error-response.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L1242
    :warning: PathParameterSchema Path parameter maximum length should be less than 2083
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L3044
    :warning: ErrorResponse Error response should contain a x-ms-error-code header.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L3058
    :warning: ErrorResponse Error response schema should contain an object property named error.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L3060
    :warning: RequestBodyNotAllowed A get or delete operation must not accept a body parameter.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L3090
    :warning: LroHeaders A 202 response should include an Operation-Location response header.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L3104
    :warning: ErrorResponse Error response should contain a x-ms-error-code header.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L3110
    :warning: ErrorResponse Error response schema should contain an object property named error.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L3112
    :warning: ParameterNamesConvention Parameter name 'attr:qualifiedName' should be camel case.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L3471
    :warning: ErrorResponse Error response should contain x-ms-error-response.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L3661
    :warning: ErrorResponse Error response should contain x-ms-error-response.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L3839
    :warning: ErrorResponse Error response should contain x-ms-error-response.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L4187
    :warning: ErrorResponse Error response should contain x-ms-error-response.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L4220
    :warning: PropertyDescription Property should have a description.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L7597
    :warning: PropertyDescription Property should have a description.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L7627
    :warning: PropertyDescription Property should have a description.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L7639
    :warning: PropertyDescription Property should have a description.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L7645
    :warning: PropertyDescription Property should have a description.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L7651


    The following errors/warnings exist before current PR submission:

    Only 21 items are listed, please refer to log for more details.

    Rule Message
    HostParametersValidation The host parameter must be called 'endpoint'.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L12
    HostParametersValidation The host parameter must be typed 'type 'string', format 'url''.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L12
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Entity' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L298
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Entity' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L604
    AvoidAnonymousParameter Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L968
    AvoidAnonymousParameter Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L1014
    AvoidAnonymousParameter Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L1059
    AvoidAnonymousParameter Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L1104
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Glossary' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L1567
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Glossary' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L1606
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Glossary' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L1653
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Glossary' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L1692
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Glossary' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L1723
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Glossary' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L1763
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Glossary' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L1793
    AvoidAnonymousParameter Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L1808
    AvoidAnonymousTypes Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L1862
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Glossary' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L1934
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Glossary' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L1979
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Glossary' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L2028
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Glossary' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L2071
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️⚠️~[Staging] ServiceAPIReadinessTest: 0 Warnings warning [Detail]

    API Test is not triggered due to precheck failure. Check pipeline log for details.

    ️️✔️~[Staging] SwaggerAPIView succeeded [Detail] [Expand]
    ️❌ModelValidation: 500 Errors, 0 Warnings failed [Detail]

    Only 21 items are listed, please refer to log for more details.

    Rule Message
    INVALID_TYPE Expected type object but found type string
    Url: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L6549:35
    ExampleUrl: preview/2022-08-01-preview/examples/Entity_Create.json#L4:15
    INVALID_TYPE Expected type object but found type integer
    Url: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L6549:35
    ExampleUrl: preview/2022-08-01-preview/examples/Entity_Create.json#L4:15
    INVALID_TYPE Expected type object but found type string
    Url: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L6549:35
    ExampleUrl: preview/2022-08-01-preview/examples/Entity_Create.json#L46:34
    INVALID_TYPE Expected type object but found type string
    Url: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L6549:35
    ExampleUrl: preview/2022-08-01-preview/examples/Entity_Update.json#L4:15
    INVALID_TYPE Expected type object but found type integer
    Url: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L6549:35
    ExampleUrl: preview/2022-08-01-preview/examples/Entity_Update.json#L4:15
    INVALID_TYPE Expected type object but found type string
    Url: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L6549:35
    ExampleUrl: preview/2022-08-01-preview/examples/Entity_Update.json#L46:34
    INVALID_TYPE Expected type object but found type string
    Url: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L6549:35
    ExampleUrl: preview/2022-08-01-preview/examples/Entity_CustomAttribute.json#L4:15
    INVALID_TYPE Expected type object but found type integer
    Url: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L6549:35
    ExampleUrl: preview/2022-08-01-preview/examples/Entity_CustomAttribute.json#L4:15
    INVALID_TYPE Expected type object but found type string
    Url: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L6549:35
    ExampleUrl: preview/2022-08-01-preview/examples/Entity_CustomAttribute.json#L32:26
    INVALID_TYPE Expected type object but found type string
    Url: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L6549:35
    ExampleUrl: preview/2022-08-01-preview/examples/Entity_CustomAttribute.json#L34:34
    INVALID_TYPE Expected type object but found type string
    Url: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L6549:35
    ExampleUrl: preview/2022-08-01-preview/examples/Entity_CustomAttribute.json#L35:25
    INVALID_TYPE Expected type object but found type integer
    Url: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L6549:35
    ExampleUrl: preview/2022-08-01-preview/examples/Entity_CustomAttribute.json#L33:31
    INVALID_TYPE Expected type object but found type string
    Url: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L6549:35
    ExampleUrl: preview/2022-08-01-preview/examples/Entity_ListByGuids.json#L18:32
    INVALID_TYPE Expected type object but found type string
    Url: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L6549:35
    ExampleUrl: preview/2022-08-01-preview/examples/Entity_ListByGuids.json#L19:23
    INVALID_TYPE Expected type object but found type string
    Url: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L6549:35
    ExampleUrl: preview/2022-08-01-preview/examples/Entity_ListByGuids.json#L21:23
    INVALID_TYPE Expected type object but found type string
    Url: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L6549:35
    ExampleUrl: preview/2022-08-01-preview/examples/Entity_ListByGuids.json#L66:32
    INVALID_TYPE Expected type object but found type string
    Url: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L6549:35
    ExampleUrl: preview/2022-08-01-preview/examples/Entity_ListByGuids.json#L67:23
    INVALID_TYPE Expected type object but found type string
    Url: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L6549:35
    ExampleUrl: preview/2022-08-01-preview/examples/Entity_ListByGuids.json#L69:23
    INVALID_TYPE Expected type object but found type array
    Url: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L5464:20
    ExampleUrl: preview/2022-08-01-preview/examples/Entity_ListByGuids.json#L31:25
    INVALID_TYPE Expected type object but found type array
    Url: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L5464:20
    ExampleUrl: preview/2022-08-01-preview/examples/Entity_ListByGuids.json#L32:35
    INVALID_TYPE Expected type object but found type array
    Url: Azure.Analytics.Purview.Catalog/preview/2022-08-01-preview/purviewcatalog.json#L5464:20
    ExampleUrl: preview/2022-08-01-preview/examples/Entity_ListByGuids.json#L43:27
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️PoliCheck succeeded [Detail] [Expand]
    Validation passed for PoliCheck.
    ️️✔️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).
    ️️✔️CadlValidation succeeded [Detail] [Expand]
    Validation passes for CadlValidation.
    ️️✔️PR Summary succeeded [Detail] [Expand]
    Validation passes for Summary.
    Posted by Swagger Pipeline | How to fix these errors?

    Swagger Generation Artifacts

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

    Breaking Changes Tracking

    ️❌ azure-sdk-for-net-track2 failed [Detail]
    • Failed [Logs] Generate from 133cdd24ada7c029025fa2d133c24876a42e712c. SDK Automation 14.0.0
      Only show 24 items here, please refer to log for details.
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [96mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [96m 611 | [0m         [96mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [96m     | [91m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [91m[96m     | [91mFailed to build sdk. exit code: False
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [91mGeneratePackage: [0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:611
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [96mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [96m 611 | [0m         [96mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [96m     | [91m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [91m[96m     | [91mFailed to packe sdk. exit code: False
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [91mGet-ChildItem: [0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:698
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [96mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [96m 698 | [0m … rtifacts += [96mGet-ChildItem $artifactsPath -Filter *.nupkg -exclude *.s[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [96m     | [91m               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [91m[96m     | [91mCannot find path
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [96m     | [91m'/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/packages/Debug/' because it does not exist.
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [91mGeneratePackage: [0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:611
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [96mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [96m 611 | [0m         [96mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [96m     | [91m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [91m[96m     | [91mFailed to generate sdk artifact
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [0m
    • Azure.Analytics.Purview.Account [View full logs]  [Preview SDK Changes]
      info	[Changelog]
    • Azure.Analytics.Purview.Administration [View full logs]  [Preview SDK Changes]
      info	[Changelog]
    • Azure.Analytics.Purview.Catalog [View full logs]  [Preview SDK Changes]
      info	[Changelog]
    • Azure.Analytics.Purview.Scanning [View full logs]  [Preview SDK Changes]
      info	[Changelog]
    • ️✔️Azure.Analytics.Purview.Share [View full logs]  [Preview SDK Changes]
      info	[Changelog]
    Posted by Swagger Pipeline | How to fix these errors?

    Generated ApiView

    Language Package Name ApiView Link
    swagger Azure.Analytics https://apiview.dev/Assemblies/Review/ae23467b5c5e4a8399c8da52c7af0151
    .Net Azure.Analytics.Purview.Share https://apiview.dev/Assemblies/Review/b6d7a1db9f6446e49c1b69bfe21b2fbf

    Hi @yifan-zhou922, Your PR has some issues. Please fix the CI sequentially by following the order of Avocado, semantic validation, model validation, breaking change, lintDiff. If you have any questions, please post your questions in this channel https://aka.ms/swaggersupport.

    TaskHow to fixPriority
    AvocadoFix-AvocadoHigh
    Semantic validationFix-SemanticValidation-ErrorHigh
    Model validationFix-ModelValidation-ErrorHigh
    LintDiffFix-LintDiffhigh
    If you need further help, please feedback via swagger feedback.

    Hi, @yifan-zhou922. 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 avatar Aug 21 '22 16:08 ghost

    Hi, @yifan-zhou922. 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 avatar Sep 11 '22 16:09 ghost

    Hi, @yifan-zhou922. 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 avatar Oct 02 '22 16:10 ghost

    Hi, @yifan-zhou922. The PR will be closed since the PR has no update for 28 days. If you still need the PR review to proceed, please reopen it and @ mention PR assignee.

    ghost avatar Oct 17 '22 05:10 ghost

    Hi, @yifan-zhou922, For review efficiency consideration, when creating a new api version, it is required to place API specs of the base version in the first commit, and push new version updates into successive commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki. Or you could onboard API spec pipeline

    Hi, @yifan-zhou922. 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 avatar Dec 18 '22 16:12 ghost

    Hi, @yifan-zhou922. The PR will be closed since the PR has no update for 28 days. If you still need the PR review to proceed, please reopen it and @ mention PR assignee.

    ghost avatar Jan 02 '23 05:01 ghost