-
Notifications
You must be signed in to change notification settings - Fork 2.2k
HTTP Method REPORT not supported #1760
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
Comments
@aparvis I would suggest you to report it in https://github.com/OAI/OpenAPI-Specification similar to this one: |
As I see the REPORT method is registered in the HTTP method registry. The usage of the REPORT method is limited to RFC 3253 (Versioning Extensions to WebDAV) which is not a general HTTP spec. Needs swagger support for this kind of methods? |
Closing as not supported by the spec. If it gets added in a future version, we'll add support to it. |
I can't see how swagger can call itself RESTful and not allow additional methods. |
I'm also in need of support for other methods, specifically COPY. |
Well, the spec doesn't allow it, so we can't support it. |
Hi
According to http://www.iana.org/assignments/http-methods/http-methods.xhtml REPORT is a valid HTTP method. It's not supported by Swagger, probably because it's less known method. Will future swagger releases support it?
REPORT is similar to GET method because it's safe and idempontent. More importantly it fully supports parameters in request body. Such paramaters aren't recommended in GET requests (response caching) and parameters in URI have their limitations (e.g. request-line length).
The text was updated successfully, but these errors were encountered: