diff --git a/api/doc/thor.yaml b/api/doc/thor.yaml index 477c589dc..6487a9b39 100644 --- a/api/doc/thor.yaml +++ b/api/doc/thor.yaml @@ -2149,7 +2149,7 @@ components: example: '0x010709463c1f0c9aa66a31182fb36d1977d99bfb6526bae0564a0eac4006c31a/0/0' required: true nullable: false - pattern: '(0x)?[0-9a-fA-F]{64}\/(0x)?([0-9]+|[0-9a-fA-F]+|[a-fA-F]+)\/[0-9]+$' + pattern: '^0x[0-9a-fA-F]{64}\/(0x[0-9a-fA-F]{64}|\d+)\/[0-9]+$' example: target: '0x010709463c1f0c9aa66a31182fb36d1977d99bfb6526bae0564a0eac4006c31a/0/0' @@ -2221,7 +2221,7 @@ components: `blockID/(txIndex|txId)/clauseIndex` required: true nullable: false - pattern: '(0x)?[0-9a-fA-F]{64}\/(0x)?([0-9]+|[0-9a-fA-F]+|[a-fA-F]+)\/[0-9]+$' + pattern: '^0x[0-9a-fA-F]{64}\/(0x[0-9a-fA-F]{64}|\d+)\/[0-9]+$' StorageRange: type: object