Viewing a response to: @r351574nc3/re-inertia-re-r351574nc3-re-steemitblog-dev-portal-update-tutorials-recipes-and-tweaks-oh-my-20180726t152922510z
Those would be great. Incidentally, we actually have tests for verifying stuff like the `curl` examples in the API Definitions. If you want to try the tests yourself, they're right over here: https://github.com/steemit/devportal#tests And we also generate/verify the API Spec here: https://github.com/steemit/devportal#managing-api-definitions
post_id | 57,781,980 |
---|---|
author | inertia |
permlink | re-r351574nc3-re-inertia-re-r351574nc3-re-steemitblog-dev-portal-update-tutorials-recipes-and-tweaks-oh-my-20180726t153749343z |
category | devportal |
json_metadata | {"app":"steemit\/0.1","tags":["devportal"],"links":["https:\/\/github.com\/steemit\/devportal#tests","https:\/\/github.com\/steemit\/devportal#managing-api-definitions"]} |
created | 2018-07-26 15:37:48 |
last_update | 2018-07-26 15:38:51 |
depth | 4 |
children | 1 |
net_rshares | 0 |
last_payout | 2018-08-02 15:37:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 348 |
author_reputation | 227,335,189,892,062 |
root_title | "Dev Portal Update: Tutorials, Recipes, and Tweaks, Oh My!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
When I said generated, I meant from the actual source code. I'm basically suggesting a literate programming approach with specification as code. Like if @inertia made changes to the json-rpc, then specification changes would be accepted in the same PR. In the next CI build, documentation could be generated, but that's not what's important. What's important is that now the specification itself is deployed with the software and can be used to generate/verify a client. From a single change, you have now affected several facets.
post_id | 57,783,464 |
---|---|
author | r351574nc3 |
permlink | re-inertia-re-r351574nc3-re-inertia-re-r351574nc3-re-steemitblog-dev-portal-update-tutorials-recipes-and-tweaks-oh-my-20180726t155356154z |
category | devportal |
json_metadata | {"users":["inertia"],"app":"steemit\/0.1","tags":["devportal"]} |
created | 2018-07-26 15:53:54 |
last_update | 2018-07-26 15:53:54 |
depth | 5 |
children | 0 |
net_rshares | 225,025,001,874 |
last_payout | 2018-08-02 15:53:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.320 SBD |
curator_payout_value | 0.102 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 532 |
author_reputation | 183,372,131,550,888 |
root_title | "Dev Portal Update: Tutorials, Recipes, and Tweaks, Oh My!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dhimmel | 0 | 195,059,894,970 | 59% | ||
valuproposition | 0 | 2,813,737,826 | 100% | ||
salty-mcgriddles | 0 | 13,515,191,484 | 100% | ||
exifr | 0 | 1,115,256,965 | 100% | ||
drsensor | 0 | 6,566,592,586 | 100% | ||
exifr0 | 0 | 5,954,328,043 | 100% |