-
Notifications
You must be signed in to change notification settings - Fork 5.6k
[Hub Generated] Review request for Microsoft.InstanceMetadataService to add version stable/2023-07-01 #26538
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
[Hub Generated] Review request for Microsoft.InstanceMetadataService to add version stable/2023-07-01 #26538
Conversation
Next Steps to Merge✔️ All automated merging requirements have been met! Refer to step 4 in the PR workflow diagram (even if your PR is for data plane, not ARM). |
Swagger Validation Report
|
| compared swaggers (via Oad v0.10.4)] | new version | base version |
|---|---|---|
| imds.json | 2023-07-01(d94998b) | 2021-12-13(main) |
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️LintDiff: 6 Warnings warning [Detail]
| compared tags (via openapi-validator v2.1.6) | new version | base version |
|---|---|---|
| package-2023-07-01 | package-2023-07-01(d94998b) | default(main) |
[must fix]The following errors/warnings are introduced by current PR:
| Rule | Message | Related RPC [For API reviewers] |
|---|---|---|
| Based on the response model schema, operation 'GetVersions' might be pageable. Consider adding the x-ms-pageable extension. Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L28 |
||
| Operation might be pageable. Consider adding the x-ms-pageable extension. Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L28 |
||
| Operation does not define an 'api-version' query parameter. Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L28 |
||
| OperationId should be of the form 'Noun_Verb' Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L29 |
||
| Error response should contain a x-ms-error-code header. Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L38 |
||
Error response schema should contain an object property named error.Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L40 |
The following errors/warnings exist before current PR submission:
| Rule | Message |
|---|---|
XmsParameterLocation |
The parameter 'ApiVersionParameter' is defined in global parameters section without 'x-ms-parameter-location' extension. This would add the parameter as the client property. Please ensure that this is exactly you want. If so, apply the extension 'x-ms-parameter-location': 'client'. Else, apply the extension 'x-ms-parameter-location': 'method'. Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L1100 |
XmsEnumValidation |
The enum types should have x-ms-enum type extension set with appropriate options. Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L1107 |
| Error response should contain a x-ms-error-code header. Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L71 |
|
Error response schema should contain an object property named error.Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L73 |
|
| Error response should contain a x-ms-error-code header. Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L111 |
|
Error response schema should contain an object property named error.Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L113 |
|
| Parameter name 'client_id' should be camel case. Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L156 |
|
| Parameter name 'object_id' should be camel case. Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L163 |
|
| Parameter name 'msi_res_id' should be camel case. Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L170 |
|
| Parameter name 'bypass_cache' should be camel case. Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L184 |
|
| Error response should contain a x-ms-error-code header. Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L206 |
|
Error response schema should contain an object property named error.Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L213 |
|
| Error response should contain a x-ms-error-code header. Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L250 |
|
Error response schema should contain an object property named error.Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L252 |
|
| Consider using x-ms-client-flatten to provide a better end user experience Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L424 |
|
| Consider using x-ms-client-flatten to provide a better end user experience Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L469 |
|
| Consider using x-ms-client-flatten to provide a better end user experience Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L493 |
|
| Consider using x-ms-client-flatten to provide a better end user experience Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L681 |
|
| Consider using x-ms-client-flatten to provide a better end user experience Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L859 |
|
| Consider using x-ms-client-flatten to provide a better end user experience Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L863 |
|
| Consider using x-ms-client-flatten to provide a better end user experience Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L879 |
|
| Consider using x-ms-client-flatten to provide a better end user experience Location: Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json#L883 |
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️❌SwaggerAPIView: 0 Errors, 0 Warnings failed [Detail]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️️✔️PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
|
Swagger pipeline restarted successfully, please wait for status update in this comment. |
|
Swagger pipeline restarted successfully. If there is ApiView generated, it will be updated in this comment. |
specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json
Show resolved
Hide resolved
specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2023-07-01/imds.json
Show resolved
Hide resolved
heaths
left a comment
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.
LGTM, but should get a second REST API reviewer as well. @mikekistler @johanste? It's a pretty small change and we probably don't need a meeting. The /versions endpoint has been in production for a few years they said in a comment, so this matches what's already there in a new api-version.
|
@mikekistler APIView failed to parse the security section of the swagger, if that helps: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3241235&view=logs&j=9e7477d6-80c4-54a8-ebef-1e18da128ba0&t=f4a3c60c-600e-599b-d672-ffecbc71e09d&l=48 . Not a required check, fortunately. |
|
@jhendrixMSFT this is ready to merge. |
|
Swagger pipeline restarted successfully, please wait for status update in this comment. |
…to add version stable/2023-07-01 (#26538) * Adds base for updating Microsoft.InstanceMetadataService from version stable/2021-12-13 to version 2023-07-01 * Updates readme * Updates API version in new specs and examples * Update new fields and add `GetVersions.json`. * Fix version, add new path, fix `GetVersions.json`. * Temp fix. * Prettier format fix. * Minor fix. * Fix wrong schema for `/versions` endpoint. --------- Co-authored-by: Haofeng Xie <[email protected]>
This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
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 API Spec 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 API Spec document (if applicable), and the root paths that have been updated.
Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the
Generated ApiViewcomment added to this PR. You can use ApiView to show API versions diff.Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
Swagger-Suppression-Process
to get approval.
❔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