Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNilInterface ¶
func IsNilInterface(i interface{}) bool
IsNilInterface returns whether the interface parameter is nil
func IsValidAction ¶
func IsValidProperty ¶
func IsValidVerb ¶
Types ¶
type Action ¶
type Action interface {
GetName() string
String() string
GetProperty(name string) (ActionProperty, bool)
}
type ActionProperty ¶
type Property ¶
type Property interface {
GetName() string
String() string
GetProperty(name string) (SwaggerProperty, bool)
}
type SwaggerProperty ¶
type Type ¶
type Type interface {
GetGroup() string
GetName() string
GetVerbs() []Verb
GetActions() map[string]Action
String() string
DefaultAction() string
GetProperties() map[string]Property
}
func NewTypeFromOpenAPIv3 ¶
NewTypeFromOpenAPIv3 parses an Open API v3 spec and creates types for registration in seal parser.
Click to show internal directories.
Click to hide internal directories.