Skip to content

christo4ferris/fabric-swagger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swaggerize the Hyperledger Fabric REST API

This should download the Swagger definition for the Hyperledger Fabric API, from the current 'master' branch. Copy all of the necessary Swagger dependencies into the current directory, replace the default index.html and launch an http-server which will also open a browser window with the Swagger UI loaded. If you don't see the Fabric API, force a reload of the page to clear any cached content. Specify the swagger definition to load, and hit 'Explore'.

  1. Start a peer process. You can use one of the approaches described in the Hyperledger Fabric documentation, here

  2. The bootstrap.sh script will clone this repository, and launch a Swagger UI for your peer process

    curl -sS https://raw.githubusercontent.com/christo4ferris/fabric-swagger/master/bootstrap.sh | bash
    

For subsequent invocations, execute the runme.sh script

cd fabric-swagger
./runme.sh

About

Simplify Swaggerizing the Hyperledger Fabric

Resources

License

Stars

Watchers

Forks

Packages

No packages published