Skip to content

Commit fca25e1

Browse files
committed
dep: go mod: update
1 parent 1021252 commit fca25e1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+104
-196
lines changed

cmd/oas3lint/main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import (
55
"log"
66
"regexp"
77

8-
"github.com/grokify/simplego/fmt/fmtutil"
9-
"github.com/grokify/simplego/log/severity"
10-
"github.com/grokify/simplego/os/osutil"
11-
"github.com/grokify/simplego/path/filepathutil"
8+
"github.com/grokify/mogo/fmt/fmtutil"
9+
"github.com/grokify/mogo/log/severity"
10+
"github.com/grokify/mogo/os/osutil"
11+
"github.com/grokify/mogo/path/filepathutil"
1212
"github.com/grokify/spectrum/openapi3"
1313
"github.com/grokify/spectrum/openapi3lint"
1414
"github.com/grokify/spectrum/openapi3lint/extensions"

cmd/oas3validate/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77
"strings"
88

99
"github.com/grokify/gocharts/data/histogram"
10-
"github.com/grokify/simplego/fmt/fmtutil"
11-
"github.com/grokify/simplego/net/urlutil"
12-
"github.com/grokify/simplego/type/maputil"
10+
"github.com/grokify/mogo/fmt/fmtutil"
11+
"github.com/grokify/mogo/net/urlutil"
12+
"github.com/grokify/mogo/type/maputil"
1313
"github.com/grokify/spectrum/openapi3"
1414
"github.com/jessevdk/go-flags"
1515
)

cmd/openapi2csv/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"log"
66
"regexp"
77

8-
"github.com/grokify/simplego/os/osutil"
8+
"github.com/grokify/mogo/os/osutil"
99
csv "github.com/grokify/spectrum/openapi2/openapi2csv"
1010
"github.com/jessevdk/go-flags"
1111
)

cmd/openapi2to3/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"log"
66
"strings"
77

8-
"github.com/grokify/simplego/os/osutil"
8+
"github.com/grokify/mogo/os/osutil"
99
"github.com/grokify/spectrum/openapi2"
1010
"github.com/jessevdk/go-flags"
1111
)

docs/openapi3/inspect/missing_descriptions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Spectrum provides an ability to list operation parameters and schema properties
1010
specmore := openapi3.SpecMore{Spec: spec}
1111

1212
// OperationPropertiesDescriptionStatus returns a
13-
// map[string]map[string]int as a `simplego/maputil.MapStringMapStringInt`
13+
// map[string]map[string]int as a `mogo/maputil.MapStringMapStringInt`
1414
// where `1` indicates with desc and `0` indicates without desc.
1515
status := specmore.OperationPropertiesDescriptionStatus()
1616

@@ -31,7 +31,7 @@ err := specmore.OperationParametersWithoutDescriptionsWriteFile(
3131
specmore := openapi3.SpecMore{Spec: spec}
3232

3333
// SchemaPropertiesDescriptionStatus returns a
34-
// map[string]map[string]int as a `simplego/maputil.MapStringMapStringInt`
34+
// map[string]map[string]int as a `mogo/maputil.MapStringMapStringInt`
3535
// where `1` indicates with desc and `0` indicates without desc.
3636
status := specmore.SchemaPropertiesDescriptionStatus()
3737

docs/openapi3lint.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ The Policy file uses the following syntax:
3939

4040
### Severity Levels
4141

42-
`openapi3lint` uses Syslog-like severity levels defined in `github.com/grokify/simplego/log/severity`, including:
42+
`openapi3lint` uses Syslog-like severity levels defined in `github.com/grokify/mogo/log/severity`, including:
4343

4444
```go
4545
const (
@@ -115,6 +115,6 @@ Functions:
115115

116116
* `Name()` should return the name of a rule in kebab case.
117117
* `Scope()` should return the type of object / property operated on. This affects the processing function provided. As of now, `operation` and `specfication` are supported.
118-
* `Severity()` should return a syslog like severity level supported by `github.com/grokify/simplego/log/severity`. This should be updated for the `Policy` used.
118+
* `Severity()` should return a syslog like severity level supported by `github.com/grokify/mogo/log/severity`. This should be updated for the `Policy` used.
119119
* `ProcessSpec(spec *oas3.Swagger, pointerBase string)` is a function to process a rule at the top specfication level. `pointerBase` is used to provide JSON Pointer info before the `#`. This is executed when `Scope()` is set to `specification`.
120120
* `ProcessOperation(spec *oas3.Swagger, op *oas3.Operation, opPointer, path, method string)` is executed when `Scope()` is set to `operation`.

docs/openapi3lint/custom_rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ type Rule interface {
3131

3232
* `Name()` should return the name of a rule in kebab case.
3333
* `Scope()` should return the type of object / property operated on. This affects the processing function provided. As of now, `operation` and `specfication` are supported.
34-
* `Severity()` should return a syslog like severity level supported by `github.com/grokify/simplego/log/severity`. This should be updated for the `Policy` used.
34+
* `Severity()` should return a syslog like severity level supported by `github.com/grokify/mogo/log/severity`. This should be updated for the `Policy` used.
3535
* `ProcessSpec(spec *oas3.Swagger, pointerBase string)` is a function to process a rule at the top specfication level. `pointerBase` is used to provide JSON Pointer info before the `#`. This is executed when `Scope()` is set to `specification`.
3636
* `ProcessOperation(spec *oas3.Swagger, op *oas3.Operation, opPointer, path, method string)` is executed when `Scope()` is set to `operation`.
3737

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ go 1.16
44

55
require (
66
github.com/buaazp/fasthttprouter v0.1.1
7-
github.com/getkin/kin-openapi v0.85.0
7+
github.com/getkin/kin-openapi v0.86.0
88
github.com/ghodss/yaml v1.0.0
9-
github.com/grokify/gocharts v1.16.1
10-
github.com/grokify/simplego v0.31.1
9+
github.com/grokify/gocharts v1.16.2
10+
github.com/grokify/mogo v0.32.2
1111
github.com/jessevdk/go-flags v1.5.0
1212
github.com/pkg/errors v0.9.1
1313
github.com/rs/zerolog v1.26.0

0 commit comments

Comments
 (0)