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

Fix swagger correctness. #11839

Merged
merged 1 commit into from
Dec 8, 2020

Conversation

innosam
Copy link
Contributor

@innosam innosam commented Nov 27, 2020

  1. Add missing properties: isResolveRequired, totalCount read-only
    property to the moveResource and moveResourceCollection definition.
  2. Add missing properties: ETAG/properties.errors property to the move collection definition.

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

Changelog

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

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

Contribution checklist:

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

ARM API Review Checklist

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

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

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

Breaking Change Review Checklist

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

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

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

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

@innosam innosam requested a review from dukum November 27, 2020 09:01
@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Nov 27, 2020

Swagger Validation Report

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

️⚠️LintDiff: 1 Warnings warning [Detail]

Rule Message
⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: isResolveRequired
New: Microsoft.Migrate/preview/2019-10-01-preview/resourcemovercollection.json#L1238
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️[Staging] Cross Version BreakingChange (Base on preview version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️[Staging] Cross Version BreakingChange (Base on stable version) succeeded [Detail] [Expand]
There are no breaking changes.
Posted by Swagger Pipeline | How to fix these errors?

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Nov 27, 2020

Swagger Generation Artifacts

️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
- Breaking Change Detected
  • ️✔️Succeeded [Logs]Release - Generate from 716b540. SDK Automation 14.0.0
    command	sh ./initScript.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
    command	go run ./tools/generator/main.go ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
  • ️✔️preview/resourcemover/mgmt/2019-10-01-preview/resourcemover [View full logs]  [Release SDK Changes] Breaking Change Detected
    info	[Changelog] ## Breaking Changes
    info	[Changelog]
    info	[Changelog] ## Struct Changes
    info	[Changelog]
    info	[Changelog] ### Removed Structs
    info	[Changelog]
    info	[Changelog] 1. SummaryItem
    info	[Changelog]
    info	[Changelog] ### Removed Struct Fields
    info	[Changelog]
    info	[Changelog] 1. MoveResourceCollection.Summary
    info	[Changelog]
    info	[Changelog] ### New Funcs
    info	[Changelog]
    info	[Changelog] 1. MoveCollectionProperties.MarshalJSON() ([]byte, error)
    info	[Changelog] 1. MoveResourceCollection.MarshalJSON() ([]byte, error)
    info	[Changelog]
    info	[Changelog] ## Struct Changes
    info	[Changelog]
    info	[Changelog] ### New Structs
    info	[Changelog]
    info	[Changelog] 1. MoveCollectionPropertiesErrors
    info	[Changelog] 1. Summary
    info	[Changelog] 1. SummaryCollection
    info	[Changelog]
    info	[Changelog] ### New Struct Fields
    info	[Changelog]
    info	[Changelog] 1. MoveCollection.Etag
    info	[Changelog] 1. MoveCollectionProperties.Errors
    info	[Changelog] 1. MoveResourceCollection.SummaryCollection
    info	[Changelog] 1. MoveResourceCollection.TotalCount
    info	[Changelog] 1. MoveResourceProperties.IsResolveRequired
    info	[Changelog]
️❌ azure-sdk-for-python-track2 failed [Detail]
  • Failed [Logs]Release - Generate from 716b540. SDK Automation 14.0.0
    warn	Skip initScript due to not configured
    command	npx n 12
    command	python3 -m venv venv
    command	pip install --upgrade setuptools wheel pip
    command	pip install pathlib jinja2 msrestazure
    command	autorest --version=3.0.6272 --use=@autorest/[email protected] --python --python-mode=update --multiapi --track2 --python-sdks-folder=/home/vsts/work/1/s/w/azure-sdk-for-python/sdk ../azure-rest-api-specs/specification/resourcemover/resource-manager/readme.md
    cmdout	[Autorest] WARNING (PreCheck/AllOfWhenYouMeantRef): Schema 'MoveResourceProperties-moveStatus' is using an 'allOf' instead of a $ref. This creates a wasteful anonymous type when generating code.
    cmdout	[Autorest] WARNING (PreCheck/AllOfWhenYouMeantRef): Schema 'MoveResourceProperties-errors' is using an 'allOf' instead of a $ref. This creates a wasteful anonymous type when generating code.
    cmdout	[Autorest] WARNING (PreCheck/AllOfWhenYouMeantRef): Schema 'MoveCollectionProperties-errors' is using an 'allOf' instead of a $ref. This creates a wasteful anonymous type when generating code.
    cmdout	[Autorest] WARNING (PreCheck/AllOfWhenYouMeantRef): Schema 'SubnetReference' is using an 'allOf' instead of a $ref. This creates a wasteful anonymous type when generating code.
    cmdout	[Autorest] WARNING (PreCheck/AllOfWhenYouMeantRef): Schema 'LoadBalancerBackendAddressPoolReference' is using an 'allOf' instead of a $ref. This creates a wasteful anonymous type when generating code.
    cmdout	[Autorest] WARNING (PreCheck/AllOfWhenYouMeantRef): Schema 'LoadBalancerNatRuleReference' is using an 'allOf' instead of a $ref. This creates a wasteful anonymous type when generating code.
    cmdout	[Autorest] WARNING (PreCheck/AllOfWhenYouMeantRef): Schema 'SqlServerResourceSettings' is using an 'allOf' instead of a $ref. This creates a wasteful anonymous type when generating code.
    cmdout	[Autorest] WARNING (PreCheck/AllOfWhenYouMeantRef): Schema 'ResourceGroupResourceSettings' is using an 'allOf' instead of a $ref. This creates a wasteful anonymous type when generating code.
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'MoveResourceProperties-moveStatus' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'MoveResourceProperties-errors' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'MoveCollectionProperties-errors' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'MoveResourceFilter' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'MoveResourceFilterProperties' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'MoveResourceError' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'MoveResourceErrorBody' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'CloudError' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'CloudErrorBody' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/CheckDuplicateSchemas): Checking for duplicate schemas, this could take a (long) while.  Run with --verbose for more detail.
  • track2_azure-mgmt-resourcemover [View full logs]  [Release SDK Changes]
    cmderr	[buildConf] INFO:packaging_tools:Building template track2_azure-mgmt-resourcemover
    cmderr	[buildConf] INFO:packaging_tools.conf:Build default conf for track2_azure-mgmt-resourcemover
    cmderr	[buildConf] CRITICAL:__main__:[Errno 2] No such file or directory: 'track2_azure-mgmt-resourcemover/sdk_packaging.toml'
    error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-python/sdk/resourcemover]: python
    warn	Skip command for failed context: python ./build_package.py --dest sdk/resourcemover/azure-mgmt-resourcemover sdk/resourcemover/azure-mgmt-resourcemover
    warn	Skip command for failed context: python ./scripts/dev_setup.py -p track2_azure-mgmt-resourcemover
    warn	Skip command for failed context: python -m packaging_tools.code_report track2_azure-mgmt-resourcemover
    warn	Skip command for failed context: python -m packaging_tools.code_report track2_azure-mgmt-resourcemover --last-pypi
    warn	Not exact 2 reports found:
    warn	Not generating changelog.
