Skip to content

Commit

Permalink
Fix Swagger example not using actual values for chains (#28)
Browse files Browse the repository at this point in the history
Modify the hardcoded 'EOS' example to the array of `supportedChains`
for Swagger to detect the right value to use in the examples.
  • Loading branch information
0237h authored Oct 20, 2023
1 parent 22cbf77 commit 1f9909d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const BlockchainSchema = z.object({
name: 'chain',
in: 'path',
},
example: 'EOS',
examples: supportedChains,
})
});

Expand Down

0 comments on commit 1f9909d

Please sign in to comment.