-
Notifications
You must be signed in to change notification settings - Fork 8
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
DO NOT MERGE: TEST PR. Update wayfind.json to test ParameterLocationHasChanged #3371
Conversation
Next Steps to MergeNext steps that must be taken to merge this PR:
|
Swagger Generation Artifacts
|
Generated ApiView
|
Swagger Validation Report
|
Compared specs (v0.10.12) | new version | base version |
---|---|---|
wayfind.json | 2022-09-01-preview(a8f40f5) | 2022-09-01-preview(main) |
Rule | Message |
---|---|
1050 - ParameterLocationHasChanged |
Parameter location has changed. Name: 'api-version'. In: 'Query'. Old location is method: 'False'. New location is method: 'True'. New: Creator/preview/2022-09-01-preview/wayfind.json#L279:9 Old: Creator/preview/2022-09-01-preview/wayfind.json#L279:9 |
️️✔️
Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️⚠️
LintDiff: 0 Warnings warning [Detail]
Compared specs (v2.2.2) | new version | base version |
---|---|---|
package-2022-09-preview | package-2022-09-preview(a8f40f5) | package-2022-09-preview(main) |
The following errors/warnings exist before current PR submission:
Rule | Message |
---|---|
Based on the response model schema, operation 'Wayfinding_GetPath' might be pageable. Consider adding the x-ms-pageable extension. Location: Creator/preview/2022-09-01-preview/wayfind.json#L271 |
|
Operation might be pageable. Consider adding the x-ms-pageable extension. Location: Creator/preview/2022-09-01-preview/wayfind.json#L271 |
|
A required parameter should not specify a default value. Location: Creator/preview/2022-09-01-preview/wayfind.json#L283 |
|
The error property in the error response schema should be required.Location: Creator/preview/2022-09-01-preview/wayfind.json#L318 |
|
Error schema should define code and message properties as required.Location: Creator/preview/2022-09-01-preview/wayfind.json#L318 |
|
Error response should contain a x-ms-error-code header. Location: Creator/preview/2022-09-01-preview/wayfind.json#L318 |
️️✔️
[ignore this check status; not blocking PR merge] Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️
SwaggerAPIView succeeded [Detail] [Expand]
️️✔️
TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️
CredScan succeeded [Detail] [Expand]
There is no credential detected.
️️✔️
PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️️✔️
Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️
ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️
SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️
[ignore this check status; not blocking PR merge] SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️
PR Summary succeeded [Detail] [Expand]
️️✔️
Automated merging requirements met succeeded [Detail] [Expand]
Updating |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
This should have reported failure instead of
? That "spuriosity" check is there since: See also: |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
looking at this PR and this result: https://github.com/test-repo-billy/azure-rest-api-specs/pull/3371/checks?check_run_id=26540401459 according to this diagram: we are in the "same-version check / preview / breaking change" so automation should add |
Agreed. Should have |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Pull Request 560333: breaking changes: Fix ParameterLocationHasChanged not triggering for "same-API" version check |
Test if rule 1050
ParameterLocationHasChanged
triggers. It was implemented by:1050 - ParameterLocationHasChanged
; Change behavior ofChangedParameterOrder
rule with regards tox-ms-parameter-location
Azure/openapi-diff#334