Skip to content
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 Api incorrect request body for delete operations #3158

Open
david-on-github opened this issue Oct 18, 2024 · 0 comments
Open

OPEN Api incorrect request body for delete operations #3158

david-on-github opened this issue Oct 18, 2024 · 0 comments
Assignees
Milestone

Comments

@david-on-github
Copy link
Member

OpenAPI should avoid requestBody for delete operations.

https://github.com/sourcenetwork/defradb/blob/develop/docs/website/references/http/openapi.json

Semantic error at paths./acp/relationship.delete.requestBody
DELETE operations cannot have a requestBody.

Semantic error at paths./collections/{name}.delete.requestBody
DELETE operations cannot have a requestBody.

Semantic error at paths./p2p/collections.delete.requestBody
DELETE operations cannot have a requestBody.

Semantic error at paths./p2p/replicators.delete.requestBody
DELETE operations cannot have a requestBody.
@nasdf nasdf self-assigned this Oct 23, 2024
@nasdf nasdf added this to the DefraDB v0.15 milestone Oct 23, 2024
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

3 participants