Trouble generating download file as endpoint output

10 views
Skip to first unread message

Eric Haniak

unread,
Sep 19, 2017, 3:48:39 PM9/19/17
to Swagger
I'm having difficulty getting a file to download. I keep getting the error: "Unknown response type". Here's my response in json:

"responses" : {
                    "200": {
                    "description": "model ZIP File",
                        "schema": {
                            "type": "file"
                           
             
                        },
            },
                       
                    }

Not sure what I'm doing wrong here. Please help!
Reply all
Reply to author
Forward
0 new messages