MediaType represents an OpenAPI Media Type object as defined in https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#mediaTypeObject
| 151 | // MediaType represents an OpenAPI Media Type object as defined in |
| 152 | // https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#mediaTypeObject |
| 153 | MediaType struct { |
| 154 | Schema *openapi.Schema `json:"schema,omitempty" yaml:"schema,omitempty"` |
| 155 | Example any `json:"example,omitempty" yaml:"example,omitempty"` |
| 156 | Examples map[string]*ExampleRef `json:"examples,omitempty" yaml:"examples,omitempty"` |
| 157 | Encoding map[string]*Encoding `json:"encoding,omitempty" yaml:"encoding,omitempty"` |
| 158 | Extensions map[string]any `json:"-" yaml:"-"` |
| 159 | } |
| 160 | |
| 161 | // Encoding represents an OpenAPI Encoding object as defined in |
| 162 | // https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#encodingObject |
nothing calls this directly
no outgoing calls
no test coverage detected