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(uuid): UUID regexes to support all-or-none '-' separator
This PR changes the UUID validation to support either
UUIDs with the expected number of separators or no separator at all.
Under the hood, UUID validation no longer relies on regular expressions
(exported regexp patterns are marked as deprecated) but on
github.com/google/uuid. This brings a significant performance
improvement on validation (~ 15-20 times faster).
Notice that some non-standard UUID schemes as well as UUID v6 and v7
now pass "IsUUID".
* contributes go-swagger/go-swagger#2878
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>