Skip to content

Commit

Permalink
Remove dependency from go-openapi and move swagger checker to separat…
Browse files Browse the repository at this point in the history
…e module (#82)

Co-authored-by: Alexey Tyuryumov <Alexey.Tyuryumov@acronis.com>
  • Loading branch information
Alexey19 and Alexey Tyuryumov authored Mar 19, 2021
1 parent 46631a3 commit da030a1
Show file tree
Hide file tree
Showing 6 changed files with 325 additions and 247 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package response_schema
package openapi2_compliance

import (
"encoding/json"
Expand Down
12 changes: 12 additions & 0 deletions checker/addons/openapi2_compliance/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module github.com/lamoda/gonkey/checker/addons/openapi2_compliance

go 1.13

require (
github.com/go-openapi/errors v0.20.0
github.com/go-openapi/loads v0.20.2
github.com/go-openapi/spec v0.20.3
github.com/go-openapi/strfmt v0.20.0
github.com/go-openapi/validate v0.20.2
github.com/lamoda/gonkey v1.3.1
)
304 changes: 304 additions & 0 deletions checker/addons/openapi2_compliance/go.sum

Large diffs are not rendered by default.

8 changes: 1 addition & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,11 @@ go 1.14

require (
github.com/fatih/color v1.7.0
github.com/go-openapi/errors v0.19.3
github.com/go-openapi/loads v0.19.5
github.com/go-openapi/spec v0.19.7
github.com/go-openapi/strfmt v0.19.5
github.com/go-openapi/validate v0.19.7
github.com/google/uuid v1.1.1
github.com/joho/godotenv v1.3.0
github.com/kylelemons/godebug v1.1.0
github.com/lib/pq v1.3.0
github.com/mattn/go-colorable v0.1.4 // indirect
github.com/mattn/go-isatty v0.0.10 // indirect
github.com/mattn/go-colorable v0.1.8 // indirect
github.com/stretchr/testify v1.5.1
github.com/tidwall/gjson v1.6.0
gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0
Expand Down
Loading

0 comments on commit da030a1

Please sign in to comment.