Skip to content

Commit

Permalink
docs: fix regex in pattern (#1335)
Browse files Browse the repository at this point in the history
  • Loading branch information
Imod7 committed Sep 27, 2023
1 parent 2d1d82d commit fbdca75
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/dist/app.bundle.js

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions docs/src/openapi-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ paths:
description: Block identifier, as the block height or block hash.
required: true
schema:
pattern: 'a-km-zA-HJ-NP-Z1-9{8,64}'
pattern: '^0[xX][0-9a-fA-F]{1,64}$|[0-9]{1,12}'
type: string
- name: eventDocs
in: query
Expand Down Expand Up @@ -542,7 +542,7 @@ paths:
description: Block identifier, as the block height or block hash.
required: true
schema:
pattern: 'a-km-zA-HJ-NP-Z1-9{8,64}'
pattern: '^0[xX][0-9a-fA-F]{1,64}$|[0-9]{1,12}'
type: string
responses:
"200":
Expand Down Expand Up @@ -571,7 +571,7 @@ paths:
description: Block identifier, as the block height or block hash.
required: true
schema:
pattern: a-km-zA-HJ-NP-Z1-9{8,64}
pattern: '^0[xX][0-9a-fA-F]{1,64}$|[0-9]{1,12}'
type: string
- name: extrinsicIndex
in: path
Expand Down Expand Up @@ -694,7 +694,6 @@ paths:
description: SS58 or Hex address of the account associated with the contract.
required: true
schema:
pattern: a-km-zA-HJ-NP-Z1-9{8,64}
type: string
- name: method
in: query
Expand Down Expand Up @@ -1993,7 +1992,7 @@ paths:
description: Block identifier, as the block height or block hash.
required: true
schema:
pattern: 'a-km-zA-HJ-NP-Z1-9{8,64}'
pattern: '^0[xX][0-9a-fA-F]{1,64}$|[0-9]{1,12}'
type: string
responses:
"200":
Expand Down Expand Up @@ -2093,7 +2092,7 @@ paths:
description: Block identifier, as the block height or block hash.
required: true
schema:
pattern: 'a-km-zA-HJ-NP-Z1-9{8,64}'
pattern: '^0[xX][0-9a-fA-F]{1,64}$|[0-9]{1,12}'
type: string
- name: actions
in: query
Expand Down

0 comments on commit fbdca75

Please sign in to comment.