OpenAPI YAML is not served in full
For example, https://rpc-archive.athens.zetachain.com:1317/openapi.swagger.yaml is 32K lines long, but the YAML in the source is 56K lines long.
It's not an issue when running with go run docs/main.go. It's also not a problem when running locally with zetacored start --api.enable.
@CharlieMc0 do you know why a server would refuse to send the whole file?
@fadeev if i run curl:
curl https://rpc-archive.athens.zetachain.com:1317/openapi.swagger.yaml
it seems to fetch around 2MB!?
@fadeev if i run curl:
curl https://rpc-archive.athens.zetachain.com:1317/openapi.swagger.yamlit seems to fetch around 2MB!?
Yes, but it's still 32K lines and should be 56K lines. So it's not the whole file.
/cosmos/evm/feemarket/v1/params is missed from the swagger docs and not supported by some public RPC providers like BlockPi and ATN.
example - https://zetachain-testnet-api.itrocket.net/cosmos/evm/feemarket/v1/params