Skip to content

Commit

Permalink
Merge pull request #628 from worldcoin/0xkitsune/api-schema-fix
Browse files Browse the repository at this point in the history
fix: recovery request api schema
  • Loading branch information
0xKitsune authored Oct 5, 2023
2 parents 8297bea + a91db7c commit 0b0d24c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions schemas/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,12 @@ components:
RecoveryRequest:
type: object
properties:
previousIdentityCommitment: { $ref: '#/components/schemas/IdentityCommitment' }
newIdentityCommitment: { $ref: '#/components/schemas/IdentityCommitment' }
previousIdentityCommitment:
type: string
pattern: '^[A-F0-9]{64}$'
newIdentityCommitment:
type: string
pattern: '^[A-F0-9]{64}$'
IdentityCommitment:
type: object
properties:
Expand Down

0 comments on commit 0b0d24c

Please sign in to comment.