️❌ azure-sdk-for-java failed [Detail]
  • Failed [Logs]Release - Generate from 716b540. 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] 2020-12-08 05:22:14 INFO [VERSION][Not Found] cannot find version for "com.azure.resourcemanager:azure-resourcemanager-resourcemover"
    cmderr	[generate.py] 2020-12-08 05:22:14 INFO [VERSION][Not Found] cannot find stable version, current version "1.0.0-beta.1"
    cmderr	[generate.py] 2020-12-08 05:22:14 INFO autorest --version=3.0.6327 --use=@autorest/[email protected] --java.azure-libraries-for-java-folder=/home/vsts/work/1/s/w/azure-sdk-for-java --java.output-folder=/home/vsts/work/1/s/w/azure-sdk-for-java/sdk/resourcemover/azure-resourcemanager-resourcemover --java.namespace=com.azure.resourcemanager.resourcemover  --package-version=1.0.0-beta.1 --java --pipeline.modelerfour.additional-checks=false --pipeline.modelerfour.lenient-model-deduplication=true --pipeline.modelerfour.flatten-payloads=false --azure-arm --verbose --sdk-integration --fluent=lite --java.fluent=lite --java.license-header=MICROSOFT_MIT_SMALL ../azure-rest-api-specs/specification/resourcemover/resource-manager/readme.md
    cmderr	[generate.py] 2020-12-08 05:22:52 INFO [CI][Success] Write to ci.yml
    cmderr	[generate.py] 2020-12-08 05:22:52 INFO [POM][Process] dealing with pom.xml
    cmderr	[generate.py] 2020-12-08 05:22:52 INFO [POM][Success] Write to pom.xml
    cmderr	[generate.py] 2020-12-08 05:22:52 INFO [POM][Process] dealing with root pom
    cmderr	[generate.py] 2020-12-08 05:22:52 INFO [POM][Success] Write to root pom
    cmderr	[generate.py] WARNING: An illegal reflective access operation has occurred
    cmderr	[generate.py] WARNING: Illegal reflective access by org.codehaus.groovy.reflection.ReflectionUtils (file:/home/vsts/.m2/repository/org/codehaus/groovy/groovy/3.0.0-beta-2/groovy-3.0.0-beta-2-indy.jar) to method java.util.Collections$UnmodifiableCollection.toString()
    cmderr	[generate.py] WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.ReflectionUtils
    cmderr	[generate.py] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
    cmderr	[generate.py] WARNING: All illegal access operations will be denied in a future release
    ENOTDIR: not a directory, scandir 'azure-sdk-for-java/pom.xml'
    Error: ENOTDIR: not a directory, scandir 'azure-sdk-for-java/pom.xml'
  • ️✔️azure-resourcemanager-resourcemover [View full logs
    error	Fatal error: ENOTDIR: not a directory, scandir 'azure-sdk-for-java/pom.xml'
    error	The following packages are still pending:
    error		azure-resourcemanager-resourcemover
️⚠️ azure-sdk-for-python warning [Detail]
  • ⚠️Warning [Logs]Release - Generate from 716b540. SDK Automation 14.0.0
    warn	Skip initScript due to not configured
    command	npx n 12
    command	python3 -m venv venv
    command	pip install --upgrade setuptools wheel pip
    command	pip install pathlib jinja2 msrestazure
    command	autorest --version=V2 [email protected]/autorest.python@~4.0.71 --python --python-mode=update --multiapi --keep-version-file --no-async --python-sdks-folder=/home/vsts/work/1/s/w/azure-sdk-for-python/sdk ../azure-rest-api-specs/specification/resourcemover/resource-manager/readme.md
  • ️✔️azure-mgmt-resourcemover [View full logs]  [Release SDK Changes]
    cmderr	[buildConf] INFO:packaging_tools:Building template azure-mgmt-resourcemover
    cmderr	[buildConf] INFO:packaging_tools.conf:Build default conf for azure-mgmt-resourcemover
    cmderr	[buildConf] INFO:packaging_tools:Template done azure-mgmt-resourcemover
    cmderr	[buildPackage] /home/vsts/work/1/s/w/azure-sdk-for-python_tmp/venv/lib/python3.6/site-packages/setuptools/dist.py:452: UserWarning: Normalizing '0.1.0-preview' to '0.1.0rc0'
    cmderr	[buildPackage]   warnings.warn(tmpl.format(**locals()))
    cmderr	[buildPackage] warning: no files found matching '*.py' under directory 'tests'
    cmderr	[buildPackage] warning: no files found matching '*.yaml' under directory 'tests'
    cmderr	[buildPackage] /home/vsts/work/1/s/w/azure-sdk-for-python_tmp/venv/lib/python3.6/site-packages/setuptools/dist.py:452: UserWarning: Normalizing '0.1.0-preview' to '0.1.0rc0'
    cmderr	[buildPackage]   warnings.warn(tmpl.format(**locals()))
    cmderr	[buildPackage] warning: no files found matching '*.py' under directory 'tests'
    cmderr	[buildPackage] warning: no files found matching '*.yaml' under directory 'tests'
    cmderr	[changelogSetup] WARNING: Skipping azure-nspkg as it is not installed.
    cmderr	[changelogReport] INFO:__main__:Looking for Autorest generated package in azure.mgmt.resourcemover
    cmderr	[changelogReport] INFO:__main__:Found azure.mgmt.resourcemover
    cmderr	[changelogReport] INFO:__main__:Working on azure.mgmt.resourcemover
    cmderr	[changelogReport] INFO:__main__:Report written to sdk/resourcemover/azure-mgmt-resourcemover/code_reports/latest/report.json
    cmderr	[changelogReportLatest] INFO:__main__:Download versions of azure-mgmt-resourcemover on PyPI
    cmderr	[changelogReportLatest] INFO:__main__:Got ['1.0.1b1']
    cmderr	[changelogReportLatest] INFO:__main__:Only keep last PyPI version
    cmderr	[changelogReportLatest] INFO:__main__:Installing version 1.0.1b1 of azure-mgmt-resourcemover in a venv
    cmderr	[changelogReportLatest] Cache entry deserialization failed, entry ignored
    cmderr	[changelogReportLatest] INFO:__main__:Looking for Autorest generated package in azure.mgmt.resourcemover
    cmderr	[changelogReportLatest] Traceback (most recent call last):
    cmderr	[changelogReportLatest]   File "/home/vsts/work/1/s/w/azure-sdk-for-python/tools/azure-sdk-tools/packaging_tools/code_report.py", line 297, in find_autorest_generated_folder
    cmderr	[changelogReportLatest]     model_module = importlib.import_module(".models", module_prefix)
    cmderr	[changelogReportLatest]   File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
    cmderr	[changelogReportLatest]     return _bootstrap._gcd_import(name[level:], package, level)
    cmderr	[changelogReportLatest]   File "<frozen importlib._bootstrap>", line 994, in _gcd_import
    cmderr	[changelogReportLatest]   File "<frozen importlib._bootstrap>", line 971, in _find_and_load
    cmderr	[changelogReportLatest]   File "<frozen importlib._bootstrap>", line 941, in _find_and_load_unlocked
    cmderr	[changelogReportLatest]   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
    cmderr	[changelogReportLatest]   File "<frozen importlib._bootstrap>", line 994, in _gcd_import
    cmderr	[changelogReportLatest]   File "<frozen importlib._bootstrap>", line 971, in _find_and_load
    cmderr	[changelogReportLatest]   File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
    cmderr	[changelogReportLatest]   File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
    cmderr	[changelogReportLatest]   File "<frozen importlib._bootstrap_external>", line 678, in exec_module
    cmderr	[changelogReportLatest]   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
    cmderr	[changelogReportLatest]   File "/home/vsts/work/1/s/w/azure-sdk-for-python_tmp/tmp8as0l3o1/lib/python3.6/site-packages/azure/mgmt/resourcemover/__init__.py", line 9, in <module>
    cmderr	[changelogReportLatest]     from ._resource_mover_service_api import ResourceMoverServiceAPI
    cmderr	[changelogReportLatest]   File "/home/vsts/work/1/s/w/azure-sdk-for-python_tmp/tmp8as0l3o1/lib/python3.6/site-packages/azure/mgmt/resourcemover/_resource_mover_service_api.py", line 11, in <module>
    cmderr	[changelogReportLatest]     from azure.mgmt.core import ARMPipelineClient
    cmderr	[changelogReportLatest] ModuleNotFoundError: No module named 'azure.mgmt.core'
    cmderr	[changelogReportLatest] During handling of the above exception, another exception occurred:
    cmderr	[changelogReportLatest] Traceback (most recent call last):
    cmderr	[changelogReportLatest]   File "/home/vsts/work/1/s/w/azure-sdk-for-python/tools/azure-sdk-tools/packaging_tools/code_report.py", line 354, in <module>
    cmderr	[changelogReportLatest]     main(args.package_name, args.version, args.no_venv, args.pypi, args.last_pypi, args.output)
    cmderr	[changelogReportLatest]   File "/home/vsts/work/1/s/w/azure-sdk-for-python/tools/azure-sdk-tools/packaging_tools/code_report.py", line 246, in main
    cmderr	[changelogReportLatest]     modules = find_autorest_generated_folder(module_name)
    cmderr	[changelogReportLatest]   File "/home/vsts/work/1/s/w/azure-sdk-for-python/tools/azure-sdk-tools/packaging_tools/code_report.py", line 305, in find_autorest_generated_folder
    cmderr	[changelogReportLatest]     prefix_module = importlib.import_module(module_prefix)
    cmderr	[changelogReportLatest]   File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
    cmderr	[changelogReportLatest]     return _bootstrap._gcd_import(name[level:], package, level)
    cmderr	[changelogReportLatest]   File "<frozen importlib._bootstrap>", line 994, in _gcd_import
    cmderr	[changelogReportLatest]   File "<frozen importlib._bootstrap>", line 971, in _find_and_load
    cmderr	[changelogReportLatest]   File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
    cmderr	[changelogReportLatest]   File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
    cmderr	[changelogReportLatest]   File "<frozen importlib._bootstrap_external>", line 678, in exec_module
    cmderr	[changelogReportLatest]   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
    cmderr	[changelogReportLatest]   File "/home/vsts/work/1/s/w/azure-sdk-for-python_tmp/tmp8as0l3o1/lib/python3.6/site-packages/azure/mgmt/resourcemover/__init__.py", line 9, in <module>
    cmderr	[changelogReportLatest]     from ._resource_mover_service_api import ResourceMoverServiceAPI
    cmderr	[changelogReportLatest]   File "/home/vsts/work/1/s/w/azure-sdk-for-python_tmp/tmp8as0l3o1/lib/python3.6/site-packages/azure/mgmt/resourcemover/_resource_mover_service_api.py", line 11, in <module>
    cmderr	[changelogReportLatest]     from azure.mgmt.core import ARMPipelineClient
    cmderr	[changelogReportLatest] ModuleNotFoundError: No module named 'azure.mgmt.core'
    cmderr	[changelogReportLatest] WARNING:__main__:Version 1.0.1b1 seems to be too old to build a report (probably not Autorest based)
    warn	Not exact 2 reports found:
    warn		code_reports/latest/report.json
    warn	Not generating changelog.
️⚠️ azure-sdk-for-js warning [Detail]
  • ⚠️Warning [Logs]Release - Generate from 716b540. SDK Automation 14.0.0
    warn	Skip initScript due to not configured
    command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION [email protected]/[email protected] --typescript-sdks-folder=/home/vsts/work/1/s/w/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/resourcemover/resource-manager/readme.md
    warn	No file changes detected after generation
    warn	No package detected after generation
️️✔️ azure-resource-manager-schemas succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs]Release - Generate from 716b540. Schema Automation 14.0.0
    warn	Skip initScript due to not configured
    command	npx n 12
    command	autorest --use=@autorest/[email protected] --version=3.0.6320 --azureresourceschema --multiapi --title=none --pass-thru:subset-reducer --azureresourceschema-folder=/home/vsts/work/1/s/w/azure-resource-manager-schemas/azure-resource-manager-schemas ../../azure-rest-api-specs/specification/resourcemover/resource-manager/readme.md
  • ️✔️resourcemover [View full logs]  [Release Schema Changes]
    cmderr	[resource-manager] node-pre-gyp
    cmderr	[resource-manager] WARN Using request for node-pre-gyp https download
    cmderr	[resource-manager]  [email protected] No repository field.
    cmderr	[resource-manager]  SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
    cmderr	[resource-manager] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
