matches method
Implementation
bool matches(OpenApiContentType contentType) {
// TODO we should probably support wildcards, ignore encodings, etc.
return this.contentType == contentType.contentType;
}
bool matches(OpenApiContentType contentType) {
// TODO we should probably support wildcards, ignore encodings, etc.
return this.contentType == contentType.contentType;
}