hyperledger / cacti

Hyperledger Cacti is a new approach to the blockchain interoperability problem
https://wiki.hyperledger.org/display/cactus
Apache License 2.0
323 stars 276 forks source link

feat(cmd-api-server): swagger.json endpoints #1877

Open petermetz opened 2 years ago

petermetz commented 2 years ago

Is your feature request related to a problem? Please describe.

The API server currently does not have the ability to serve up the swagger.json (openapi.json) files via HTTP

Describe the solution you'd like

Describe alternatives you've considered

This https://github.com/hyperledger/cactus/issues/431 They are not mutually exclusive, but wanted to reference the other task here just for providing more complete information to the reader.

Additional context

We need the serving of the OpenAPI spec files for various reasons, one of them is that our fuzzer could leverage that for targeted scanning in a completely automated way which would be really great for us.

charellesandig commented 2 years ago

Hi @petermetz I'll be working on this one, thank you!