|
KeyValuePair<string, OpenApiMediaType> responseContent = response.Content.First(c => this.openApiResult.Results.ContainsKey(c.Key)); |
While the request will come in with a concrete media type to match, our supported media types may include wildcards (e.g. image/jpg
in the request and image/*
in the OpenAPI definition.