Why: * For users to be able to see an example of what errors might look like when perusing the API's docs pages. * Issue link: related to https://github.com/poanetwork/poa-explorer/issues/138 This change addresses the need by: * Editing `ExplorerWeb.Etherscan` to include "error" example values for `account#balance`, `account#balancemulti`, and `account#txlist` calls. Also, adding "description" field for responses. * Editing `templates/api_docs/_action_tile.html.eex` to only render model information for the first response in the responses table. Also, rendering description field from the documentation data passed to the template (from `ExplorerWeb.Etherscan`).pull/512/head
parent
d0c1e70f13
commit
af24e24d98
Loading…
Reference in new issue