Skip to content

Commit

Permalink
update for dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
grokify committed Mar 25, 2020
1 parent 04001bf commit 80df5a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swagger2/count.go
Expand Up @@ -12,7 +12,7 @@ import (
)

func CountEndpointsByTag(spec Specification, tags []string) histogram.HistogramSet {
tags = stringsutil.SliceLinesTrimSpace(tags, true)
tags = stringsutil.SliceTrimSpace(tags, true)
hist := histogram.NewHistogramSet()
for url, path := range spec.Paths {
hist = countEndpointByTag(hist, tags, url, http.MethodGet, path.Get)
Expand Down

0 comments on commit 80df5a7

Please sign in to comment.