Skip to content

Commit

Permalink
Update swagger spec with new stake pool metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
rvl committed Nov 28, 2019
1 parent 4410358 commit 5248130
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion specifications/api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -373,15 +373,28 @@ x-stakePoolMetadata: &stakePoolMetadata
Information about the stake pool.
type: object
required:
- owner
- ticker
- name
- homepage
- pledge_address
additionalProperties: false
properties:
owner:
type: string
format: bech32
example: ed25519_pk1lrspg0h4afh3l2kaneqlktdv9kaq4zskcvehqwhc4lmx36f5dweqjtaga8
ticker:
type: string
minLength: 3
maxLength: 4
maxLength: 5
name:
type: string
minLength: 1
maxLength: 50
description:
type: string
maxLength: 255
homepage:
type: string
format: uri
Expand Down

0 comments on commit 5248130

Please sign in to comment.