()
| 220 | } |
| 221 | |
| 222 | func (v *ServerVariable) MarshalJSON() ([]byte, error) { |
| 223 | return marshalJSON([]jsonFieldInfo{ |
| 224 | {"enum", v.Enum, omitEmpty}, |
| 225 | {"default", v.Default, omitNever}, |
| 226 | {"description", v.Description, omitEmpty}, |
| 227 | }, v.Extensions) |
| 228 | } |
| 229 | |
| 230 | // Server URL, optionally with variables. |
| 231 | // |
nothing calls this directly
no test coverage detected