chore: jsonfmt recoveryservicessiterecovery#6224
Conversation
Ran `jsonfmt -w "specification/recoveryservicessiterecovery/**/*.json"`
SDK Automation [Logs] (Generated from d6ca064)
|
|
Can one of the admins verify this patch? |
Automation for azure-sdk-for-pythonNothing to generate for azure-sdk-for-python |
Automation for azure-sdk-for-javaEncountered a Subprocess error: (azure-sdk-for-java)
Command: ['/usr/local/bin/autorest', '/tmp/tmpx33chise/rest/specification/recoveryservicessiterecovery/resource-manager/readme.md', '--perform-load=false', '--swagger-to-sdk', '--output-artifact=configuration.json', '--input-file=foo', '--output-folder=/tmp/tmp_pjalm53'] AutoRest code generation utility [version: 2.0.4283; node: v8.12.0]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
Failure:
Error: Unable to start AutoRest Core from /root/.autorest/@microsoft.azure_autorest-core@2.0.4373/node_modules/@microsoft.azure/autorest-core
Error: Unable to start AutoRest Core from /root/.autorest/@microsoft.azure_autorest-core@2.0.4373/node_modules/@microsoft.azure/autorest-core
at main (/opt/node_modules/autorest/dist/app.js:232:19)
at <anonymous>
/root/.autorest/@microsoft.azure_autorest-core@2.0.4373/node_modules/@microsoft.azure/autorest-core/dist/app.js:33
autorest_core_1.Shutdown();
^
ReferenceError: autorest_core_1 is not defined
at process.on (/root/.autorest/@microsoft.azure_autorest-core@2.0.4373/node_modules/@microsoft.azure/autorest-core/dist/app.js:33:5)
at emitOne (events.js:121:20)
at process.emit (events.js:211:7)
at process.emit (/node_modules/source-map-support/source-map-support.js:439:21)
fs.js:612
return binding.close(fd);
^
Error: EBADF: bad file descriptor, close
at Object.fs.closeSync (fs.js:612:18)
at StaticVolumeFile.shutdown (/opt/node_modules/autorest/dist/static-loader.js:352:10)
at StaticFilesystem.shutdown (/opt/node_modules/autorest/dist/static-loader.js:406:17)
at process.exit.n [as exit] (/opt/node_modules/autorest/dist/static-loader.js:169:11)
at printErrorAndExit (/node_modules/source-map-support/source-map-support.js:423:11)
at process.emit (/node_modules/source-map-support/source-map-support.js:435:16)
at process._fatalException (bootstrap_node.js:391:26) |
Automation for azure-sdk-for-rubyA PR has been created for you based on this PR content. Once this PR will be merged, content will be added to your service PR: |
Automation for azure-sdk-for-goNothing to generate for azure-sdk-for-go |
Was only miscased in 2016-08-10 API and corrected after
Earlier versions were array of string, and examples were probably copied
Earlier version had type array of string but change in later API
|
Fixed a few minor model validation issues that looked like they were from examples copied between version while the types changed |
Automation for azure-sdk-for-jsA PR has been created for you based on this PR content. Once this PR will be merged, content will be added to your service PR: |
| "jobQueryParameter": { | ||
| "startTime": "2017-04-27T14:26:51.9161395Z", | ||
| "endTime": "2017-05-04T14:26:51.9161395Z", | ||
| "affectedObjectTypes": [], |
There was a problem hiding this comment.
Do you know why this has changed types?
There was a problem hiding this comment.
The type changed from the initial version from array to string, so Model Validation was flagging it.
I can undo the non-formatting changes if you want though, since these fixes don't fully fix the model validation issues
|
@jhendrixMSFT, Could you help me merging this? |
Ran
jsonfmt -w "specification/recoveryservicessiterecovery/**/*.json"