Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Openapi = generator.Generator{ "openapi", "OpenAPI v3", "Generate OpenAPI specification", []generator.GeneratorArg{ {Arg: generator.ArgSpecFile, Required: true}, {Arg: generator.ArgOutFile, Required: true}, }, func(specification *spec.Spec, params generator.GeneratorArgsValues) *generator.Sources { openapiFile := GenerateOpenapi(specification, params[generator.ArgOutFile]) sources := generator.NewSources() sources.AddGenerated(openapiFile) return sources }, }
Functions ¶
Types ¶
type UrlOperations ¶
type UrlOperations struct { Url string Operations []*spec.NamedOperation }
func OperationsByUrl ¶
func OperationsByUrl(specification *spec.Spec) []*UrlOperations
Click to show internal directories.
Click to hide internal directories.