Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Peltoche committed Oct 13, 2018
1 parent 4f1db33 commit 1f3101c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion specs.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ import (
"github.com/go-openapi/validate"
)

// Specs represent some loaded OpenAPI specs.
//
// It can be used inside an Analyzer or a Transport.
type Specs struct {
document *loads.Document
}
Expand Down Expand Up @@ -40,7 +43,7 @@ func NewSpecsFromFile(path string) (*Specs, error) {
return &spec, nil
}

// NewSpecsFromFile load a new raw OpenAPI specifications.
// NewSpecsFromRaw load a new raw OpenAPI specifications.
//
// This specs can be either in JSON or YAML format. Any relatives references
// ("$ref": "./pet_definition.json" for example) will be resolved based on the
Expand Down

0 comments on commit 1f3101c

Please sign in to comment.