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

add apitestErrorCode doc #14749

Merged
merged 22 commits into from
Aug 2, 2021
Merged

add apitestErrorCode doc #14749

merged 22 commits into from
Aug 2, 2021

Conversation

ruowan
Copy link
Member

@ruowan ruowan commented Jun 10, 2021

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

Changelog

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

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

Contribution checklist:

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

ARM API Review Checklist

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

    • Adding new API(s)
    • Adding a new API version
    • Ensure to copy the existing version into new directory structure for first commit (including refactoring) and then push new changes including version updates in separate commits. This is required to review the changes efficiently.
    • Adding a new service
  • Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

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

Breaking Change Review Checklist

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

  • Removing API(s) in stable version
  • Removing properties in stable version
  • Removing API version(s) in stable version
  • Updating API in stable 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, @ruowan 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 Jun 10, 2021

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.

    ️⚠️LintDiff: 0 Warnings warning [Detail]
    The following errors/warnings exist before current PR submission:

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

    Rule Message
    R2026 - 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: Microsoft.ServiceFabric/stable/2020-03-01/cluster.json#L674
    R2026 - 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: Microsoft.ServiceFabric/preview/2020-01-01-preview/managedcluster.json#L569
    R3021 - PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/CheckNameAvailability'
    Location: Microsoft.ServiceBus/preview/2021-01-01-preview/DisasterRecoveryConfig.json#L37
    R3021 - PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/AuthorizationRules'
    Location: Microsoft.ServiceBus/preview/2021-01-01-preview/AuthorizationRules.json#L37
    R3021 - PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}'
    Location: Microsoft.ServiceBus/preview/2021-01-01-preview/AuthorizationRules.json#L85
    R3021 - PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}/listKeys'
    Location: Microsoft.ServiceBus/preview/2021-01-01-preview/AuthorizationRules.json#L234
    R3021 - PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}/regenerateKeys'
    Location: Microsoft.ServiceBus/preview/2021-01-01-preview/AuthorizationRules.json#L282
    R3021 - PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}/authorizationRules/{authorizationRuleName}/ListKeys'
    Location: Microsoft.ServiceBus/preview/2021-01-01-preview/AuthorizationRules.json#L545
    R3021 - PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules/{authorizationRuleName}/ListKeys'
    Location: Microsoft.ServiceBus/preview/2021-01-01-preview/AuthorizationRules.json#L865
    R3021 - PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/CheckNameAvailability'
    Location: Microsoft.ServiceBus/preview/2021-01-01-preview/CheckNameAvailability.json#L37
    R4009 - RequiredReadOnlySystemData The response of operation:'SignalR_Get' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.SignalRService/preview/2020-07-01-preview/signalr.json#L235
    R4009 - RequiredReadOnlySystemData The response of operation:'SignalRPrivateEndpointConnections_Get' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.SignalRService/preview/2020-07-01-preview/signalr.json#L472
    R4009 - RequiredReadOnlySystemData The response of operation:'SignalR_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.SignalRService/preview/2020-07-01-preview/signalr.json#L275
    R4009 - RequiredReadOnlySystemData The response of operation:'SignalRPrivateEndpointConnections_Update' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.SignalRService/preview/2020-07-01-preview/signalr.json#L519
    R4009 - RequiredReadOnlySystemData The response of operation:'SignalR_Update' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.SignalRService/preview/2020-07-01-preview/signalr.json#L375
    R4009 - RequiredReadOnlySystemData The response of operation:'SignalRPrivateEndpointConnections_Get' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.SignalRService/stable/2020-05-01/signalr.json#L189
    R4009 - RequiredReadOnlySystemData The response of operation:'SignalR_Get' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.SignalRService/stable/2020-05-01/signalr.json#L484
    R4009 - RequiredReadOnlySystemData The response of operation:'SignalRPrivateEndpointConnections_Update' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.SignalRService/stable/2020-05-01/signalr.json#L236
    R4009 - RequiredReadOnlySystemData The response of operation:'SignalR_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.SignalRService/stable/2020-05-01/signalr.json#L524
    R4009 - RequiredReadOnlySystemData The response of operation:'SignalR_Update' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.SignalRService/stable/2020-05-01/signalr.json#L624
    R4010 - RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.ServiceFabric/stable/2020-03-01/cluster.json#L344
    R4010 - RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.ServiceFabric/stable/2020-03-01/cluster.json#L384
    R4010 - RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.ServiceFabric/stable/2020-03-01/cluster.json#L418
    R4010 - RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.ServiceFabric/stable/2020-03-01/cluster.json#L455
    R4011 - DeleteOperationResponses The delete operation is defined without a 200 or 204 error response implementation,please add it.'
    Location: Microsoft.ServiceBus/preview/2021-01-01-preview/DisasterRecoveryConfig.json#L217
    R4011 - DeleteOperationResponses The delete operation is defined without a 200 or 204 error response implementation,please add it.'
    Location: Microsoft.ServiceFabric/stable/2020-03-01/application.json#L202
    R4011 - DeleteOperationResponses The delete operation is defined without a 200 or 204 error response implementation,please add it.'
    Location: Microsoft.ServiceFabric/stable/2020-03-01/application.json#L400
    R4011 - DeleteOperationResponses The delete operation is defined without a 200 or 204 error response implementation,please add it.'
    Location: Microsoft.ServiceFabric/stable/2020-03-01/application.json#L650
    R4011 - DeleteOperationResponses The delete operation is defined without a 200 or 204 error response implementation,please add it.'
    Location: Microsoft.ServiceFabric/stable/2020-03-01/application.json#L909
    R4011 - DeleteOperationResponses The delete operation is defined without a 200 or 204 error response implementation,please add it.'
    Location: Microsoft.SignalRService/preview/2020-07-01-preview/signalr.json#L354
    ️❌Avocado: 4 Errors, 1 Warnings failed [Detail]
    Rule Message
    INCONSISTENT_API_VERSION The API version of the swagger is inconsistent with its file path.
    readme: specification/servicebus/resource-manager/readme.md
    json: Microsoft.ServiceBus/preview/2021-01-01-preview/operations.json
    UNREFERENCED_JSON_FILE The swagger JSON file is not referenced from the readme file.
    readme: specification/signalr/resource-manager/readme.md
    json: preview/2020-07-01-preview/test-scenarios/generate_unique_string.json
    UNREFERENCED_JSON_FILE The swagger JSON file is not referenced from the readme file.
    readme: specification/signalr/resource-manager/readme.md
    json: preview/2020-07-01-preview/test-scenarios/parameters.json
    UNREFERENCED_JSON_FILE The swagger JSON file is not referenced from the readme file.
    readme: specification/signalr/resource-manager/readme.md
    json: preview/2020-07-01-preview/test-scenarios/template.json
    ⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
    readme: specification/servicefabric/resource-manager/readme.md
    tag: specification/servicefabric/resource-manager/readme.md#tag-package-2020-03
    ️❌ModelValidation: 12 Errors, 0 Warnings failed [Detail]
    Rule Message
    SECRET_PROPERTY Secret property "secondaryConnectionString", cannot be sent in the response.
    Url: Microsoft.SignalRService/preview/2020-07-01-preview/signalr.json#L1481
    JsonUrl: preview/2020-07-01-preview/examples/SignalR_ListKeys.json#L14
    SECRET_PROPERTY Secret property "primaryConnectionString", cannot be sent in the response.
    Url: Microsoft.SignalRService/preview/2020-07-01-preview/signalr.json#L1476
    JsonUrl: preview/2020-07-01-preview/examples/SignalR_ListKeys.json#L13
    SECRET_PROPERTY Secret property "secondaryKey", cannot be sent in the response.
    Url: Microsoft.SignalRService/preview/2020-07-01-preview/signalr.json#L1471
    JsonUrl: preview/2020-07-01-preview/examples/SignalR_ListKeys.json#L12
    SECRET_PROPERTY Secret property "primaryKey", cannot be sent in the response.
    Url: Microsoft.SignalRService/preview/2020-07-01-preview/signalr.json#L1466
    JsonUrl: preview/2020-07-01-preview/examples/SignalR_ListKeys.json#L11
    SECRET_PROPERTY Secret property "secondaryConnectionString", cannot be sent in the response.
    Url: Microsoft.SignalRService/preview/2020-07-01-preview/signalr.json#L1481
    JsonUrl: preview/2020-07-01-preview/examples/SignalR_RegenerateKey.json#L17
    SECRET_PROPERTY Secret property "primaryConnectionString", cannot be sent in the response.
    Url: Microsoft.SignalRService/preview/2020-07-01-preview/signalr.json#L1476
    JsonUrl: preview/2020-07-01-preview/examples/SignalR_RegenerateKey.json#L16
    SECRET_PROPERTY Secret property "secondaryKey", cannot be sent in the response.
    Url: Microsoft.SignalRService/preview/2020-07-01-preview/signalr.json#L1471
    JsonUrl: preview/2020-07-01-preview/examples/SignalR_RegenerateKey.json#L15
    SECRET_PROPERTY Secret property "primaryKey", cannot be sent in the response.
    Url: Microsoft.SignalRService/preview/2020-07-01-preview/signalr.json#L1466
    JsonUrl: preview/2020-07-01-preview/examples/SignalR_RegenerateKey.json#L14
    SECRET_PROPERTY Secret property "secondaryKey", cannot be sent in the response.
    Url: Microsoft.SignalRService/stable/2020-05-01/signalr.json#L1600
    JsonUrl: stable/2020-05-01/examples/SignalR_ListKeys.json#L12
    SECRET_PROPERTY Secret property "primaryKey", cannot be sent in the response.
    Url: Microsoft.SignalRService/stable/2020-05-01/signalr.json#L1595
    JsonUrl: stable/2020-05-01/examples/SignalR_ListKeys.json#L11
    SECRET_PROPERTY Secret property "secondaryKey", cannot be sent in the response.
    Url: Microsoft.SignalRService/stable/2020-05-01/signalr.json#L1600
    JsonUrl: stable/2020-05-01/examples/SignalR_RegenerateKey.json#L15
    SECRET_PROPERTY Secret property "primaryKey", cannot be sent in the response.
    Url: Microsoft.SignalRService/stable/2020-05-01/signalr.json#L1595
    JsonUrl: stable/2020-05-01/examples/SignalR_RegenerateKey.json#L14
    ️❌SemanticValidation: 51 Errors, 0 Warnings failed [Detail]

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

    Rule Message
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: info
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: swagger
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: scope
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: testScenarios
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: info
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: swagger
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: scope
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: testScenarios
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: info
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: swagger
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: scope
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: testScenarios
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: info
    JsonUrl: preview/2020-07-01-preview/test-scenarios/generate_unique_string.json#L1
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: swagger
    JsonUrl: preview/2020-07-01-preview/test-scenarios/generate_unique_string.json#L1
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: $schema
    JsonUrl: preview/2020-07-01-preview/test-scenarios/generate_unique_string.json#L1
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: contentVersion
    JsonUrl: preview/2020-07-01-preview/test-scenarios/generate_unique_string.json#L1
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: variables
    JsonUrl: preview/2020-07-01-preview/test-scenarios/generate_unique_string.json#L1
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: resources
    JsonUrl: preview/2020-07-01-preview/test-scenarios/generate_unique_string.json#L1
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: outputs
    JsonUrl: preview/2020-07-01-preview/test-scenarios/generate_unique_string.json#L1
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: schema
    JsonUrl: preview/2020-07-01-preview/test-scenarios/generate_unique_string.json#L5
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: in
    JsonUrl: preview/2020-07-01-preview/test-scenarios/generate_unique_string.json#L5
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: info
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: swagger
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: scope
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: testScenarios
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: info
    JsonUrl: preview/2020-07-01-preview/test-scenarios/parameters.json#L1
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: swagger
    JsonUrl: preview/2020-07-01-preview/test-scenarios/parameters.json#L1
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: $schema
    JsonUrl: preview/2020-07-01-preview/test-scenarios/parameters.json#L1
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: contentVersion
    JsonUrl: preview/2020-07-01-preview/test-scenarios/parameters.json#L1
    OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: schema
    JsonUrl: preview/2020-07-01-preview/test-scenarios/parameters.json#L5
    ️️✔️Cross-Version Breaking Changes succeeded [Detail] [Expand]
    There are no breaking changes.
    ️❌CredScan: 0 Errors, 0 Warnings failed [Detail]
    ️⚠️[Staging] SDK Track2 Validation: 0 Warnings warning [Detail]
    The following errors/warnings are introduced by current PR:

    |:speech_balloon: AutorestCore/Exception|"readme":"servicebus/resource-manager/readme.md",
    "tag":"package-2021-01-preview",
    "details":"> Installing AutoRest extension '@microsoft.azure/openapi-validator' (1.8.0)"|
    |:speech_balloon: AutorestCore/Exception|"readme":"servicebus/resource-manager/readme.md",
    "tag":"package-2021-01-preview",
    "details":"> Installed AutoRest extension '@microsoft.azure/openapi-validator' (1.8.0->1.8.0)"|


    The following errors/warnings exist before current PR submission:

    Rule Message
    ⚠️ PreCheck/PropertyRedeclarationWarning "readme":"servicebus/resource-manager/readme.md",
    "tag":"package-2021-01-preview",
    "details":"Schema 'SqlRuleAction' has a property 'sqlExpression' that is already declared the parent schema 'Action' but isn't significantly different. The property has been removed from SqlRuleAction"
    ⚠️ PreCheck/PropertyRedeclarationWarning "readme":"servicebus/resource-manager/readme.md",
    "tag":"package-2021-01-preview",
    "details":"Schema 'SqlRuleAction' has a property 'compatibilityLevel' that is already declared the parent schema 'Action' but isn't significantly different. The property has been removed from SqlRuleAction"
    ⚠️ PreCheck/PropertyRedeclarationWarning "readme":"servicebus/resource-manager/readme.md",
    "tag":"package-2021-01-preview",
    "details":"Schema 'SqlRuleAction' has a property 'requiresPreprocessing' that is already declared the parent schema 'Action' but isn't significantly different. The property has been removed from SqlRuleAction"
    💬 AutorestCore/Exception "readme":"servicebus/resource-manager/readme.md",
    "tag":"package-2021-01-preview",
    "details":"> Loading AutoRest extension '@autorest/modelerfour' (4.15.456->4.15.456)"
    💬 AutorestCore/Exception "readme":"signalr/resource-manager/readme.md",
    "tag":"package-2020-07-01-preview",
    "details":"> Loading AutoRest extension '@microsoft.azure/openapi-validator' (1.8.0->1.8.0)"
    💬 AutorestCore/Exception "readme":"signalr/resource-manager/readme.md",
    "tag":"package-2020-07-01-preview",
    "details":"> Loading AutoRest extension '@autorest/modelerfour' (4.15.456->4.15.456)"
    💬 AutorestCore/Exception "readme":"signalr/resource-manager/readme.md",
    "tag":"package-2020-05-01",
    "details":"> Loading AutoRest extension '@microsoft.azure/openapi-validator' (1.8.0->1.8.0)"
    💬 AutorestCore/Exception "readme":"signalr/resource-manager/readme.md",
    "tag":"package-2020-05-01",
    "details":"> Loading AutoRest extension '@autorest/modelerfour' (4.15.456->4.15.456)"
    ️❌[Staging] PrettierCheck: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    HowToFix Code style issues found
    path: preview/2020-07-01-preview/test-scenarios/generate_unique_string.json
    ️❌[Staging] SpellCheck: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    HowToFix Unknown word (ruowantest), please fix the error or add words to ./custom-words.txt
    path: preview/2020-07-01-preview/test-scenarios/parameters.json#L6:17
    ️️✔️[Staging] 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 Jun 10, 2021

    Swagger Generation Artifacts

    ️❌[Staging] ApiDocPreview: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    RestBuild error "logUrl":"https://apidrop.visualstudio.com/Content%20CI/_build/results?buildId=241547&view=logs&j=fd490c07-0b22-5182-fac9-6d67fe1e939b",
    "detail":"FATAL: swagger-document/loader - FAILED"
    ️⚠️[Staging] SDK Breaking Change Tracking warning [Detail]

    Breaking Changes Tracking

    ⚠️azure-sdk-for-python-track2 - track2_azure-mgmt-servicebus - 6.0.0
    +	Parameter id of model Subnet is now required
    +	Removed operation NamespacesOperations.create_or_update_ip_filter_rule
    +	Removed operation NamespacesOperations.create_or_update_virtual_network_rule
    +	Removed operation NamespacesOperations.delete_ip_filter_rule
    +	Removed operation NamespacesOperations.delete_virtual_network_rule
    +	Removed operation NamespacesOperations.get_ip_filter_rule
    +	Removed operation NamespacesOperations.get_virtual_network_rule
    +	Removed operation NamespacesOperations.list_ip_filter_rules
    +	Removed operation NamespacesOperations.list_virtual_network_rules
    +	Removed operation NamespacesOperations.migrate
    ️✔️azure-sdk-for-python-track2 - track2_azure-mgmt-signalr - 1.0.0b2
    ️✔️azure-sdk-for-go - servicebus/mgmt/2017-04-01/servicebus - v56.0.0
    ️✔️azure-sdk-for-go - servicebus/mgmt/2015-08-01/servicebus - v56.0.0
    ️✔️azure-sdk-for-go - preview/servicebus/mgmt/2018-01-01-preview/servicebus - v56.0.0
    ️✔️azure-sdk-for-go - signalr/mgmt/2020-05-01/signalr - v56.0.0
    ️✔️azure-sdk-for-go - signalr/mgmt/2018-10-01/signalr - v56.0.0
    ️✔️azure-sdk-for-go - preview/signalr/mgmt/2021-04-01-preview/signalr - v56.0.0
    ️✔️azure-sdk-for-go - preview/signalr/mgmt/2020-07-01-preview/signalr - v56.0.0
    ️✔️azure-sdk-for-go - preview/signalr/mgmt/2018-03-01-preview/signalr - v56.0.0
    ⚠️azure-sdk-for-go - preview/signalr/mgmt/2021-06-01-preview/signalr - v56.0.0
    +	Package was removed
    ️✔️azure-sdk-for-go - servicefabric/mgmt/2019-03-01/servicefabric - v56.0.0
    ️✔️azure-sdk-for-go - servicefabric/mgmt/2016-09-01/servicefabric - v56.0.0
    ️✔️azure-sdk-for-go - preview/servicefabric/mgmt/2019-03-01-preview/servicefabric - v56.0.0
    ️✔️azure-sdk-for-go - preview/servicefabric/mgmt/2018-02-01-preview/servicefabric - v56.0.0
    ️✔️azure-sdk-for-go - preview/servicefabric/mgmt/2017-07-01-preview/servicefabric - v56.0.0
    ️❌ azure-sdk-for-net failed [Detail]
    • Failed [Logs]Release - Generate from 45bf753. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	sudo apt-get install -y dotnet-sdk-5.0
      warn		documentation/test-scenario/readme.md skipped due to azure-sdk-for-net not found in swagger-to-sdk
      command	autorest --version=V2 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/servicebus/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
      command	autorest --version=V2 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/servicefabric/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
      command	autorest --version=V2 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/signalr/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.ServiceBus [View full logs]  [Release SDK Changes]
    • ️✔️Microsoft.Azure.Management.ServiceFabric [View full logs]  [Release SDK Changes]
    • Microsoft.Azure.Management.SignalR [View full logs]  [Release SDK Changes]
      cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/signalr/Microsoft.Azure.Management.SignalR/tests/Tests/SignalRTests.cs(153,34): error CS1061: 'SignalRResource' does not contain a definition for 'DisableAadAuth' and no accessible extension method 'DisableAadAuth' accepting a first argument of type 'SignalRResource' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/signalr/Microsoft.Azure.Management.SignalR/tests/Microsoft.Azure.Management.SignalR.Tests.csproj]
      cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/signalr/Microsoft.Azure.Management.SignalR/tests/Tests/SignalRTests.cs(154,34): error CS1061: 'SignalRResource' does not contain a definition for 'DisableLocalAuth' and no accessible extension method 'DisableLocalAuth' accepting a first argument of type 'SignalRResource' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/signalr/Microsoft.Azure.Management.SignalR/tests/Microsoft.Azure.Management.SignalR.Tests.csproj]
      cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/signalr/Microsoft.Azure.Management.SignalR/tests/Tests/SignalRTests.cs(221,17): error CS0117: 'SignalRResource' does not contain a definition for 'DisableLocalAuth' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/signalr/Microsoft.Azure.Management.SignalR/tests/Microsoft.Azure.Management.SignalR.Tests.csproj]
      cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/signalr/Microsoft.Azure.Management.SignalR/tests/Tests/SignalRTests.cs(247,33): error CS1061: 'SignalRResource' does not contain a definition for 'DisableLocalAuth' and no accessible extension method 'DisableLocalAuth' accepting a first argument of type 'SignalRResource' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/signalr/Microsoft.Azure.Management.SignalR/tests/Microsoft.Azure.Management.SignalR.Tests.csproj]
      cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/signalr/Microsoft.Azure.Management.SignalR/tests/Tests/SignalRTests.cs(153,34): error CS1061: 'SignalRResource' does not contain a definition for 'DisableAadAuth' and no accessible extension method 'DisableAadAuth' accepting a first argument of type 'SignalRResource' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/signalr/Microsoft.Azure.Management.SignalR/tests/Microsoft.Azure.Management.SignalR.Tests.csproj]
      cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/signalr/Microsoft.Azure.Management.SignalR/tests/Tests/SignalRTests.cs(154,34): error CS1061: 'SignalRResource' does not contain a definition for 'DisableLocalAuth' and no accessible extension method 'DisableLocalAuth' accepting a first argument of type 'SignalRResource' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/signalr/Microsoft.Azure.Management.SignalR/tests/Microsoft.Azure.Management.SignalR.Tests.csproj]
      cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/signalr/Microsoft.Azure.Management.SignalR/tests/Tests/SignalRTests.cs(221,17): error CS0117: 'SignalRResource' does not contain a definition for 'DisableLocalAuth' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/signalr/Microsoft.Azure.Management.SignalR/tests/Microsoft.Azure.Management.SignalR.Tests.csproj]
      cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/signalr/Microsoft.Azure.Management.SignalR/tests/Tests/SignalRTests.cs(247,33): error CS1061: 'SignalRResource' does not contain a definition for 'DisableLocalAuth' and no accessible extension method 'DisableLocalAuth' accepting a first argument of type 'SignalRResource' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/signalr/Microsoft.Azure.Management.SignalR/tests/Microsoft.Azure.Management.SignalR.Tests.csproj]
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-net]: dotnet
    ️⚠️ azure-sdk-for-python warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 45bf753. 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] ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
      cmderr	[automation_init.sh] azure-mgmt-core 1.3.0 requires azure-core<2.0.0,>=1.15.0, but you have azure-core 1.6.0 which is incompatible.
      cmderr	[automation_init.sh] ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
      cmderr	[automation_init.sh] azure-mgmt-core 1.3.0 requires azure-core<2.0.0,>=1.15.0, but you have azure-core 1.6.0 which is incompatible.
      cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
      warn		documentation/test-scenario/readme.md skipped due to azure-sdk-for-python not found in swagger-to-sdk
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
    • ️✔️azure-mgmt-servicebus [View full logs]  [Release SDK Changes]
      info	[Changelog]
    • ️✔️azure-mgmt-servicefabric [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Model ManagedCluster has a new parameter addon_features
      info	[Changelog]   - Model ManagedClusterUpdateParameters has a new parameter addon_features
      info	[Changelog]
      info	[Changelog] **Breaking changes**
      info	[Changelog]
      info	[Changelog]   - Model ManagedCluster no longer has parameter reverse_proxy_endpoint_port
      info	[Changelog]   - Model ManagedCluster no longer has parameter use_test_extension
      info	[Changelog]   - Model ManagedCluster no longer has parameter cluster_upgrade_mode
      info	[Changelog]   - Model ManagedCluster no longer has parameter cluster_upgrade_description
      info	[Changelog]   - Model ManagedClusterUpdateParameters no longer has parameter cluster_upgrade_description
      info	[Changelog]   - Model ManagedClusterUpdateParameters no longer has parameter cluster_upgrade_mode
      info	[Changelog]   - Model ManagedClusterUpdateParameters no longer has parameter reverse_proxy_endpoint_port
    • ️✔️azure-mgmt-signalr [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Model UpstreamTemplate has a new parameter auth
      info	[Changelog]   - Model PrivateEndpointConnection has a new parameter system_data
      info	[Changelog]   - Model PrivateLinkResource has a new parameter shareable_private_link_resource_types
      info	[Changelog]   - Model SignalRResource has a new parameter tls
      info	[Changelog]   - Model SignalRResource has a new parameter system_data
      info	[Changelog]   - Model SignalRResource has a new parameter identity
      info	[Changelog]   - Model SignalRResource has a new parameter shared_private_link_resources
      info	[Changelog]   - Added operation SignalRPrivateEndpointConnectionsOperations.list
      info	[Changelog]   - Added operation group SignalRSharedPrivateLinkResourcesOperations
      info	[Changelog]
      info	[Changelog] **Breaking changes**
      info	[Changelog]
      info	[Changelog]   - Operation SignalROperations.update has a new signature
      info	[Changelog]   - Operation SignalROperations.create_or_update has a new signature
      info	[Changelog]   - Model SignalRResource no longer has parameter host_name_prefix
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 45bf753. 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.
      warn		documentation/test-scenario/readme.md skipped due to azure-sdk-for-python-track2 not found in swagger-to-sdk
      warn		specification/servicefabric/resource-manager/readme.md skipped due to azure-sdk-for-python-track2 not found in swagger-to-sdk
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
    • ️✔️track2_azure-mgmt-servicebus [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Model ArmDisasterRecovery has a new parameter system_data
      info	[Changelog]   - Model KeyVaultProperties has a new parameter key_version
      info	[Changelog]   - Model KeyVaultProperties has a new parameter identity
      info	[Changelog]   - Model SBTopic has a new parameter system_data
      info	[Changelog]   - Model SBAuthorizationRule has a new parameter system_data
      info	[Changelog]   - Model SBQueue has a new parameter system_data
      info	[Changelog]   - Model Encryption has a new parameter require_infrastructure_encryption
      info	[Changelog]   - Model SBSubscription has a new parameter system_data
      info	[Changelog]   - Model Identity has a new parameter user_assigned_identities
      info	[Changelog]   - Model Rule has a new parameter system_data
      info	[Changelog]   - Model NetworkRuleSet has a new parameter system_data
      info	[Changelog]   - Model SBNamespaceUpdateParameters has a new parameter private_endpoint_connections
      info	[Changelog]   - Model MigrationConfigProperties has a new parameter system_data
      info	[Changelog]   - Model PrivateEndpointConnection has a new parameter system_data
      info	[Changelog]   - Model SBNamespace has a new parameter private_endpoint_connections
      info	[Changelog]   - Model SBNamespace has a new parameter system_data
      info	[Changelog]   - Added operation NamespacesOperations.list_network_rule_sets
      info	[Changelog]
      info	[Changelog] **Breaking changes**
      info	[Changelog]
      info	[Changelog]   - Parameter id of model Subnet is now required
      info	[Changelog]   - Removed operation NamespacesOperations.list_virtual_network_rules
      info	[Changelog]   - Removed operation NamespacesOperations.migrate
      info	[Changelog]   - Removed operation NamespacesOperations.get_virtual_network_rule
      info	[Changelog]   - Removed operation NamespacesOperations.delete_virtual_network_rule
      info	[Changelog]   - Removed operation NamespacesOperations.create_or_update_ip_filter_rule
      info	[Changelog]   - Removed operation NamespacesOperations.list_ip_filter_rules
      info	[Changelog]   - Removed operation NamespacesOperations.get_ip_filter_rule
      info	[Changelog]   - Removed operation NamespacesOperations.create_or_update_virtual_network_rule
      info	[Changelog]   - Removed operation NamespacesOperations.delete_ip_filter_rule
    • ️✔️track2_azure-mgmt-signalr [View full logs]  [Release SDK Changes]
      info	[Changelog]
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 45bf753. SDK Automation 14.0.0
      command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
      warn		documentation/test-scenario/readme.md skipped due to azure-sdk-for-java not found in swagger-to-sdk
      command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
      warn	No file changes detected after generation
      warn	No package detected after generation
    • ️✔️azure-resourcemanager-servicebus-generated [View full logs]  [Release SDK Changes]
      cmderr	[Inst] 2021-08-02 03:32:48 DEBUG Got artifact_id: azure-resourcemanager-servicebus-generated
      cmderr	[Inst] 2021-08-02 03:32:48 DEBUG Got artifact: pom.xml
      cmderr	[Inst] 2021-08-02 03:32:48 DEBUG Got artifact: azure-resourcemanager-servicebus-generated-1.0.0-beta.1.jar
      cmderr	[Inst] 2021-08-02 03:32:48 DEBUG Match jar package: azure-resourcemanager-servicebus-generated-1.0.0-beta.1.jar
      cmderr	[Inst] 2021-08-02 03:32:48 DEBUG output: {"full": "```sh\ncurl -L \"https://portal.azure-devex-tools.com/api/sdk-dl-pub?p=Azure/14749/azure-sdk-for-java/azure-resourcemanager-servicebus-generated/azure-resourcemanager-servicebus-generated-1.0.0-beta.1.jar\" -o azure-resourcemanager-servicebus-generated-1.0.0-beta.1.jar\nmvn install:install-file -DgroupId=com.azure.resourcemanager -DartifactId=azure-resourcemanager-servicebus-generated -Dversion=1.0.0-beta.0 -Dfile=azure-resourcemanager-servicebus-generated-1.0.0-beta.1.jar -Dpackaging=jar -DgeneratePom=true
      ```"}
    • ️✔️azure-resourcemanager-servicefabric [View full logs]  [Release SDK Changes]
      cmderr	[Inst] 2021-08-02 03:33:35 DEBUG Got artifact_id: azure-resourcemanager-servicefabric
      cmderr	[Inst] 2021-08-02 03:33:35 DEBUG Got artifact: pom.xml
      cmderr	[Inst] 2021-08-02 03:33:35 ERROR Unmatch any jar in artifacts
    • ️✔️azure-resourcemanager-signalr [View full logs]  [Release SDK Changes]
      cmderr	[Inst] 2021-08-02 03:34:11 DEBUG Got artifact_id: azure-resourcemanager-signalr
      cmderr	[Inst] 2021-08-02 03:34:11 DEBUG Got artifact: pom.xml
      cmderr	[Inst] 2021-08-02 03:34:11 ERROR Unmatch any jar in artifacts
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 45bf753. SDK Automation 14.0.0
      command	sh ./initScript.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      warn		documentation/test-scenario/readme.md skipped due to azure-sdk-for-go not found in swagger-to-sdk
      command	generator automation ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️servicebus/mgmt/2017-04-01/servicebus [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    • ️✔️servicebus/mgmt/2015-08-01/servicebus [View full logs
      info	[Changelog] No exported changes
    • ️✔️preview/servicebus/mgmt/2018-01-01-preview/servicebus [View full logs
      Only show 9 items here, please refer to log for details.
      info	[Changelog] - New function `NamespacesClient.ListNetworkRuleSetsPreparer(context.Context, string, string) (*http.Request, error)`
      info	[Changelog] - New function `NamespacesClient.ListNetworkRuleSetsResponder(*http.Response) (NetworkRuleSetListResult, error)`
      info	[Changelog] - New function `NetworkRuleSetListResultPage.Values() []NetworkRuleSet`
      info	[Changelog] - New struct `NetworkRuleSetListResult`
      info	[Changelog] - New struct `NetworkRuleSetListResultIterator`
      info	[Changelog] - New struct `NetworkRuleSetListResultPage`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 24 additive change(s).
      info	[Changelog]
    • ️✔️servicefabric/mgmt/2019-03-01/servicefabric [View full logs
      info	[Changelog] No exported changes
    • ️✔️servicefabric/mgmt/2016-09-01/servicefabric [View full logs
      info	[Changelog] No exported changes
    • ️✔️preview/servicefabric/mgmt/2019-03-01-preview/servicefabric [View full logs
      info	[Changelog] No exported changes
    • ️✔️preview/servicefabric/mgmt/2018-02-01-preview/servicefabric [View full logs
      info	[Changelog] No exported changes
    • ️✔️preview/servicefabric/mgmt/2017-07-01-preview/servicefabric [View full logs
      info	[Changelog] No exported changes
    • ️✔️signalr/mgmt/2020-05-01/signalr [View full logs
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] ### New Content
      info	[Changelog]
      info	[Changelog] - New function `ResourceSku.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `CreateOrUpdateProperties.MarshalJSON() ([]byte, error)`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 2 additive change(s).
      info	[Changelog]
    • ️✔️signalr/mgmt/2018-10-01/signalr [View full logs
      info	[Changelog] No exported changes
    • ️✔️preview/signalr/mgmt/2021-06-01-preview/signalr [View full logsBreaking Change Detected
      info	[Changelog] This package was removed
    • ️✔️preview/signalr/mgmt/2021-04-01-preview/signalr [View full logs
      info	[Changelog] No exported changes
    • ️✔️preview/signalr/mgmt/2020-07-01-preview/signalr [View full logs
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] ### New Content
      info	[Changelog]
      info	[Changelog] - New function `ResourceSku.MarshalJSON() ([]byte, error)`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 1 additive change(s).
      info	[Changelog]
    • ️✔️preview/signalr/mgmt/2018-03-01-preview/signalr [View full logs
      info	[Changelog] No exported changes
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 45bf753. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      warn		documentation/test-scenario/readme.md skipped due to azure-sdk-for-js not found in swagger-to-sdk
      warn		specification/servicefabric/resource-manager/readme.md skipped due to azure-sdk-for-js not found in swagger-to-sdk
      command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.typescript@4.7.0 --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/servicebus/resource-manager/readme.md
      command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.typescript@4.7.0 --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/signalr/resource-manager/readme.md
    • ️✔️@azure/arm-servicebus [View full logs]  [Release SDK Changes]
      cmderr	[npmPack] loaded rollup.config.js with warnings
      cmderr	[npmPack] (!) Unused external imports
      cmderr	[npmPack] default imported from external module 'rollup' but never used
      cmderr	[npmPack] ./esm/serviceBusManagementClient.js → ./dist/arm-servicebus.js...
      cmderr	[npmPack] created ./dist/arm-servicebus.js in 520ms
    • ️✔️@azure/arm-signalr [View full logs]  [Release SDK Changes]
      cmderr	[npmPack] loaded rollup.config.js with warnings
      cmderr	[npmPack] (!) Unused external imports
      cmderr	[npmPack] default imported from external module 'rollup' but never used
      cmderr	[npmPack] ./esm/signalRManagementClient.js → ./dist/arm-signalr.js...
      cmderr	[npmPack] created ./dist/arm-signalr.js in 352ms
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 45bf753. 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]
      cmderr	[initScript.sh]  The package-lock.json file was created with an old version of npm,
      cmderr	[initScript.sh]  so supplemental metadata must be fetched from the registry.
      cmderr	[initScript.sh]
      cmderr	[initScript.sh]  This is a one-time fix-up, please be patient...
      cmderr	[initScript.sh]
      warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
      warn		documentation/test-scenario/readme.md skipped due to azure-resource-manager-schemas not found in swagger-to-sdk
      command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
      warn	No file changes detected after generation
      warn	Skip detect changed packages
    • ️✔️servicebus [View full logs]  [Release Schema Changes]
    • ️✔️servicefabric [View full logs]  [Release Schema Changes]
    • ️✔️signalr [View full logs]  [Release Schema Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @ruowan ruowan requested a review from josefree June 10, 2021 03:12
    Copy link
    Contributor

    @raych1 raych1 left a comment

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    Can you add HowToFix block for each error code?

    ],
    "blobNfs":{
    "target":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/blofnfs/blobServices/default/containers/blobnfs",
    - "usageModel":"WRITE_WORKLOAD_15"
    Copy link
    Contributor

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    suggest to show what is actual response and what correct should be in 2 example

    Copy link
    Member Author

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    Sure. Will be covered in next PR.

    @ruowan ruowan merged commit 45bf753 into test-scenario-main Aug 2, 2021
    This was referenced Aug 2, 2021
    @JackTn JackTn deleted the ruowan/api-testing-code branch June 16, 2022 00:52
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    4 participants