-
Notifications
You must be signed in to change notification settings - Fork 7
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
CLOUDP-267267: Update changelog creation to use the exemption file #170
Conversation
"github.com/tufin/oasdiff/load" | ||
) | ||
|
||
func TestOpenApiSpecMethods(t *testing.T) { | ||
loader := openapi.NewOpenAPI3().WithExcludedPrivatePaths() | ||
spec, err := loader.CreateOpenAPISpecFromPath("../../../test/data/changelog/test_spec.json") |
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.
[nit] can we capture the sha/branch of this file for history purposes? can be a comment!
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.
this is the same file we have in the mms-repo and it was manually generated . I will add this comment in the spec in a follow up PR. Thanks!
Proposed changes
Jira ticket: CLOUDP-267267
This PR adds support for using the exemption file when generating the changelog.
I tested my PR by comparing the generated file with the ones in the following evergreen patch https://evergreen.mongodb.com/task/mms_v20240731_generate_changelog_GENERATE_CHANGELOG_66b48594effa6900076ccf6a_24_08_08_08_45_08