SamJ
SamJ

Reputation: 11

Swagger UI for file download as zip

We are using swagger UI for displaying the Spring MVC REST API request response. I have an API to save the folder as zip. I want to display the downloading status on the swagger UI. How can I do this? Any help is appreciated. Or How to display Zip File download status in swagger UI?

Upvotes: 1

Views: 8514

Answers (1)

Huy Đất
Huy Đất

Reputation: 1

You can try to use header in response as follow link http://swagger.io/specification/#headersObject Here example: enter image description here

Upvotes: 0

Related Questions