Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultValue ¶
TODO: Default values provided in spec are actually exactly what should appear in Swagger in the string form.
This value translation string -> go type -> string is only needed because of how OpenAPI spec if formed. It's possible that after move to yaml.v3 this value translation can be avoided.
func GenerateSpecification ¶
func ToYamlString ¶
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.