You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(validator): skip validation for non-JSON content types instead of failing
Fixes a regression introduced in v0.6.0 (PR #19) where endpoints with
non-JSON content types (e.g. text/html) incorrectly returned a failure
result instead of skipping validation. Now returns success when no
JSON-compatible content type is found in the spec.
Fixes#20
"No JSON-compatible content type found for {$method}{$matchedPath} (status {$statusCode}) in '{$specName}' spec. Defined content types: " . implode(', ', $definedTypes),
0 commit comments