on master help sign in
Added uuid format (#60)
5942040iko
src/OpenAPI/Checker/Validate/Schema.hs+1−1
@@ -588,7 +588,7 @@ processSchema sch@(extract -> Schema {..}) = do
588 { forNumber = singletonFormula $ NumberFormat f
588 { forNumber = singletonFormula $ NumberFormat f
589 }
589 }
590 Just f
590 Just f
591− | f `elem` ["byte", "binary", "date", "date-time", "password"] ->
591+ | f `elem` ["byte", "binary", "date", "date-time", "password", "uuid"] ->
592 pure
592 pure
593 top
593 top
594 { forString = singletonFormula $ StringFormat f
594 { forString = singletonFormula $ StringFormat f