️🔄[Staging] ApiDocPreview inProgress [Detail]
Posted by Swagger Pipeline | How to fix these errors?

@innosam innosam marked this pull request as ready for review December 2, 2020 05:24
@innosam innosam force-pushed the hsingh/fixswaggercorrectness branch from a6c7f2b to db47200 Compare December 2, 2020 05:39
@ChenTanyi
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@ChenTanyi
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@ChenTanyi
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@PhoenixHe-NV
Copy link
Contributor

@akning-ms Would you please help to merge this PR? The fix will be released on monday but PR author need to merge it now.

@ChenTanyi
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@ChenTanyi
Copy link
Contributor

@innosam please resolve the conflict. Thanks.

@innosam
Copy link
Contributor Author

innosam commented Dec 8, 2020

@innosam please resolve the conflict. Thanks.

Done, thanks!

@innosam innosam closed this Dec 8, 2020
@ChenTanyi
Copy link
Contributor

@innosam Are you still need it?

@innosam innosam reopened this Dec 8, 2020
@@ -1531,6 +1550,19 @@
"description": "Gets the value of next link.",
"type": "string"
},
"summary": {
Copy link
Contributor

Choose a reason for hiding this comment

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

Will the summary be still needed? compared with the previous change: 0d41369

Copy link
Contributor

Choose a reason for hiding this comment

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

@innosam You may need to take a look at it. It will cause lots of error in CI.

Copy link
Contributor Author

@innosam innosam Dec 8, 2020

Choose a reason for hiding this comment

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

yes, I am looking into the issue, looks like the earlier there was a breaking issue, which has been fixed by durgesh.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have fixed the issue now, and pr is green.

1. Add missing properties: isResolveRequired, totalCount read-only
   property to the moveResource and moveResourceCollection definition.
2. Add missing properties: ETAG/properties.errors property to the move collection definition.
@innosam innosam force-pushed the hsingh/fixswaggercorrectness branch from 9934f23 to 580aa44 Compare December 8, 2020 04:29
@ChenTanyi ChenTanyi merged commit 716b540 into Azure:master Dec 8, 2020
giromm2ms pushed a commit to giromm2ms/azure-rest-api-specs that referenced this pull request Dec 20, 2020
1. Add missing properties: isResolveRequired, totalCount read-only
   property to the moveResource and moveResourceCollection definition.
2. Add missing properties: ETAG/properties.errors property to the move collection definition.
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.

5 participants