We will first need to specify request and response types when generating the api. We call those request and response types the enabled request and response types. Content types that are not in the list will not be generated.
Then when the content type is omitted the first content type in the enabled request or response types that is also in the request or response will be used as a default.
Default content types will make using the api a bit more friendly. Instead of
we will be able to do
or instead of
we can do
We will first need to specify request and response types when generating the api. We call those request and response types the enabled request and response types. Content types that are not in the list will not be generated.
Then when the content type is omitted the first content type in the enabled request or response types that is also in the request or response will be used as a default.