Skip to content

request body in DELETE ? #244

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

Open
sarangsbabu367 opened this issue Apr 22, 2020 · 3 comments
Open

request body in DELETE ? #244

sarangsbabu367 opened this issue Apr 22, 2020 · 3 comments
Labels
area/validation/request Indicates an issue on request validation area. kind/question

Comments

@sarangsbabu367
Copy link

Does openapi support request-body for DELETE request ?.
I am getting None after validation.

@p1c2u p1c2u added area/validation/request Indicates an issue on request validation area. kind/question labels Apr 23, 2020
@p1c2u
Copy link
Collaborator

p1c2u commented Apr 23, 2020

@sarangsbabu367
It vary integration you use. The lib itself doesn't retrieve request body just process it. Do you get request body before validation?

@sarangsbabu367
Copy link
Author

@p1c2u Yes i am getting. But i think there is some issue with path eventhough my path is of form /users/{id}/relationships/accounts, when i tried to log the path. I got path as /users/{id} and in template i got remaining part separated.

@p1c2u
Copy link
Collaborator

p1c2u commented Apr 23, 2020

It can be related to this issue then

You can try my prepared fix for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/validation/request Indicates an issue on request validation area. kind/question
Projects
None yet
Development

No branches or pull requests

2 participants