git.iko.soy/typeable/compaREST
on master help sign in
Added uuid format (#60)
commit5942040f05603e0256fa53ba0f59e4dd22927e60 authoriko <ilyakooo0@gmail.com> dateTue 25 May 2021, 12:11 (5 years ago) parent6817a58
1 file changed+1−1
src/OpenAPI/Checker/Validate/Schema.hs+1−1
src/OpenAPI/Checker/Validate/Schema.hs+1−1
@@ -588,7 +588,7 @@ processSchema sch@(extract -> Schema {..}) = do
588588 { forNumber = singletonFormula $ NumberFormat f
589589 }
590590 Just f
591− | f `elem` ["byte", "binary", "date", "date-time", "password"] ->
591+ | f `elem` ["byte", "binary", "date", "date-time", "password", "uuid"] ->
592592 pure
593593 top
594594 { forString = singletonFormula $ StringFormat f