-
Notifications
You must be signed in to change notification settings - Fork 179
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
📚 Documentation: Return Type for Download Deployment is Wrong #810
Comments
@ItzNotABug I'm agree with the issue you raised. Not only it's wrong but as of August 2012, the MIME type recommended in [RFC 6713] is application/gzip so I would like to raise a PR for this if it seems fit 😄 |
@ItzNotABug can you assign me this one. |
@ItzNotABug Can I be assigned this issue? |
The problem with this is our openapi specs don't have anything for the content when the content is binary. Compare: Get file:
with Download deployment:
If we fix the specs, we can stop hardcoding the response type: website/src/routes/docs/references/[version]/[platform]/[service]/(components)/Response.svelte Line 18 in 1adbcb4
The fix probably needs to happen somewhere in here. |
💭 Description
This Download Deployment method shows the
Response
as[200] application/json
but this in-fact returns atar.gz
of the requested deployment.The Response from Postman -
Content-Type: application/gzip
Content-Disposition: attachment; filename="************.tar.gz"
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: