Skip to content

Commit d8f04df

Browse files
updated unit test
1 parent 82c82b2 commit d8f04df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ func TestFiltersWithoutVersioning(t *testing.T) {
120120
metadata := &Metadata{}
121121
filters := FiltersWithoutVersioning(doc, metadata)
122122

123-
assert.Len(t, filters, 4)
123+
assert.Len(t, filters, 5)
124124
}
125125

126126
func TestFiltersToGetVersions(t *testing.T) {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
"github.com/getkin/kin-openapi/openapi3"
2323
)
2424

25-
// SchemasFilter removes components that are not used in the operations.
25+
// SchemasFilter removes schemas that are not used in operations.
2626
type SchemasFilter struct {
2727
oas *openapi3.T
2828
}

0 commit comments

Comments
 (0)