DeserializationContentTypes interface
The content-types that will indicate that an operation response should be deserialized in a particular way.
Properties
json | The content-types that indicate that an operation response should be deserialized as JSON. Defaults to [ "application/json", "text/json" ]. |
xml | The content-types that indicate that an operation response should be deserialized as XML. Defaults to [ "application/xml", "application/atom+xml" ]. |
Property Details
json
The content-types that indicate that an operation response should be deserialized as JSON. Defaults to [ "application/json", "text/json" ].
json?: string[]
Property Value
string[]
xml
The content-types that indicate that an operation response should be deserialized as XML. Defaults to [ "application/xml", "application/atom+xml" ].
xml?: string[]
Property Value
string[]