-
Notifications
You must be signed in to change notification settings - Fork 10
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
Wrong error response for HeadObject in s3 #39
Comments
This appears to be a limitation of AWS's description format, which contains many assumptions and 'magic' rather than being a purely declarative format such as OpenAPI. The shape "NoSuchKey" is not defined and the key "404" appears nowhere in the S3 description file. It doesn't even seem possible to programmatically deduce this from the SDK code. This is basically a best-effort conversion, I don't have the time to maintain a set of patches on top of the raw conversions, though I might accept them if someone contributed them.
I'm not sure I understand why we wouldn't include as much information as we can from the input format? |
From my point of view (I'm doing some code generation by this spec), an object |
I'm not convinced. |
NoSuchKey will be returned in
404
instead of480
, and maybe we don't need to include all error reponses here?The text was updated successfully, but these errors were encountered: