Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrSpecDoesntExist is returned when a file doesn't exist ErrSpecDoesntExist = errors.New("swagger: spec doesn't exist") // ErrSpecIncorrect is returned when a spec is incorrect ErrSpecIncorrect = errors.New("swagger: spec is not correct") )
View Source
var ErrNoPaths = errors.New("no paths")
Functions ¶
func NewDecoder ¶
NewDecoder returns a new generator with the given output directory
func NewDecoderFromFile ¶
NewDecoderFromFile takes a swagger 2.0 file and creates a swagger.Decoder
Types ¶
Click to show internal directories.
Click to hide internal directories.