Skip to content

Commit

Permalink
Merge branch 'master' into potential-proposers
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetrunic committed Feb 8, 2022
2 parents a3c9102 + 6186ab6 commit d6fbf7e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ yarn global add simplehttpserver
simplehttpserver
```
And api spec will render on [http://localhost:8000](http://localhost:8000).
And api spec will render on [http://localhost:8000](http://localhost:8000). Local changes will be observable if "dev" is selected in the "Select a definition" drop-down in the web UI.

Users may need to tick the "Disable Cache" box in their browser's developer tools to see changes after modifying the source.

## Contributing
Api spec is checked for lint errors before merge.
Expand Down
2 changes: 1 addition & 1 deletion apis/beacon/states/validator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ get:
in: path
$ref: '../../../beacon-node-oapi.yaml#/components/parameters/StateId'
- name: validator_id
description: "Either hex encoded public key (with 0x prefix) or validator index"
description: "Either hex encoded public key (any bytes48 with 0x prefix) or validator index"
in: path
required: true
schema:
Expand Down
4 changes: 2 additions & 2 deletions apis/beacon/states/validator_balances.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ get:
in: path
$ref: '../../../beacon-node-oapi.yaml#/components/parameters/StateId'
- name: id
description: "Either hex encoded public key (with 0x prefix) or validator index"
description: "Either hex encoded public key (any bytes48 with 0x prefix) or validator index"
in: query
required: false
schema:
type: array
maxItems: 30
uniqueItems: true
items:
description: "Either hex encoded public key (with 0x prefix) or validator index"
description: "Either hex encoded public key (any bytes48 with 0x prefix) or validator index"
type: string

responses:
Expand Down
4 changes: 2 additions & 2 deletions apis/beacon/states/validators.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ get:
in: path
$ref: '../../../beacon-node-oapi.yaml#/components/parameters/StateId'
- name: id
description: "Either hex encoded public key (with 0x prefix) or validator index"
description: "Either hex encoded public key (any bytes48 with 0x prefix) or validator index"
in: query
required: false
schema:
type: array
maxItems: 30
uniqueItems: true
items:
description: "Either hex encoded public key (with 0x prefix) or validator index"
description: "Either hex encoded public key (any bytes48 with 0x prefix) or validator index"
type: string
- name: status
description: "[Validator status specification](https://hackmd.io/ofFJ5gOmQpu1jjHilHbdQQ)"
Expand Down

0 comments on commit d6fbf7e

Please sign in to comment.