Skip to content

Commit

Permalink
fix bug on indice to compare (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
chemidy committed Feb 4, 2021
1 parent aa9a5c3 commit 66309f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openapi2/openapi2.go
Expand Up @@ -178,7 +178,7 @@ func (ps Parameters) Less(i, j int) bool {
return ps[i].Name < ps[j].Name
}
if ps[i].In != ps[j].In {
return ps[i].In < ps[i].In
return ps[i].In < ps[j].In
}
return ps[i].Ref < ps[j].Ref
}
Expand Down

0 comments on commit 66309f4

Please sign in to comment.