http-swagger icon indicating copy to clipboard operation
http-swagger copied to clipboard

feat(handler): add serve yaml

Open zsbahtiar opened this issue 1 year ago • 2 comments

Describe the PR This PR aims to enhance the handler to serve yaml file.

Relation issue https://github.com/swaggo/http-swagger/issues/114

Additional context

Just wanne enhance the handler for serving swagger yaml like json

zsbahtiar avatar May 07 '24 01:05 zsbahtiar

hi @ubogdan can you check my PR? thanks🙏🏻

zsbahtiar avatar May 07 '24 01:05 zsbahtiar

@zsbahtiar Did you test code ? The http-swagger reads the documentation from swag doc instance which is the .go file that is generated in the docs folder.
This file only embeds the JSON version of the documentation as you may see here.

ubogdan avatar Oct 21 '24 19:10 ubogdan