()
| 623 | } |
| 624 | |
| 625 | func (r *RequestBody) MarshalJSON() ([]byte, error) { |
| 626 | return marshalJSON([]jsonFieldInfo{ |
| 627 | {"$ref", r.Ref, omitEmpty}, |
| 628 | {"description", r.Description, omitEmpty}, |
| 629 | {"content", r.Content, omitNever}, |
| 630 | {"required", r.Required, omitEmpty}, |
| 631 | }, r.Extensions) |
| 632 | } |
| 633 | |
| 634 | // Link object represents a possible design-time link for a response. The |
| 635 | // presence of a link does not guarantee the caller’s ability to successfully |
nothing calls this directly
no test coverage detected