This PR adds swagger documentation for all of the APIs.
Motivation and Context
This may ease use of the APIs. It was a good learning exercise for me to understand what the plugin is doing. I'm not entirely convinced Swagger is a great fit but thought to PR in case there is some value.
How Has This Been Tested?
I tested this using the swagger UI and the setup in the immutability project (for vault and the plugin). I used testnet with a few throwaway hashes.
Types of changes
[x] Documentation enhancement
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Add Swagger documentation for all APIs
Description
This PR adds swagger documentation for all of the APIs.
Motivation and Context
This may ease use of the APIs. It was a good learning exercise for me to understand what the plugin is doing. I'm not entirely convinced Swagger is a great fit but thought to PR in case there is some value.
How Has This Been Tested?
I tested this using the swagger UI and the setup in the immutability project (for vault and the plugin). I used testnet with a few throwaway hashes.
Types of changes
Checklist: