Params returns the list of all parameters except Path parameters. Path parameters are handled differently from the rest, since they're mandatory.
()
| 358 | // Params returns the list of all parameters except Path parameters. Path parameters |
| 359 | // are handled differently from the rest, since they're mandatory. |
| 360 | func (o *OperationDefinition) Params() []ParameterDefinition { |
| 361 | result := append(o.QueryParams, o.HeaderParams...) |
| 362 | result = append(result, o.CookieParams...) |
| 363 | return result |
| 364 | } |
| 365 | |
| 366 | // AllParams returns all parameters |
| 367 | func (o *OperationDefinition) AllParams() []ParameterDefinition { |
no outgoing calls
no test coverage detected