Conversation
* Initial commit * formatted * fix appconfig * API management fix * keyvault * Storage * signalR * servicebus * resources * redis * policy insights * eventhub * Iothub * cr * cr-2 * web * maps * healthcare APi * media services * media services * ACS * Eg omdels
|
Hi, @l0lawrence 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. vscswagger@microsoft.com |
| } | ||
|
|
||
| @doc("Event data for Microsoft.Devices.DeviceCreated event.") | ||
| model IotHubDeviceCreatedEventData extends DeviceLifeCycleEventProperties {} |
There was a problem hiding this comment.
Unless this is done only to reduce changes to generated openapi2 documents, this should be a spread. We want to avoid extends in Azure unless it is a discriminated type relationship...
Swagger Validation Report
|
| compared tags (via openapi-validator v2.0.0) | new version | base version |
|---|---|---|
| default | default(a19e059) | default(main) |
️❌Avocado: 20 Errors, 0 Warnings failed [Detail]
️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
️❌~[Staging] ServiceAPIReadinessTest: 0 Errors, 0 Warnings failed [Detail]
API Test is not triggered due to precheck failure. Check pipeline log for details.
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️CadlAPIView succeeded [Detail] [Expand]
️❌ModelValidation: 3 Errors, 0 Warnings failed [Detail]
| Rule | Message |
|---|---|
XMS_EXAMPLE_NOTFOUND_ERROR |
x-ms-example not found in PublishEventGridEvents. Url: data-plane/typespec/swagger/EventGrid.json#L43:15 |
XMS_EXAMPLE_NOTFOUND_ERROR |
x-ms-example not found in PublishCloudEventEvents. Url: data-plane/typespec/swagger/EventGrid.json#L75:15 |
XMS_EXAMPLE_NOTFOUND_ERROR |
x-ms-example not found in PublishCustomEventEvents. Url: data-plane/typespec/swagger/EventGrid.json#L110:15 |
️️✔️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: 42 Errors, 0 Warnings failed [Detail]
Only 30 items are listed, please refer to log for more details.
| Rule | Message |
|---|---|
HowToFix |
Unknown word (typespec), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L9:23 |
HowToFix |
Unknown word (typespec), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L10:23 |
HowToFix |
Unknown word (typespec), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L11:23 |
HowToFix |
Unknown word (typespec), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L12:11 |
HowToFix |
Unknown word (globby), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L185:10 |
HowToFix |
Unknown word (picocolors), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L191:10 |
HowToFix |
Unknown word (nodelib), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L242:20 |
HowToFix |
Unknown word (scandir), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L242:31 |
HowToFix |
Unknown word (nodelib), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L247:11 |
HowToFix |
Unknown word (nodelib), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L254:20 |
HowToFix |
Unknown word (nodelib), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L262:20 |
HowToFix |
Unknown word (scandir), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L267:22 |
HowToFix |
Unknown word (fastq), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L268:10 |
HowToFix |
Unknown word (globby), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L282:10 |
HowToFix |
Unknown word (picocolors), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L288:10 |
HowToFix |
Unknown word (cliui), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L479:19 |
HowToFix |
Unknown word (fastq), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L589:19 |
HowToFix |
Unknown word (reusify), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L594:10 |
HowToFix |
Unknown word (domexception), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L612:15 |
HowToFix |
Unknown word (formdata), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L630:19 |
HowToFix |
Unknown word (globby), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L660:19 |
HowToFix |
Unknown word (extglob), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L703:22 |
HowToFix |
Unknown word (extglob), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L724:13 |
HowToFix |
Unknown word (kleur), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L759:19 |
HowToFix |
Unknown word (yallist), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L780:10 |
HowToFix |
Unknown word (picomatch), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L800:10 |
HowToFix |
Unknown word (domexception), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L834:24 |
HowToFix |
Unknown word (formdata), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L859:10 |
HowToFix |
Unknown word (opencollective), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L865:18 |
HowToFix |
Unknown word (picocolors), please fix the error or add words to ./custom-words.txt path: eventgrid/data-plane/typespec/package-lock.json#L912:19 |
️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️❌CadlValidation: 20 Errors, 0 Warnings failed [Detail]
| Rule | Message |
|---|---|
MissingCadlFile |
"details":"The swagger specification/eventgrid/data-plane/typespec/swagger/ApiManagement.json is generated from cadl files, but the cadl project with '@azure-tools/cadl-autorest' emitter is missing in the PR. Please add the missing cadl project or emitter configuration." |
MissingCadlFile |
"details":"The swagger specification/eventgrid/data-plane/typespec/swagger/AppConfiguration.json is generated from cadl files, but the cadl project with '@azure-tools/cadl-autorest' emitter is missing in the PR. Please add the missing cadl project or emitter configuration." |
MissingCadlFile |
"details":"The swagger specification/eventgrid/data-plane/typespec/swagger/AzureCommunicationServices.json is generated from cadl files, but the cadl project with '@azure-tools/cadl-autorest' emitter is missing in the PR. Please add the missing cadl project or emitter configuration." |
MissingCadlFile |
"details":"The swagger specification/eventgrid/data-plane/typespec/swagger/ContainerRegistry.json is generated from cadl files, but the cadl project with '@azure-tools/cadl-autorest' emitter is missing in the PR. Please add the missing cadl project or emitter configuration." |
MissingCadlFile |
"details":"The swagger specification/eventgrid/data-plane/typespec/swagger/ContainerService.json is generated from cadl files, but the cadl project with '@azure-tools/cadl-autorest' emitter is missing in the PR. Please add the missing cadl project or emitter configuration." |
MissingCadlFile |
"details":"The swagger specification/eventgrid/data-plane/typespec/swagger/EventGrid.json is generated from cadl files, but the cadl project with '@azure-tools/cadl-autorest' emitter is missing in the PR. Please add the missing cadl project or emitter configuration." |
MissingCadlFile |
"details":"The swagger specification/eventgrid/data-plane/typespec/swagger/EventHub.json is generated from cadl files, but the cadl project with '@azure-tools/cadl-autorest' emitter is missing in the PR. Please add the missing cadl project or emitter configuration." |
MissingCadlFile |
"details":"The swagger specification/eventgrid/data-plane/typespec/swagger/HealthcareApis.json is generated from cadl files, but the cadl project with '@azure-tools/cadl-autorest' emitter is missing in the PR. Please add the missing cadl project or emitter configuration." |
MissingCadlFile |
"details":"The swagger specification/eventgrid/data-plane/typespec/swagger/IotHub.json is generated from cadl files, but the cadl project with '@azure-tools/cadl-autorest' emitter is missing in the PR. Please add the missing cadl project or emitter configuration." |
MissingCadlFile |
"details":"The swagger specification/eventgrid/data-plane/typespec/swagger/KeyVault.json is generated from cadl files, but the cadl project with '@azure-tools/cadl-autorest' emitter is missing in the PR. Please add the missing cadl project or emitter configuration." |
MissingCadlFile |
"details":"The swagger specification/eventgrid/data-plane/typespec/swagger/MachineLearningServices.json is generated from cadl files, but the cadl project with '@azure-tools/cadl-autorest' emitter is missing in the PR. Please add the missing cadl project or emitter configuration." |
MissingCadlFile |
"details":"The swagger specification/eventgrid/data-plane/typespec/swagger/Maps.json is generated from cadl files, but the cadl project with '@azure-tools/cadl-autorest' emitter is missing in the PR. Please add the missing cadl project or emitter configuration." |
MissingCadlFile |
"details":"The swagger specification/eventgrid/data-plane/typespec/swagger/MediaServices.json is generated from cadl files, but the cadl project with '@azure-tools/cadl-autorest' emitter is missing in the PR. Please add the missing cadl project or emitter configuration." |
MissingCadlFile |
"details":"The swagger specification/eventgrid/data-plane/typespec/swagger/PolicyInsights.json is generated from cadl files, but the cadl project with '@azure-tools/cadl-autorest' emitter is missing in the PR. Please add the missing cadl project or emitter configuration." |
MissingCadlFile |
"details":"The swagger specification/eventgrid/data-plane/typespec/swagger/RedisCache.json is generated from cadl files, but the cadl project with '@azure-tools/cadl-autorest' emitter is missing in the PR. Please add the missing cadl project or emitter configuration." |
MissingCadlFile |
"details":"The swagger specification/eventgrid/data-plane/typespec/swagger/Resources.json is generated from cadl files, but the cadl project with '@azure-tools/cadl-autorest' emitter is missing in the PR. Please add the missing cadl project or emitter configuration." |
MissingCadlFile |
"details":"The swagger specification/eventgrid/data-plane/typespec/swagger/ServiceBus.json is generated from cadl files, but the cadl project with '@azure-tools/cadl-autorest' emitter is missing in the PR. Please add the missing cadl project or emitter configuration." |
MissingCadlFile |
"details":"The swagger specification/eventgrid/data-plane/typespec/swagger/SignalRService.json is generated from cadl files, but the cadl project with '@azure-tools/cadl-autorest' emitter is missing in the PR. Please add the missing cadl project or emitter configuration." |
MissingCadlFile |
"details":"The swagger specification/eventgrid/data-plane/typespec/swagger/Storage.json is generated from cadl files, but the cadl project with '@azure-tools/cadl-autorest' emitter is missing in the PR. Please add the missing cadl project or emitter configuration." |
MissingCadlFile |
"details":"The swagger specification/eventgrid/data-plane/typespec/swagger/Web.json is generated from cadl files, but the cadl project with '@azure-tools/cadl-autorest' emitter is missing in the PR. Please add the missing cadl project or emitter configuration." |
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
|
@l0lawrence: Can this be closed as a dup of #23204? |
These are all the system events in EventGrid in typespec, #23204 was the EGv2 preview api! |
So this is another spec that will be added to the repo eventually? If so, please make sure it is passing all the checks (including |
No description provided.