Skip to content

Commit

Permalink
remove comma from base types pattern (#538)
Browse files Browse the repository at this point in the history
im using this schema and json schema faker to generate tests and this address schema pattern generates addresses with commas in them
  • Loading branch information
shanejonas authored Apr 24, 2024
1 parent 7907424 commit 1a87948
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/schemas/base-types.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
address:
title: hex encoded address
type: string
pattern: ^0x[0-9,a-f,A-F]{40}$
pattern: ^0x[0-9a-fA-F]{40}$
addresses:
title: hex encoded address
type: array
Expand All @@ -10,7 +10,7 @@ addresses:
byte:
title: hex encoded byte
type: string
pattern: ^0x([0-9,a-f,A-F]?){1,2}$
pattern: ^0x([0-9a-fA-F]?){1,2}$
bytes:
title: hex encoded bytes
type: string
Expand Down

0 comments on commit 1a87948

Please sign in to comment.