Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator is for generating swagger specifications.
func NewDefaultGenerator ¶
func NewDefaultGenerator( config *project.Config, apis *api.Definitions, ) *Generator
NewDefaultGenerator creates a swagger generator with default mappings.
func NewGenerator ¶
func NewGenerator( config *project.Config, apis *api.Definitions, sourceMapping map[definition.Source]string, destinationMapping map[definition.Destination]string, ) *Generator
NewGenerator creates a swagger generator.
Click to show internal directories.
Click to hide internal directories.