-
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
Rename property in sample ContosoWidgetManager #23836
Conversation
mikeharder
commented
May 5, 2023
•
edited
Loading
edited
- Aligns with naming guidelines
- Continuation of Update sample for TypeSpec compiler v0.43.0 #23757
- Aligns with naming guidelines
Hi, @mikeharder 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 |
Swagger Validation Report
|
compared swaggers (via Oad v0.10.4)] | new version | base version |
---|---|---|
widgets.json | 2022-11-01-preview(cdbbf04) | 2022-11-01-preview(main) |
️️✔️
Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️
CredScan succeeded [Detail] [Expand]
There is no credential detected.
️️✔️
LintDiff succeeded [Detail] [Expand]
Validation passes for LintDiff.
compared tags (via openapi-validator v2.0.1) | new version | base version |
---|---|---|
package-2022-11-01-preview | package-2022-11-01-preview(cdbbf04) | package-2022-11-01-preview(main) |
️️✔️
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: 0 Errors, 0 Warnings failed [Detail]
️️✔️
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 succeeded [Detail] [Expand]
Validation passes for TypeSpec Validation.
️️✔️
PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
Swagger Generation Artifacts
|
Generated ApiView
|
Hi @mikeharder, Your PR has some issues. Please fix the CI sequentially by following the order of
|
Hi @mikeharder, 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. |
@weshaggard: Do you know how the breaking change notifications should be handled, give this is only a sample? |
Since it is just a sample, make all the breaking changes you wat - who cares? |
Yes, I can override the branch protections and just merge, but I was wondering if there is a better process? |
Please check ModelValidation CI. You need to update the sample (of this sample) as well, e.g. https://github.com/Azure/azure-rest-api-specs/blob/6474e383d60b518fa1919ca65921ffcddf4dcb6e/specification/contosowidgetmanager/data-plane/Azure.Contoso.WidgetManager/preview/2022-11-01-preview/examples/Widgets_ListWidgetsSample.json |
Should I update the @weshaggard: How did you generate the |
I didn't create them originaly but at any rate yes we have to manually maintain those files. |
I manually updated the examples, but I noticed there are two copies of the examples under the following folders. Can one of these be deleted?
|
It is my understanding the ones under the swagger directory get copied there as part of the tsp compile step that runs the autorest emitter. |
Yeah, basically this azure-rest-api-specs/specification/contosowidgetmanager/Contoso.WidgetManager/tspconfig.yaml Line 18 in cdbbf04
|