Skip to content

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

Closed
aparvis opened this issue Apr 15, 2016 · 6 comments
Closed

HTTP Method REPORT not supported #1760

aparvis opened this issue Apr 15, 2016 · 6 comments

Comments

@aparvis
Copy link

aparvis commented Apr 15, 2016

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).

@wing328
Copy link
Contributor

wing328 commented Apr 15, 2016

@aparvis I would suggest you to report it in https://github.com/OAI/OpenAPI-Specification similar to this one:

OAI/OpenAPI-Specification#325

@bikerunner
Copy link

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?

@webron
Copy link
Contributor

webron commented Apr 15, 2016

Closing as not supported by the spec. If it gets added in a future version, we'll add support to it.

@webron webron closed this as completed Apr 15, 2016
@malcolmsparks
Copy link

I can't see how swagger can call itself RESTful and not allow additional methods.

@Mejari
Copy link

Mejari commented Mar 21, 2017

I'm also in need of support for other methods, specifically COPY.

@webron
Copy link
Contributor

webron commented Mar 22, 2017

Well, the spec doesn't allow it, so we can't support it.
If you'd like to see additional methods added in the future, file a ticket against the OpenAPI specification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants