Bitshares ElasticSearch Wrapper and Swagger

in #bitshares3 years 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:


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