-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
[Storage] Fix swagger bug to support oauth on rename (file-share) #22420
[Storage] Fix swagger bug to support oauth on rename (file-share) #22420
Conversation
Hi, @vincenttran-msft Thanks for your PR. I am workflow bot for review process. Here are some small tips. Any feedback about review process or workflow bot, pls contact swagger and tools team. [email protected] |
Swagger Validation Report
|
compared swaggers (via Oad v0.10.4)] | new version | base version |
---|---|---|
file.json | 2022-11-02(043006c) | 2021-12-02(main) |
The following breaking changes are detected by comparison with the latest preview version:
Only 30 items are listed, please refer to log for more details.
️⚠️
LintDiff: 0 Warnings warning [Detail]
compared tags (via openapi-validator v2.0.0) | new version | base version |
---|---|---|
package-2022-11 | package-2022-11(043006c) | package-2022-11(feature/storage/stg87base) |
The following errors/warnings exist before current PR submission:
Only 30 items are listed, please refer to log for more details.
Rule | Message |
---|---|
HostParametersValidation |
The host parameter must be called 'endpoint'. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L16 |
HostParametersValidation |
The host parameter must be typed 'type 'string', format 'url''. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L16 |
XmsEnumValidation |
The enum types should have x-ms-enum type extension set with appropriate options. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L135 |
XmsEnumValidation |
The enum types should have x-ms-enum type extension set with appropriate options. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L145 |
XmsEnumValidation |
The enum types should have x-ms-enum type extension set with appropriate options. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L221 |
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L361 |
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L366 |
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L371 |
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L376 |
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L387 |
XmsEnumValidation |
The enum types should have x-ms-enum type extension set with appropriate options. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L547 |
XmsEnumValidation |
The enum types should have x-ms-enum type extension set with appropriate options. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L644 |
XmsEnumValidation |
The enum types should have x-ms-enum type extension set with appropriate options. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L670 |
XmsEnumValidation |
The enum types should have x-ms-enum type extension set with appropriate options. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L759 |
XmsEnumValidation |
The enum types should have x-ms-enum type extension set with appropriate options. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L785 |
XmsEnumValidation |
The enum types should have x-ms-enum type extension set with appropriate options. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L882 |
XmsEnumValidation |
The enum types should have x-ms-enum type extension set with appropriate options. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L908 |
XmsEnumValidation |
The enum types should have x-ms-enum type extension set with appropriate options. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L1002 |
XmsEnumValidation |
The enum types should have x-ms-enum type extension set with appropriate options. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L1028 |
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L1080 |
XmsEnumValidation |
The enum types should have x-ms-enum type extension set with appropriate options. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L1130 |
XmsEnumValidation |
The enum types should have x-ms-enum type extension set with appropriate options. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L1156 |
XmsEnumValidation |
The enum types should have x-ms-enum type extension set with appropriate options. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L1239 |
XmsEnumValidation |
The enum types should have x-ms-enum type extension set with appropriate options. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L1249 |
XmsEnumValidation |
The enum types should have x-ms-enum type extension set with appropriate options. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L1390 |
XmsEnumValidation |
The enum types should have x-ms-enum type extension set with appropriate options. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L1400 |
XmsEnumValidation |
The enum types should have x-ms-enum type extension set with appropriate options. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L1487 |
XmsEnumValidation |
The enum types should have x-ms-enum type extension set with appropriate options. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L1497 |
XmsEnumValidation |
The enum types should have x-ms-enum type extension set with appropriate options. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L1578 |
XmsEnumValidation |
The enum types should have x-ms-enum type extension set with appropriate options. Location: Microsoft.FileStorage/preview/2022-11-02/file.json#L1588 |
️️✔️
Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️
ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️
SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️
PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️
SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️
CadlValidation succeeded [Detail] [Expand]
Validation passes for CadlValidation.
️️✔️
PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
Swagger Generation Artifacts
|
Swagger pipeline started successfully. If there is ApiView generated, it will be updated in this comment. |
Hi @vincenttran-msft, one or multiple breaking change(s) is detected in your PR. Please check out the breaking change(s), and provide business justification in the PR comment and @ PR assignee why you must have these change(s), and how external customer impact can be mitigated. Please ensure to follow breaking change policy to request breaking change review and approval before proceeding swagger PR review. |
Let me give this a try in the .NET SDK before we merge this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, OAuth is also working for me in .NET for File Rename and Directory Rename
* Added new file version (Azure#21704) * Added HNS Encryption Context (Azure#21693) * Added x-ms-file-request-intent to File and Directory operations (Azure#21705) * Trailing Dot (Azure#21781) * Add file request intent to comp=rename for dir&files (Azure#22420) --------- Co-authored-by: vincenttran-msft <[email protected]>
Data Plane API - Pull Request
API Info: The Basics
Most of the information about your service should be captured in the issue that serves as your engagement record.
Is this review for (select one):
Change Scope
This section will help us focus on the specific parts of your API that are new or have been modified.
Please share a link to the design document for the new APIs, a link to the previous Open API document (swagger) if applicable, and the root paths that have been updated.
❔Got questions? Need additional info?? We are here to help!
Contact us!
The Azure API Review Board is dedicated to helping you create amazing APIs. You can read about our mission and learn more about our process on our wiki.
Click here for links to tools, specs, guidelines & other good stuff
Tooling
Guidelines & Specifications
Helpful Links