OpenAPI specifications support wildcards when specifying response media types. However, the swagger-mock-validator reports 'Response Body Contains Unknown Information No schema found for response body' when it encounters these wildcards, even when the consumer and provider contract are fully compatible.
The FAQ proposes the solution of replacing the media type containing wildcard(s) with a more specific media type, which will result in successful verification.
This PR adds to the FAQ the following situation:
OpenAPI specifications support wildcards when specifying response media types. However, the swagger-mock-validator reports 'Response Body Contains Unknown Information No schema found for response body' when it encounters these wildcards, even when the consumer and provider contract are fully compatible.
The FAQ proposes the solution of replacing the media type containing wildcard(s) with a more specific media type, which will result in successful verification.