-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Event Grid MQTT System events #25526
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Next Steps to Merge
|
Swagger Validation Report
|
compared swaggers (via Oad v0.10.4)] | new version | base version |
---|---|---|
SystemEvents.json | 2018-01-01(79cf385) | 2018-01-01(main) |
Rule | Message |
---|---|
Runtime Exception |
"new":"https://github.com/Azure/azure-rest-api-specs/blob/79cf38508fdf2f287ae2094b92498b1d4d26a5f8/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/EventGrid.json", "old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/EventGrid.json", "details":"Command failed: node "/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.57/common/temp/node_modules/.pnpm/@Azure[email protected]/node_modules/autorest/dist/app.js" --v2 --input-file=/mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/EventGrid.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=old --output-folder=/tmp\nERROR: Schema violation: Additional properties not allowed: ?overload=customEvent, ?overload=cloudEvent, ?overload=EventGridEvent\n - file:///mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/EventGrid.json:33:2 ($["x-ms-paths"])\nFATAL: swagger-document/individual/schema-validator - FAILED\nFATAL: Error: [OperationAbortedException] Error occurred. Exiting.\nProcess() cancelled due to exception : [OperationAbortedException] Error occurred. Exiting.\n" |
️️✔️
Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️
CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️
LintDiff: 5 Warnings warning [Detail]
compared tags (via openapi-validator v2.1.4) | new version | base version |
---|---|---|
package-2023-06-01-preview | package-2023-06-01-preview(79cf385) | package-2023-06-01-preview(main) |
[must fix]The following errors/warnings are introduced by current PR:
Rule | Message | Related RPC [For API reviewers] |
---|---|---|
Schema name should be Pascal case. Location: Microsoft.EventGrid/stable/2018-01-01/SystemEvents.json#L47 |
||
Schema name should be Pascal case. Location: Microsoft.EventGrid/stable/2018-01-01/SystemEvents.json#L95 |
||
Schema name should be Pascal case. Location: Microsoft.EventGrid/stable/2018-01-01/SystemEvents.json#L113 |
||
Schema name should be Pascal case. Location: Microsoft.EventGrid/stable/2018-01-01/SystemEvents.json#L141 |
||
Schema name should be Pascal case. Location: Microsoft.EventGrid/stable/2018-01-01/SystemEvents.json#L236 |
The following errors/warnings exist before current PR submission:
Rule | Message |
---|---|
XmsPathsMustOverloadPaths |
Paths in x-ms-paths must overload a normal path in the paths section, i.e. a path in the x-ms-paths must either be same as a path in the paths section or a path in the paths sections followed by additional parameters. Location: Microsoft.EventGrid/stable/2018-01-01/EventGrid.json#L34 |
XmsPathsMustOverloadPaths |
Paths in x-ms-paths must overload a normal path in the paths section, i.e. a path in the x-ms-paths must either be same as a path in the paths section or a path in the paths sections followed by additional parameters. Location: Microsoft.EventGrid/stable/2018-01-01/EventGrid.json#L73 |
XmsPathsMustOverloadPaths |
Paths in x-ms-paths must overload a normal path in the paths section, i.e. a path in the x-ms-paths must either be same as a path in the paths section or a path in the paths sections followed by additional parameters. Location: Microsoft.EventGrid/stable/2018-01-01/EventGrid.json#L118 |
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.EventGrid/stable/2018-01-01/EventGrid.json#L268 |
Don't use x-ms-paths except where necessary to support legacy APIs. Location: Microsoft.EventGrid/stable/2018-01-01/EventGrid.json#L33 |
|
Don't specify additionalProperties as a sibling of properties. Location: Microsoft.EventGrid/stable/2018-01-01/EventGrid.json#L91 |
|
Don't specify additionalProperties as a sibling of properties. Location: Microsoft.EventGrid/stable/2018-01-01/EventGrid.json#L260 |
️️✔️
Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️
SwaggerAPIView succeeded [Detail] [Expand]
️️✔️
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: 1 Errors, 0 Warnings failed [Detail]
Rule | Message |
---|---|
HowToFix |
Code style issues found path: Microsoft.EventGrid/stable/2018-01-01/SystemEvents.json |
️❌
SpellCheck: 4 Errors, 0 Warnings failed [Detail]
Rule | Message |
---|---|
HowToFix |
Unknown word (clientsession), please fix the error or add words to ./custom-words.txt path: Microsoft.EventGrid/stable/2018-01-01/SystemEvents.json#L134:51 |
HowToFix |
Unknown word (clientsession), please fix the error or add words to ./custom-words.txt path: Microsoft.EventGrid/stable/2018-01-01/SystemEvents.json#L137:49 |
HowToFix |
Unknown word (clientsession), please fix the error or add words to ./custom-words.txt path: Microsoft.EventGrid/stable/2018-01-01/SystemEvents.json#L229:51 |
HowToFix |
Unknown word (clientsession), please fix the error or add words to ./custom-words.txt path: Microsoft.EventGrid/stable/2018-01-01/SystemEvents.json#L232:49 |
️️✔️
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 Generation Artifacts
|
Generated ApiView
|
l0lawrence
reviewed
Aug 24, 2023
specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/SystemEvents.json
Outdated
Show resolved
Hide resolved
3 tasks
george-guirguis
approved these changes
Aug 25, 2023
f29644b
to
4f9e318
Compare
Swagger pipeline restarted successfully, please wait for status update in this comment. |
jnlycklama
pushed a commit
that referenced
this pull request
Nov 8, 2023
* added event grid namespace system events * Create client_created_or_updated.json * Add files via upload * Create client_created_or_updated.json * Add files via upload * Update clientsession_disconnected.json * Update client_deleted.json * Update clientsession_connected.json * Update clientsession_connected.json * Update clientsession_disconnected.json * keyvalue_deleted * addressed prettiercheck and added object type * fixes for eg events * more changes * paths * disconnect enum * date time * arch board updates * brace * fix * fix * fix casing * fix description * revert swagger changes * add x-ms-examples * apply prettier --------- Co-authored-by: George Guirguis <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 ApiView
comment 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