springwolf-core icon indicating copy to clipboard operation
springwolf-core copied to clipboard

Add support for YAML format

Open milehimikey opened this issue 3 years ago • 2 comments

Feature request to add yaml format to the /springwolf/docs endpoint. This can be useful for certain tools that work from YAML files to render AsyncAPI documentation.

milehimikey avatar May 19 '22 19:05 milehimikey

See https://stackoverflow.com/questions/58414715/generate-yaml-format-response-in-springboot for possible solution for integration. You'd just have to have a second @GetMapping that produces the normal json.

Crain-32 avatar May 20 '22 03:05 Crain-32

Json could be easily translated to yaml with external tools. Maybe this can be added as a feature for the UI in the future as an export button.

stavshamir avatar Sep 23 '22 17:09 stavshamir