Skip to content

Commit 07da0c7

Browse files
Update changelog.go
1 parent 0ee14dd commit 07da0c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/cli/internal/changelog/changelog.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,8 @@ func newBaseAndRevisionSpecs(baseMetadata, revisionMetadata *Metadata) (baseSpec
387387
}
388388

389389
if strings.Contains(revisionMetadata.ActiveVersion, ".upcoming") {
390-
// Upcoming API Spec contains only endpoints marked as "upcoming". We need to remove endpoints from
391-
// the base spec that aren't present in the revision spec to avoid generating
390+
// "Upcoming" OpenAPI Spec contains only endpoints marked as "upcoming". We need to remove endpoints from
391+
// the base spec that aren't present in the "Upcoming" revision spec to avoid generating
392392
// incorrect "endpoint deleted" changelog entries.
393393
removePathsAndOperationsNotInRevision(baseSpec, revisionSpec)
394394
}

0 commit comments

Comments
 (0)