Skip to content

Commit 8b87621

Browse files
reversearrowdaveshanley
authored andcommitted
fix lint errors
1 parent b76646a commit 8b87621

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

validator.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,14 @@ import (
88
"sync"
99

1010
"github.com/pb33f/libopenapi"
11-
12-
v3 "github.com/pb33f/libopenapi/datamodel/high/v3"
13-
1411
"github.com/pb33f/libopenapi-validator/config"
1512
"github.com/pb33f/libopenapi-validator/errors"
1613
"github.com/pb33f/libopenapi-validator/parameters"
1714
"github.com/pb33f/libopenapi-validator/paths"
1815
"github.com/pb33f/libopenapi-validator/requests"
1916
"github.com/pb33f/libopenapi-validator/responses"
2017
"github.com/pb33f/libopenapi-validator/schema_validation"
18+
v3 "github.com/pb33f/libopenapi/datamodel/high/v3"
2119
)
2220

2321
// Validator provides a coarse grained interface for validating an OpenAPI 3+ documents.

validator_test.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,11 @@ import (
1919
"github.com/dlclark/regexp2"
2020
"github.com/pb33f/libopenapi"
2121
"github.com/pb33f/libopenapi-validator/config"
22+
"github.com/pb33f/libopenapi-validator/helpers"
23+
v3 "github.com/pb33f/libopenapi/datamodel/high/v3"
2224
"github.com/santhosh-tekuri/jsonschema/v6"
2325
"github.com/stretchr/testify/assert"
2426
"github.com/stretchr/testify/require"
25-
26-
v3 "github.com/pb33f/libopenapi/datamodel/high/v3"
27-
28-
"github.com/pb33f/libopenapi-validator/helpers"
2927
)
3028

3129
func TestNewValidator(t *testing.T) {

0 commit comments

Comments
 (0)