Bitshares ElasticSearch Wrapper and Swagger

in bitshares •  9 months ago

In an effort to encourage the use of the elasticsearch-wrapper:

Swagger apidocs was added to the api:!/wrapper/

This was simply done by installing flasgger( and calling a yaml file from the wrapper.

You can check how flask app add flasgger support in the implementation commit:

Yaml file is where all the work is done, can be found for this project here:

It needs some more work but i plan this to be implemented also in other apis of similar kind specifically:

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

I'm all for that Swagger. Swaggy Swag. Swaggy Swag.