Skip to content

Commit dd134f1

Browse files
committed
fix: stop filtering x-xgen-changelog from versioned files
1 parent 8771dfc commit dd134f1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/cli/internal/openapi/filter/operations.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
"github.com/getkin/kin-openapi/openapi3"
1818
)
1919

20-
// OperationsFilter: is a filter that removes the x-xgen-owner-team and x-xgen-changelog extension from operations.
20+
// OperationsFilter: is a filter that removes the x-xgen-owner-team extension from operations.
2121
type OperationsFilter struct {
2222
oas *openapi3.T
2323
}
@@ -35,7 +35,6 @@ func (f *OperationsFilter) Apply() error {
3535
for _, operation := range pathItem.Operations() {
3636
if operation.Extensions != nil {
3737
delete(operation.Extensions, "x-xgen-owner-team")
38-
delete(operation.Extensions, "x-xgen-changelog")
3938
}
4039
}
4140
}

0 commit comments

Comments
 (0)