contentTypes property

List<String>? contentTypes
final

A list of supported content types for this endpoint.

If provided, the request Content-Type header will be validated against this list.

Implementation

final List<String>? contentTypes;