RE: Dev Portal Update: Tutorials, Recipes, and Tweaks, Oh My! by inertia

View this thread on steempeak.com

Viewing a response to: @r351574nc3/re-inertia-re-r351574nc3-re-steemitblog-dev-portal-update-tutorials-recipes-and-tweaks-oh-my-20180726t152922510z

· @inertia · (edited)
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
properties (22)
post_id57,781,980
authorinertia
permlinkre-r351574nc3-re-inertia-re-r351574nc3-re-steemitblog-dev-portal-update-tutorials-recipes-and-tweaks-oh-my-20180726t153749343z
categorydevportal
json_metadata{"app":"steemit\/0.1","tags":["devportal"],"links":["https:\/\/github.com\/steemit\/devportal#tests","https:\/\/github.com\/steemit\/devportal#managing-api-definitions"]}
created2018-07-26 15:37:48
last_update2018-07-26 15:38:51
depth4
children1
net_rshares0
last_payout2018-08-02 15:37:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length348
author_reputation227,335,189,892,062
root_title"Dev Portal Update: Tutorials, Recipes, and Tweaks, Oh My!"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@r351574nc3 ·
$0.42
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.
👍  , , , , ,
properties (23)
post_id57,783,464
authorr351574nc3
permlinkre-inertia-re-r351574nc3-re-inertia-re-r351574nc3-re-steemitblog-dev-portal-update-tutorials-recipes-and-tweaks-oh-my-20180726t155356154z
categorydevportal
json_metadata{"users":["inertia"],"app":"steemit\/0.1","tags":["devportal"]}
created2018-07-26 15:53:54
last_update2018-07-26 15:53:54
depth5
children0
net_rshares225,025,001,874
last_payout2018-08-02 15:53:54
cashout_time1969-12-31 23:59:59
total_payout_value0.320 SBD
curator_payout_value0.102 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length532
author_reputation183,372,131,550,888
root_title"Dev Portal Update: Tutorials, Recipes, and Tweaks, Oh My!"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (6)