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

[SRP] Add default response status code #8065

Merged
merged 2 commits into from
Jan 7, 2020

Conversation

zfchen95
Copy link
Contributor

@zfchen95 zfchen95 commented Jan 3, 2020

Latest improvements:

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

Contribution checklist:

  • I have reviewed the documentation for the workflow.
  • Validation tools were run on swagger spec(s) and have all been fixed in this PR.
  • The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

  • Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
  • adding/removing APIs.
  • adding/removing properties.
  • adding/removing API-version.
  • adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

  • If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
    Please follow the link to find more details on API review process.

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jan 3, 2020

azure-sdk-for-go - Release

️✔️ succeeded [Logs] [Expand Details]

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jan 3, 2020

azure-sdk-for-python - Release

️✔️ succeeded [Logs] [Expand Details]
  • ️✔️ Generate from 40703e6 with merge commit f7475a7. SDK Automation 13.0.17.20191226.1
  • ️✔️azure-mgmt-storage [Logs]  [Release SDK Changes]
    [after_scripts|python] WARNING:__main__:Found too much API version: {'2018-03-01-preview', '2018-07-01'} in label v2018_07_01
    [after_scripts|python] WARNING:__main__:Guessing you want 2018-07-01 based on label v2018_07_01
    [build_package] /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
    [build_package]   warnings.warn(msg)
    [build_package] /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
    [build_package]   warnings.warn(msg)

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jan 3, 2020

azure-sdk-for-js - Release

️✔️ succeeded [Logs] [Expand Details]
  • ️✔️ Generate from 40703e6 with merge commit f7475a7. SDK Automation 13.0.17.20191226.1
  • ️✔️@azure/arm-storage [Logs]  [Release SDK Changes]
    [npmPack] npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve.
    [npmPack] loaded rollup.config.js with warnings
    [npmPack] (!) Unused external imports
    [npmPack] default imported from external module 'rollup' but never used
    [npmPack] 
    [npmPack] ./esm/storageManagementClient.js → ./dist/arm-storage.js...
    [npmPack] created ./dist/arm-storage.js in 498ms

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jan 3, 2020

azure-sdk-for-java - Release

⚠️ warning [Logs] [Expand Details]

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jan 3, 2020

azure-sdk-for-net - Release

️✔️ succeeded [Logs] [Expand Details]

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@zfchen95 zfchen95 changed the title [SRP] Add response status code 404 [SRP] Add default response status code Jan 3, 2020
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@weidongxu-microsoft
Copy link
Member

@zfchen95 This should be low risk, but still please add code owner to review.

@zfchen95
Copy link
Contributor Author

zfchen95 commented Jan 6, 2020

@zfchen95 This should be low risk, but still please add code owner to review.

@weidongxu-microsoft Hi, I am from the Storage RP team. This PR is to solve the problem that error code is not defined in the response.

@zfchen95
Copy link
Contributor Author

zfchen95 commented Jan 6, 2020

@zfchen95 This should be low risk, but still please add code owner to review.

@weidongxu-microsoft Hi, I am from the Storage RP team. This PR is to solve the problem that error code is not defined in the response.

You could add ARM team for review if you feel it is needed.

@weidongxu-microsoft weidongxu-microsoft merged commit f7475a7 into Azure:master Jan 7, 2020
@weidongxu-microsoft
Copy link
Member

@zfchen95

It is good enough.

Some of the SDK generator would actually add a default CloudError when there is none,

blueww added a commit that referenced this pull request Jan 7, 2020
weidongxu-microsoft pushed a commit that referenced this pull request Jan 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants