- Moved ENR into it's own object
- Moved the POST request parameters into the requestBody attribute (instead of query)
- Updated IndexedAttestation to Attestation
- Updated path for current_finalized_checkpoint
- Completed the /spec and /spec and /spec/slots_per_epoch endpoints
- Completed the /beacon/state/genesis endpoint
- Completed the /spec/eth2_config endpoint
- Fixed the prometheus example value
- Added various example values to reflect real world values
- Fixed incorrect indenting of Eth1Data
- Added the whole ChainSpec schema
- Filled the OpenAPI spec for some major functions:
- /beacon/state
- /beacon/get_finalized_checkpoint
- /beacon/state_root
- Created some new schemas in the spec, such as Shard, Checkpoint, Validator, Eth1Data, BeaconState, PendingAttestation, Crosslink
- Made /beacon/state return the current 'head' state when no parameters are provided.
- Added some of the YAML api spec stuff to the /beacon/state endpoint in the rest_api spec.
- Add correct string formatting when incorrect parameters provided.
- Fill /beacon/block and /beacon/block_root endpoints
- Add 500 error responses to endpoints as appropriate