Documentation ¶ Index ¶ Constants type Operation func NewOperation(method, path string, operation *openapi3.Operation) *Operation type Parameter func NewParameter(in string, name string, typ string, required bool, description string) *Parameter Constants ¶ View Source const ( ParameterInPath = "path" ParameterInQuery = "query" ParameterInHeader = "header" ParameterInCookie = "cookie" ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Operation ¶ type Operation struct { Method string Path string Parameters []*Parameter *openapi3.Operation } func NewOperation ¶ func NewOperation(method, path string, operation *openapi3.Operation) *Operation type Parameter ¶ type Parameter struct { In string Name string Type string Required bool Description string } func NewParameter ¶ func NewParameter(in string, name string, typ string, required bool, description string) *Parameter Source Files ¶ View all Source files operation.go parameter.go Click to show internal directories. Click to hide internal directories.