Documentation ¶
Index ¶
Constants ¶
View Source
const ( ParameterPositionQuery byte = iota ParameterPositionBody ParameterPositionPath ParameterPositionHeader ParameterPositionFormData )
Variables ¶
View Source
var ( ObjDateTime = &Object{ Name: "Timestamp", Route: []string{"Timestamp"}, Properties: []ObjectProperty{ { Name: "seconds", Required: true, Type: scalarInt64, }, { Name: "nanos", Required: true, Type: scalarInt32, }, }, } )
Functions ¶
This section is empty.
Types ¶
type Method ¶
type Method struct { Path string OperationID string Description string HTTPMethod string Parameters []MethodParameter Responses []MethodResponse }
type MethodParameter ¶
type MethodResponse ¶
type Object ¶
type Object struct { Name string Route []string Properties []ObjectProperty }
func (*Object) GetPropertyByName ¶
func (o *Object) GetPropertyByName(name string) *ObjectProperty
type ObjectProperty ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (Parser) ParsedFiles ¶
Click to show internal directories.
Click to hide internal directories.