Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

API Editor: support body for Patch method #285

Closed
fponticelli opened this issue Apr 22, 2018 · 2 comments
Closed

API Editor: support body for Patch method #285

fponticelli opened this issue Apr 22, 2018 · 2 comments
Labels

Comments

@fponticelli
Copy link

According to (MDN)[https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PATCH] the PATCH method should support a body, instead, the editor signals an error OP-3-003:

The "requestBody" property is only supported for POST, PUT, and OPTIONS operations.
@EricWittmann
Copy link
Member

You are correct. :) I will fix it asap.

@EricWittmann
Copy link
Member

Fixed in: Apicurio/oai-ts-core@bedc2a9

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

No branches or pull requests

2 participants