Merge pull request #164 from stoplightio/master ignore any format's that aren't defined
diff --git a/schema.go b/schema.go index cc6cdbc..2cac71e 100644 --- a/schema.go +++ b/schema.go
@@ -586,11 +586,6 @@ formatString, ok := m[KEY_FORMAT].(string) if ok && FormatCheckers.Has(formatString) { currentSchema.format = formatString - } else { - return errors.New(formatErrorDescription( - Locale.MustBeValidFormat(), - ErrorDetails{"key": KEY_FORMAT, "given": m[KEY_FORMAT]}, - )) } }