Skip to content

Commit

Permalink
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -66,7 +66,7 @@ jobs:

lint:
docker:
- image: golangci/golangci-lint:v1.43.0
- image: golangci/golangci-lint:v1.51.0
steps:
- checkout
- attach_workspace:
5 changes: 0 additions & 5 deletions include_headers.go
Original file line number Diff line number Diff line change
@@ -62,11 +62,6 @@ func (w *includeHeaders) apply() error {
return nil
}

type includeHeadersRef struct {
Ref string `json:"$ref"`
Value openapi3.Headers `json:"-"`
}

func (w *includeHeaders) applyOperation(op *openapi3.Operation) error {
if op == nil {
return nil // nothing to do
3 changes: 2 additions & 1 deletion versionware/example/releases/embed.go
Original file line number Diff line number Diff line change
@@ -4,11 +4,12 @@ import "embed"

// Embed compiled OpenAPI specs in Go projects.

// Versions contains OpenAPI specs for each distinct release version.
//
//go:embed 2021-11-01~experimental/spec.json
//go:embed 2021-11-01~experimental/spec.yaml
//go:embed 2021-11-08~experimental/spec.json
//go:embed 2021-11-08~experimental/spec.yaml
//go:embed 2021-11-20~experimental/spec.json
//go:embed 2021-11-20~experimental/spec.yaml
// Versions contains OpenAPI specs for each distinct release version.
var Versions embed.FS

0 comments on commit 9d86fda

Please sign in to comment.