-
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
Mvad update #23434
Mvad update #23434
Conversation
Hi, @mikekistler 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 |
---|---|---|
openapi.json | v1.1(f646fdc) | v1.1(main) |
️️✔️
Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️
CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️
LintDiff: 0 Warnings warning [Detail]
compared tags (via openapi-validator v2.0.0) | new version | base version |
---|---|---|
release_1_1 | release_1_1(f646fdc) | release_1_1(main) |
The following errors/warnings exist before current PR submission:
Only 30 items are listed, please refer to log for more details.
Rule | Message |
---|---|
OperationIdNounVerb |
Per the Noun_Verb convention for Operation Ids, the noun 'Multivariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: AnomalyDetector/stable/v1.1/openapi.json#L71 |
OperationIdNounVerb |
Per the Noun_Verb convention for Operation Ids, the noun 'Multivariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: AnomalyDetector/stable/v1.1/openapi.json#L113 |
OperationIdNounVerb |
Per the Noun_Verb convention for Operation Ids, the noun 'Multivariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: AnomalyDetector/stable/v1.1/openapi.json#L160 |
OperationIdNounVerb |
Per the Noun_Verb convention for Operation Ids, the noun 'Multivariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: AnomalyDetector/stable/v1.1/openapi.json#L203 |
OperationIdNounVerb |
Per the Noun_Verb convention for Operation Ids, the noun 'Multivariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: AnomalyDetector/stable/v1.1/openapi.json#L239 |
OperationIdNounVerb |
Per the Noun_Verb convention for Operation Ids, the noun 'Multivariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: AnomalyDetector/stable/v1.1/openapi.json#L280 |
OperationIdNounVerb |
Per the Noun_Verb convention for Operation Ids, the noun 'Multivariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: AnomalyDetector/stable/v1.1/openapi.json#L340 |
OperationIdNounVerb |
Per the Noun_Verb convention for Operation Ids, the noun 'Univariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: AnomalyDetector/stable/v1.1/openapi.json#L390 |
OperationIdNounVerb |
Per the Noun_Verb convention for Operation Ids, the noun 'Univariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: AnomalyDetector/stable/v1.1/openapi.json#L433 |
OperationIdNounVerb |
Per the Noun_Verb convention for Operation Ids, the noun 'Univariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: AnomalyDetector/stable/v1.1/openapi.json#L476 |
API version should be a date in YYYY-MM-DD format, optionally suffixed with '-preview'. Location: AnomalyDetector/stable/v1.1/openapi.json#L5 |
|
Based on the response model schema, operation 'Multivariate_GetMultivariateBatchDetectionResult' might be pageable. Consider adding the x-ms-pageable extension. Location: AnomalyDetector/stable/v1.1/openapi.json#L70 |
|
Operation might be pageable. Consider adding the x-ms-pageable extension. Location: AnomalyDetector/stable/v1.1/openapi.json#L70 |
|
Operation does not define an 'api-version' query parameter. Location: AnomalyDetector/stable/v1.1/openapi.json#L74 |
|
Path parameter should specify a maximum length (maxLength) and characters allowed (pattern). Location: AnomalyDetector/stable/v1.1/openapi.json#L75 |
|
Error response schema should contain an object property named error .Location: AnomalyDetector/stable/v1.1/openapi.json#L99 |
|
Operation does not define an 'api-version' query parameter. Location: AnomalyDetector/stable/v1.1/openapi.json#L116 |
|
Using post for a create operation is discouraged. Location: AnomalyDetector/stable/v1.1/openapi.json#L128 |
|
Error response schema should contain an object property named error .Location: AnomalyDetector/stable/v1.1/openapi.json#L148 |
|
Operation does not define an 'api-version' query parameter. Location: AnomalyDetector/stable/v1.1/openapi.json#L163 |
|
Response body schema of pageable response should contain top-level array property value Location: AnomalyDetector/stable/v1.1/openapi.json#L174 |
|
Error response schema should contain an object property named error .Location: AnomalyDetector/stable/v1.1/openapi.json#L186 |
|
Operation does not define an 'api-version' query parameter. Location: AnomalyDetector/stable/v1.1/openapi.json#L206 |
|
Path parameter should specify a maximum length (maxLength) and characters allowed (pattern). Location: AnomalyDetector/stable/v1.1/openapi.json#L207 |
|
Error response schema should contain an object property named error .Location: AnomalyDetector/stable/v1.1/openapi.json#L227 |
|
Operation does not define an 'api-version' query parameter. Location: AnomalyDetector/stable/v1.1/openapi.json#L242 |
|
Path parameter should specify a maximum length (maxLength) and characters allowed (pattern). Location: AnomalyDetector/stable/v1.1/openapi.json#L243 |
|
Error response schema should contain an object property named error .Location: AnomalyDetector/stable/v1.1/openapi.json#L266 |
|
Operations with a 202 response should specify x-ms-long-running-operation: true .Location: AnomalyDetector/stable/v1.1/openapi.json#L279 |
|
Operation might be pageable. Consider adding the x-ms-pageable extension. Location: AnomalyDetector/stable/v1.1/openapi.json#L279 |
️️✔️
Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️
ApiReadinessCheck succeeded [Detail] [Expand]
️⚠️
~[Staging] ServiceAPIReadinessTest: 0 Warnings warning [Detail]
API Test is not triggered due to precheck failure. Check pipeline log for details.
️️✔️
SwaggerAPIView succeeded [Detail] [Expand]
️️✔️
CadlAPIView 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 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).
️️✔️
CadlValidation succeeded [Detail] [Expand]
Validation passes for CadlValidation.
️❌
TypeSpec Validation: 10 Errors, 7 Warnings failed [Detail]
Rule | Message |
---|---|
unknown-identifier |
Unknown identifier Cadl Location: specification/cognitiveservices/OpenAI.Authoring/model.routes.tsp#L9 |
unknown-identifier |
Unknown identifier Cadl Location: specification/cognitiveservices/OpenAI.Authoring/model.routes.tsp#L10 |
unknown-identifier |
Unknown identifier Cadl Location: specification/cognitiveservices/OpenAI.Authoring/finetune.tsp#L93 |
unknown-decorator |
Unknown decorator Location: specification/cognitiveservices/OpenAI.Authoring/finetune.tsp#L93 |
unknown-identifier |
Unknown identifier route Location: specification/cognitiveservices/OpenAI.Authoring/model.routes.tsp#L27 |
unknown-decorator |
Unknown decorator Location: specification/cognitiveservices/OpenAI.Authoring/model.routes.tsp#L27 |
unknown-identifier |
Unknown identifier get Location: specification/cognitiveservices/OpenAI.Authoring/model.routes.tsp#L28 |
unknown-decorator |
Unknown decorator Location: specification/cognitiveservices/OpenAI.Authoring/model.routes.tsp#L28 |
MissingExamplesDirectory |
"details":"The 'examples' directory is missing in the typespec folder specification/cognitiveservices/OpenAI.Authoring, please ensure the 'examples' is added in the PR." |
MissingExamplesDirectory |
"details":"The 'examples' directory is missing in the typespec folder specification/cognitiveservices/OpenAI.Inference, please ensure the 'examples' is added in the PR." |
@versionedDependency is deprecated. Use @useDependency instead. Location: specification/cognitiveservices/OpenAI.Authoring/main.tsp#L23 |
|
@versionedDependency is deprecated. Use @useDependency instead. Location: specification/cognitiveservices/OpenAI.Inference/main.tsp#L34 |
|
"details":"The configuration 'azure-resource-provider-folder' for '@azure-tools/typespec-autorest' is missing in the tspconfig.yaml under folder specification/cognitiveservices/AnomalyDetector, please ensure it is added in the configuration of the emitter '@azure-tools/typespec-autorest'." |
|
"details":"The configuration 'output-file' for '@azure-tools/typespec-autorest' is missing in the tspconfig.yaml under folder specification/cognitiveservices/OpenAI.Authoring, please ensure it is added in the configuration of the emitter '@azure-tools/typespec-autorest'." |
|
"details":"The configuration 'azure-resource-provider-folder' for '@azure-tools/typespec-autorest' is missing in the tspconfig.yaml under folder specification/cognitiveservices/OpenAI.Authoring, please ensure it is added in the configuration of the emitter '@azure-tools/typespec-autorest'." |
|
"details":"The configuration 'output-file' for '@azure-tools/typespec-autorest' is missing in the tspconfig.yaml under folder specification/cognitiveservices/OpenAI.Inference, please ensure it is added in the configuration of the emitter '@azure-tools/typespec-autorest'." |
|
"details":"The configuration 'azure-resource-provider-folder' for '@azure-tools/typespec-autorest' is missing in the tspconfig.yaml under folder specification/cognitiveservices/OpenAI.Inference, please ensure it is added in the configuration of the emitter '@azure-tools/typespec-autorest'." |
️️✔️
PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
Swagger Generation Artifacts
|
Generated ApiView
|
Hi @mikekistler, Your PR has some issues. Please fix the CI sequentially by following the order of
|
Hi @mikekistler, 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. |
Another improvement that would be nice is to add @doc strings on some of the enums, like:
Those @doc strings will improve developer experience with descriptions for each value in the generated REST API Docs and generated SDKs.
|
@mikekistler there's several required checks failures:
|
Approving breaking changes which are either intentional, or because validation was case-sensitive when it shouldn't have been e.g., HTTP headers are case-insensitive by specification. |
…23473) * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * fix error * use spaces * fix CI errors * use altest api version as default for Avocado * update host to eastus2euap endpoint to check manifest * MGRP S360 Vuln (#22832) * Add blockchain to latest profile * Add additional types * Fix Swagger issues * Solve validation --------- Co-authored-by: Mark Cowlishaw <[email protected]> * use old api versionf or operations * Azure Orbital - swagger fix for api-version 2022-11-01 (#23441) * added example for the new field * updated the double ref that was causing build failure * Fixed PrometheusRuleGroups examples (#23390) * Fixed PrometheusRuleGroups examples * One more fix * Remvoe flattern (#23460) Co-authored-by: Will Huang <[email protected]> * Mvad update (#23434) * Add default value 10 for topContributorCount * Update AnomalyDetector typespec to latest typespec and Azure.Core versions and fix all warnings * Update TypeSpec config * Add back language emitter options * Fix cspell and model validation errors --------- Co-authored-by: Chunlei Wang <[email protected]> * revert Operations example api version --------- Co-authored-by: ramoka178 <[email protected]> Co-authored-by: Mark Cowlishaw <[email protected]> Co-authored-by: Stuti Kumar <[email protected]> Co-authored-by: giladsu <[email protected]> Co-authored-by: will <[email protected]> Co-authored-by: Will Huang <[email protected]> Co-authored-by: Mike Kistler <[email protected]> Co-authored-by: Chunlei Wang <[email protected]>
…23483) * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * fix error * use spaces * fix CI errors * use altest api version as default for Avocado * update host to eastus2euap endpoint to check manifest * MGRP S360 Vuln (#22832) * Add blockchain to latest profile * Add additional types * Fix Swagger issues * Solve validation --------- Co-authored-by: Mark Cowlishaw <[email protected]> * use old api versionf or operations * Azure Orbital - swagger fix for api-version 2022-11-01 (#23441) * added example for the new field * updated the double ref that was causing build failure * Fixed PrometheusRuleGroups examples (#23390) * Fixed PrometheusRuleGroups examples * One more fix * Remvoe flattern (#23460) Co-authored-by: Will Huang <[email protected]> * Mvad update (#23434) * Add default value 10 for topContributorCount * Update AnomalyDetector typespec to latest typespec and Azure.Core versions and fix all warnings * Update TypeSpec config * Add back language emitter options * Fix cspell and model validation errors --------- Co-authored-by: Chunlei Wang <[email protected]> * revert Operations example api version * use management.auzre.com endpoint --------- Co-authored-by: ramoka178 <[email protected]> Co-authored-by: Mark Cowlishaw <[email protected]> Co-authored-by: Stuti Kumar <[email protected]> Co-authored-by: giladsu <[email protected]> Co-authored-by: will <[email protected]> Co-authored-by: Will Huang <[email protected]> Co-authored-by: Mike Kistler <[email protected]> Co-authored-by: Chunlei Wang <[email protected]>
…23484) * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * fix error * use spaces * fix CI errors * use altest api version as default for Avocado * update host to eastus2euap endpoint to check manifest * MGRP S360 Vuln (#22832) * Add blockchain to latest profile * Add additional types * Fix Swagger issues * Solve validation --------- Co-authored-by: Mark Cowlishaw <[email protected]> * use old api versionf or operations * Azure Orbital - swagger fix for api-version 2022-11-01 (#23441) * added example for the new field * updated the double ref that was causing build failure * Fixed PrometheusRuleGroups examples (#23390) * Fixed PrometheusRuleGroups examples * One more fix * Remvoe flattern (#23460) Co-authored-by: Will Huang <[email protected]> * Mvad update (#23434) * Add default value 10 for topContributorCount * Update AnomalyDetector typespec to latest typespec and Azure.Core versions and fix all warnings * Update TypeSpec config * Add back language emitter options * Fix cspell and model validation errors --------- Co-authored-by: Chunlei Wang <[email protected]> * revert Operations example api version * add codeowners for Compute Instance swagger (#23437) Co-authored-by: Naman Agarwal <[email protected]> * [Hub Generated] Review request for Microsoft.DevHub to add version preview/2022-10-11-preview (#22828) * Adds base for updating Microsoft.DevHub from version preview/2022-04-01-preview to version 2022-10-11-preview * Updates readme * Updates API version in new specs and examples * start 10-11 preview * add words * fix readme version * update swagger version * add second putworkflow example * fix generatepreviewartifactsresponse * align generate preview artifacts example * update param locations that got changed * add x-ms-client-flatten for artifact properties * Adding WorkflowRunStatus * Fixing enum name * add namespace to example --------- Co-authored-by: Brandon Foley <[email protected]> * Update readme.python.md (#23208) * fixing async response type for machinelearningservices-2023-02-01-preview (#23105) * fixing regex pattern and async response type * remove update to regex * Fix lint error for Datadog RP (#23477) * Fix link error for Datadog RP * Fix version * merging billing fix to public repo (#23424) Co-authored-by: Gaurav Bang <[email protected]> * use management.auzre.com endpoint * fix package version in readme --------- Co-authored-by: ramoka178 <[email protected]> Co-authored-by: Mark Cowlishaw <[email protected]> Co-authored-by: Stuti Kumar <[email protected]> Co-authored-by: giladsu <[email protected]> Co-authored-by: will <[email protected]> Co-authored-by: Will Huang <[email protected]> Co-authored-by: Mike Kistler <[email protected]> Co-authored-by: Chunlei Wang <[email protected]> Co-authored-by: Naman Agarwal <[email protected]> Co-authored-by: Naman Agarwal <[email protected]> Co-authored-by: David Gamero <[email protected]> Co-authored-by: Brandon Foley <[email protected]> Co-authored-by: Yuchao Yan <[email protected]> Co-authored-by: Karishma Daga <[email protected]> Co-authored-by: vikotha <[email protected]> Co-authored-by: Gaurav <[email protected]> Co-authored-by: Gaurav Bang <[email protected]>
…23513) * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * fix error * use spaces * fix CI errors * use altest api version as default for Avocado * update host to eastus2euap endpoint to check manifest * MGRP S360 Vuln (#22832) * Add blockchain to latest profile * Add additional types * Fix Swagger issues * Solve validation --------- Co-authored-by: Mark Cowlishaw <[email protected]> * use old api versionf or operations * Azure Orbital - swagger fix for api-version 2022-11-01 (#23441) * added example for the new field * updated the double ref that was causing build failure * Fixed PrometheusRuleGroups examples (#23390) * Fixed PrometheusRuleGroups examples * One more fix * Remvoe flattern (#23460) Co-authored-by: Will Huang <[email protected]> * Mvad update (#23434) * Add default value 10 for topContributorCount * Update AnomalyDetector typespec to latest typespec and Azure.Core versions and fix all warnings * Update TypeSpec config * Add back language emitter options * Fix cspell and model validation errors --------- Co-authored-by: Chunlei Wang <[email protected]> * revert Operations example api version * add codeowners for Compute Instance swagger (#23437) Co-authored-by: Naman Agarwal <[email protected]> * [Hub Generated] Review request for Microsoft.DevHub to add version preview/2022-10-11-preview (#22828) * Adds base for updating Microsoft.DevHub from version preview/2022-04-01-preview to version 2022-10-11-preview * Updates readme * Updates API version in new specs and examples * start 10-11 preview * add words * fix readme version * update swagger version * add second putworkflow example * fix generatepreviewartifactsresponse * align generate preview artifacts example * update param locations that got changed * add x-ms-client-flatten for artifact properties * Adding WorkflowRunStatus * Fixing enum name * add namespace to example --------- Co-authored-by: Brandon Foley <[email protected]> * Update readme.python.md (#23208) * fixing async response type for machinelearningservices-2023-02-01-preview (#23105) * fixing regex pattern and async response type * remove update to regex * Fix lint error for Datadog RP (#23477) * Fix link error for Datadog RP * Fix version * merging billing fix to public repo (#23424) Co-authored-by: Gaurav Bang <[email protected]> * use management.auzre.com endpoint * fix package version in readme * fix tag in readme --------- Co-authored-by: ramoka178 <[email protected]> Co-authored-by: Mark Cowlishaw <[email protected]> Co-authored-by: Stuti Kumar <[email protected]> Co-authored-by: giladsu <[email protected]> Co-authored-by: will <[email protected]> Co-authored-by: Will Huang <[email protected]> Co-authored-by: Mike Kistler <[email protected]> Co-authored-by: Chunlei Wang <[email protected]> Co-authored-by: Naman Agarwal <[email protected]> Co-authored-by: Naman Agarwal <[email protected]> Co-authored-by: David Gamero <[email protected]> Co-authored-by: Brandon Foley <[email protected]> Co-authored-by: Yuchao Yan <[email protected]> Co-authored-by: Karishma Daga <[email protected]> Co-authored-by: vikotha <[email protected]> Co-authored-by: Gaurav <[email protected]> Co-authored-by: Gaurav Bang <[email protected]>
…2023-05-01 (#23485) * Adds base for updating Microsoft.ContainerInstance from version preview/2022-10-01-preview to version 2023-05-01 * Updates readme * Updates API version in new specs and examples * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * fix error * use spaces * Fnuarnav containerinstance microsoft.container instance 2023 05 01 (#23166) * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * fix error * use spaces * fix CI errors * Fnuarnav containerinstance microsoft.container instance 2023 05 01 (#23169) * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * fix error * use spaces * fix CI errors * use altest api version as default for Avocado * Fnuarnav containerinstance microsoft.container instance 2023 05 01 (#23170) * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * fix error * use spaces * fix CI errors * use altest api version as default for Avocado * update host to eastus2euap endpoint to check manifest * Fnuarnav containerinstance microsoft.container instance 2023 05 01 (#23452) * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * fix error * use spaces * fix CI errors * use altest api version as default for Avocado * update host to eastus2euap endpoint to check manifest * use old api versionf or operations * Fnuarnav containerinstance microsoft.container instance 2023 05 01 (#23453) * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * fix error * use spaces * fix CI errors * use altest api version as default for Avocado * update host to eastus2euap endpoint to check manifest * use old api versionf or operations * revert Operations example api version * Fnuarnav containerinstance microsoft.container instance 2023 05 01 (#23471) * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * fix error * use spaces * fix CI errors * use altest api version as default for Avocado * update host to eastus2euap endpoint to check manifest * use old api versionf or operations * revert Operations example api version * Fnuarnav containerinstance microsoft.container instance 2023 05 01 (#23473) * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * fix error * use spaces * fix CI errors * use altest api version as default for Avocado * update host to eastus2euap endpoint to check manifest * MGRP S360 Vuln (#22832) * Add blockchain to latest profile * Add additional types * Fix Swagger issues * Solve validation --------- Co-authored-by: Mark Cowlishaw <[email protected]> * use old api versionf or operations * Azure Orbital - swagger fix for api-version 2022-11-01 (#23441) * added example for the new field * updated the double ref that was causing build failure * Fixed PrometheusRuleGroups examples (#23390) * Fixed PrometheusRuleGroups examples * One more fix * Remvoe flattern (#23460) Co-authored-by: Will Huang <[email protected]> * Mvad update (#23434) * Add default value 10 for topContributorCount * Update AnomalyDetector typespec to latest typespec and Azure.Core versions and fix all warnings * Update TypeSpec config * Add back language emitter options * Fix cspell and model validation errors --------- Co-authored-by: Chunlei Wang <[email protected]> * revert Operations example api version --------- Co-authored-by: ramoka178 <[email protected]> Co-authored-by: Mark Cowlishaw <[email protected]> Co-authored-by: Stuti Kumar <[email protected]> Co-authored-by: giladsu <[email protected]> Co-authored-by: will <[email protected]> Co-authored-by: Will Huang <[email protected]> Co-authored-by: Mike Kistler <[email protected]> Co-authored-by: Chunlei Wang <[email protected]> * use management.auzre.com endpoint * Fnuarnav containerinstance microsoft.container instance 2023 05 01 (#23483) * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * fix error * use spaces * fix CI errors * use altest api version as default for Avocado * update host to eastus2euap endpoint to check manifest * MGRP S360 Vuln (#22832) * Add blockchain to latest profile * Add additional types * Fix Swagger issues * Solve validation --------- Co-authored-by: Mark Cowlishaw <[email protected]> * use old api versionf or operations * Azure Orbital - swagger fix for api-version 2022-11-01 (#23441) * added example for the new field * updated the double ref that was causing build failure * Fixed PrometheusRuleGroups examples (#23390) * Fixed PrometheusRuleGroups examples * One more fix * Remvoe flattern (#23460) Co-authored-by: Will Huang <[email protected]> * Mvad update (#23434) * Add default value 10 for topContributorCount * Update AnomalyDetector typespec to latest typespec and Azure.Core versions and fix all warnings * Update TypeSpec config * Add back language emitter options * Fix cspell and model validation errors --------- Co-authored-by: Chunlei Wang <[email protected]> * revert Operations example api version * use management.auzre.com endpoint --------- Co-authored-by: ramoka178 <[email protected]> Co-authored-by: Mark Cowlishaw <[email protected]> Co-authored-by: Stuti Kumar <[email protected]> Co-authored-by: giladsu <[email protected]> Co-authored-by: will <[email protected]> Co-authored-by: Will Huang <[email protected]> Co-authored-by: Mike Kistler <[email protected]> Co-authored-by: Chunlei Wang <[email protected]> * fix package version in readme * Fnuarnav containerinstance microsoft.container instance 2023 05 01 (#23484) * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * fix error * use spaces * fix CI errors * use altest api version as default for Avocado * update host to eastus2euap endpoint to check manifest * MGRP S360 Vuln (#22832) * Add blockchain to latest profile * Add additional types * Fix Swagger issues * Solve validation --------- Co-authored-by: Mark Cowlishaw <[email protected]> * use old api versionf or operations * Azure Orbital - swagger fix for api-version 2022-11-01 (#23441) * added example for the new field * updated the double ref that was causing build failure * Fixed PrometheusRuleGroups examples (#23390) * Fixed PrometheusRuleGroups examples * One more fix * Remvoe flattern (#23460) Co-authored-by: Will Huang <[email protected]> * Mvad update (#23434) * Add default value 10 for topContributorCount * Update AnomalyDetector typespec to latest typespec and Azure.Core versions and fix all warnings * Update TypeSpec config * Add back language emitter options * Fix cspell and model validation errors --------- Co-authored-by: Chunlei Wang <[email protected]> * revert Operations example api version * add codeowners for Compute Instance swagger (#23437) Co-authored-by: Naman Agarwal <[email protected]> * [Hub Generated] Review request for Microsoft.DevHub to add version preview/2022-10-11-preview (#22828) * Adds base for updating Microsoft.DevHub from version preview/2022-04-01-preview to version 2022-10-11-preview * Updates readme * Updates API version in new specs and examples * start 10-11 preview * add words * fix readme version * update swagger version * add second putworkflow example * fix generatepreviewartifactsresponse * align generate preview artifacts example * update param locations that got changed * add x-ms-client-flatten for artifact properties * Adding WorkflowRunStatus * Fixing enum name * add namespace to example --------- Co-authored-by: Brandon Foley <[email protected]> * Update readme.python.md (#23208) * fixing async response type for machinelearningservices-2023-02-01-preview (#23105) * fixing regex pattern and async response type * remove update to regex * Fix lint error for Datadog RP (#23477) * Fix link error for Datadog RP * Fix version * merging billing fix to public repo (#23424) Co-authored-by: Gaurav Bang <[email protected]> * use management.auzre.com endpoint * fix package version in readme --------- Co-authored-by: ramoka178 <[email protected]> Co-authored-by: Mark Cowlishaw <[email protected]> Co-authored-by: Stuti Kumar <[email protected]> Co-authored-by: giladsu <[email protected]> Co-authored-by: will <[email protected]> Co-authored-by: Will Huang <[email protected]> Co-authored-by: Mike Kistler <[email protected]> Co-authored-by: Chunlei Wang <[email protected]> Co-authored-by: Naman Agarwal <[email protected]> Co-authored-by: Naman Agarwal <[email protected]> Co-authored-by: David Gamero <[email protected]> Co-authored-by: Brandon Foley <[email protected]> Co-authored-by: Yuchao Yan <[email protected]> Co-authored-by: Karishma Daga <[email protected]> Co-authored-by: vikotha <[email protected]> Co-authored-by: Gaurav <[email protected]> Co-authored-by: Gaurav Bang <[email protected]> * fix tag in readme * update example with capabilities example * fix typo --------- Co-authored-by: ramoka178 <[email protected]> Co-authored-by: Mark Cowlishaw <[email protected]> Co-authored-by: Stuti Kumar <[email protected]> Co-authored-by: giladsu <[email protected]> Co-authored-by: will <[email protected]> Co-authored-by: Will Huang <[email protected]> Co-authored-by: Mike Kistler <[email protected]> Co-authored-by: Chunlei Wang <[email protected]> Co-authored-by: Naman Agarwal <[email protected]> Co-authored-by: Naman Agarwal <[email protected]> Co-authored-by: David Gamero <[email protected]> Co-authored-by: Brandon Foley <[email protected]> Co-authored-by: Yuchao Yan <[email protected]> Co-authored-by: Karishma Daga <[email protected]> Co-authored-by: vikotha <[email protected]> Co-authored-by: Gaurav <[email protected]> Co-authored-by: Gaurav Bang <[email protected]>
* Add default value 10 for topContributorCount * Update AnomalyDetector typespec to latest typespec and Azure.Core versions and fix all warnings * Update TypeSpec config * Add back language emitter options * Fix cspell and model validation errors --------- Co-authored-by: Chunlei Wang <[email protected]>
…2023-05-01 (Azure#23485) * Adds base for updating Microsoft.ContainerInstance from version preview/2022-10-01-preview to version 2023-05-01 * Updates readme * Updates API version in new specs and examples * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * fix error * use spaces * Fnuarnav containerinstance microsoft.container instance 2023 05 01 (Azure#23166) * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * fix error * use spaces * fix CI errors * Fnuarnav containerinstance microsoft.container instance 2023 05 01 (Azure#23169) * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * fix error * use spaces * fix CI errors * use altest api version as default for Avocado * Fnuarnav containerinstance microsoft.container instance 2023 05 01 (Azure#23170) * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * fix error * use spaces * fix CI errors * use altest api version as default for Avocado * update host to eastus2euap endpoint to check manifest * Fnuarnav containerinstance microsoft.container instance 2023 05 01 (Azure#23452) * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * fix error * use spaces * fix CI errors * use altest api version as default for Avocado * update host to eastus2euap endpoint to check manifest * use old api versionf or operations * Fnuarnav containerinstance microsoft.container instance 2023 05 01 (Azure#23453) * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * fix error * use spaces * fix CI errors * use altest api version as default for Avocado * update host to eastus2euap endpoint to check manifest * use old api versionf or operations * revert Operations example api version * Fnuarnav containerinstance microsoft.container instance 2023 05 01 (Azure#23471) * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * fix error * use spaces * fix CI errors * use altest api version as default for Avocado * update host to eastus2euap endpoint to check manifest * use old api versionf or operations * revert Operations example api version * Fnuarnav containerinstance microsoft.container instance 2023 05 01 (Azure#23473) * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * fix error * use spaces * fix CI errors * use altest api version as default for Avocado * update host to eastus2euap endpoint to check manifest * MGRP S360 Vuln (Azure#22832) * Add blockchain to latest profile * Add additional types * Fix Swagger issues * Solve validation --------- Co-authored-by: Mark Cowlishaw <[email protected]> * use old api versionf or operations * Azure Orbital - swagger fix for api-version 2022-11-01 (Azure#23441) * added example for the new field * updated the double ref that was causing build failure * Fixed PrometheusRuleGroups examples (Azure#23390) * Fixed PrometheusRuleGroups examples * One more fix * Remvoe flattern (Azure#23460) Co-authored-by: Will Huang <[email protected]> * Mvad update (Azure#23434) * Add default value 10 for topContributorCount * Update AnomalyDetector typespec to latest typespec and Azure.Core versions and fix all warnings * Update TypeSpec config * Add back language emitter options * Fix cspell and model validation errors --------- Co-authored-by: Chunlei Wang <[email protected]> * revert Operations example api version --------- Co-authored-by: ramoka178 <[email protected]> Co-authored-by: Mark Cowlishaw <[email protected]> Co-authored-by: Stuti Kumar <[email protected]> Co-authored-by: giladsu <[email protected]> Co-authored-by: will <[email protected]> Co-authored-by: Will Huang <[email protected]> Co-authored-by: Mike Kistler <[email protected]> Co-authored-by: Chunlei Wang <[email protected]> * use management.auzre.com endpoint * Fnuarnav containerinstance microsoft.container instance 2023 05 01 (Azure#23483) * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * fix error * use spaces * fix CI errors * use altest api version as default for Avocado * update host to eastus2euap endpoint to check manifest * MGRP S360 Vuln (Azure#22832) * Add blockchain to latest profile * Add additional types * Fix Swagger issues * Solve validation --------- Co-authored-by: Mark Cowlishaw <[email protected]> * use old api versionf or operations * Azure Orbital - swagger fix for api-version 2022-11-01 (Azure#23441) * added example for the new field * updated the double ref that was causing build failure * Fixed PrometheusRuleGroups examples (Azure#23390) * Fixed PrometheusRuleGroups examples * One more fix * Remvoe flattern (Azure#23460) Co-authored-by: Will Huang <[email protected]> * Mvad update (Azure#23434) * Add default value 10 for topContributorCount * Update AnomalyDetector typespec to latest typespec and Azure.Core versions and fix all warnings * Update TypeSpec config * Add back language emitter options * Fix cspell and model validation errors --------- Co-authored-by: Chunlei Wang <[email protected]> * revert Operations example api version * use management.auzre.com endpoint --------- Co-authored-by: ramoka178 <[email protected]> Co-authored-by: Mark Cowlishaw <[email protected]> Co-authored-by: Stuti Kumar <[email protected]> Co-authored-by: giladsu <[email protected]> Co-authored-by: will <[email protected]> Co-authored-by: Will Huang <[email protected]> Co-authored-by: Mike Kistler <[email protected]> Co-authored-by: Chunlei Wang <[email protected]> * fix package version in readme * Fnuarnav containerinstance microsoft.container instance 2023 05 01 (Azure#23484) * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * fix error * use spaces * fix CI errors * use altest api version as default for Avocado * update host to eastus2euap endpoint to check manifest * MGRP S360 Vuln (Azure#22832) * Add blockchain to latest profile * Add additional types * Fix Swagger issues * Solve validation --------- Co-authored-by: Mark Cowlishaw <[email protected]> * use old api versionf or operations * Azure Orbital - swagger fix for api-version 2022-11-01 (Azure#23441) * added example for the new field * updated the double ref that was causing build failure * Fixed PrometheusRuleGroups examples (Azure#23390) * Fixed PrometheusRuleGroups examples * One more fix * Remvoe flattern (Azure#23460) Co-authored-by: Will Huang <[email protected]> * Mvad update (Azure#23434) * Add default value 10 for topContributorCount * Update AnomalyDetector typespec to latest typespec and Azure.Core versions and fix all warnings * Update TypeSpec config * Add back language emitter options * Fix cspell and model validation errors --------- Co-authored-by: Chunlei Wang <[email protected]> * revert Operations example api version * add codeowners for Compute Instance swagger (Azure#23437) Co-authored-by: Naman Agarwal <[email protected]> * [Hub Generated] Review request for Microsoft.DevHub to add version preview/2022-10-11-preview (Azure#22828) * Adds base for updating Microsoft.DevHub from version preview/2022-04-01-preview to version 2022-10-11-preview * Updates readme * Updates API version in new specs and examples * start 10-11 preview * add words * fix readme version * update swagger version * add second putworkflow example * fix generatepreviewartifactsresponse * align generate preview artifacts example * update param locations that got changed * add x-ms-client-flatten for artifact properties * Adding WorkflowRunStatus * Fixing enum name * add namespace to example --------- Co-authored-by: Brandon Foley <[email protected]> * Update readme.python.md (Azure#23208) * fixing async response type for machinelearningservices-2023-02-01-preview (Azure#23105) * fixing regex pattern and async response type * remove update to regex * Fix lint error for Datadog RP (Azure#23477) * Fix link error for Datadog RP * Fix version * merging billing fix to public repo (Azure#23424) Co-authored-by: Gaurav Bang <[email protected]> * use management.auzre.com endpoint * fix package version in readme --------- Co-authored-by: ramoka178 <[email protected]> Co-authored-by: Mark Cowlishaw <[email protected]> Co-authored-by: Stuti Kumar <[email protected]> Co-authored-by: giladsu <[email protected]> Co-authored-by: will <[email protected]> Co-authored-by: Will Huang <[email protected]> Co-authored-by: Mike Kistler <[email protected]> Co-authored-by: Chunlei Wang <[email protected]> Co-authored-by: Naman Agarwal <[email protected]> Co-authored-by: Naman Agarwal <[email protected]> Co-authored-by: David Gamero <[email protected]> Co-authored-by: Brandon Foley <[email protected]> Co-authored-by: Yuchao Yan <[email protected]> Co-authored-by: Karishma Daga <[email protected]> Co-authored-by: vikotha <[email protected]> Co-authored-by: Gaurav <[email protected]> Co-authored-by: Gaurav Bang <[email protected]> * fix tag in readme * update example with capabilities example * fix typo --------- Co-authored-by: ramoka178 <[email protected]> Co-authored-by: Mark Cowlishaw <[email protected]> Co-authored-by: Stuti Kumar <[email protected]> Co-authored-by: giladsu <[email protected]> Co-authored-by: will <[email protected]> Co-authored-by: Will Huang <[email protected]> Co-authored-by: Mike Kistler <[email protected]> Co-authored-by: Chunlei Wang <[email protected]> Co-authored-by: Naman Agarwal <[email protected]> Co-authored-by: Naman Agarwal <[email protected]> Co-authored-by: David Gamero <[email protected]> Co-authored-by: Brandon Foley <[email protected]> Co-authored-by: Yuchao Yan <[email protected]> Co-authored-by: Karishma Daga <[email protected]> Co-authored-by: vikotha <[email protected]> Co-authored-by: Gaurav <[email protected]> Co-authored-by: Gaurav Bang <[email protected]>
This PR updates the TypeSpec for AnomalyDetector to the latest TypeSpec and Azure.Core versions. It also fixes some minor issues in the API definition. Some details:
Fixes: