()
| 449 | } |
| 450 | |
| 451 | func (m *MediaType) MarshalJSON() ([]byte, error) { |
| 452 | return marshalJSON([]jsonFieldInfo{ |
| 453 | {"schema", m.Schema, omitEmpty}, |
| 454 | {"example", m.Example, omitNil}, |
| 455 | {"examples", m.Examples, omitEmpty}, |
| 456 | {"encoding", m.Encoding, omitEmpty}, |
| 457 | }, m.Extensions) |
| 458 | } |
| 459 | |
| 460 | // Param Describes a single operation parameter. |
| 461 | // |
nothing calls this directly
no test coverage detected