-
Notifications
You must be signed in to change notification settings - Fork 14
CLOUDP-305830: stop filtering x-xgen-changelog from versioned files #540
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
Conversation
| "DigestAuth": [] | ||
| } | ||
| ], | ||
| "x-xgen-changelog": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cleaning up x-xgen-changelog in most tests, but adding it to one of the endpoints
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| for _, operation := range pathItem.Operations() { | ||
| if operation.Extensions != nil { | ||
| delete(operation.Extensions, "x-xgen-owner-team") | ||
| delete(operation.Extensions, "x-xgen-changelog") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this line the fix? Do we plan to include this extension for all the specs? I am wondering if we should keep it only for the latest API version spec but not strong opinion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, and I plan to keep it in all specs, I added the removal then caused a regression
Proposed changes
Checklist
Changes to Spectral
Further comments