-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Response schema type "file" not supported #491
Comments
@webron should know, this error is a schema error. |
Yup, this is filed here - OAI/OpenAPI-Specification#260. I'll try to get around to resolving it this week. |
Hi All, I am also facing this issue, Pls help on this, |
@Srithar-ccs - what you described in the google group, and swagger-spec has nothing to do with this issue. Right now, you're not making it easier for us to help you by writing about it all over the place. |
i am sorry webron. |
@webron Particularly, I have a doubt, say, in the example in the 1st comment: we can have multiple response types: file, Reference, and string. But the example only specifies "application/zip" as "produces" field. Does this do the work? What should we do in this scenario? Thanks in advance. |
Per Response Object documentation, a schema with "type" of "file" is allowed. However, the Swagger Editor claims theres an error in this spec fragment:
The text was updated successfully, but these errors were encountered: