Skip to content

DELETE operation on /users/{username}/suspended missing path param #30

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

Closed
savage-alex opened this issue Aug 17, 2020 · 1 comment
Closed

Comments

@savage-alex
Copy link

savage-alex commented Aug 17, 2020

Hi,

I validated the API def with SwaggerHub and it (correctly IMO) found an error:
image

Your path parameter needs to either be added into the DELETE operation (its currently only on PUT) or better still move it outside of the PUT operation and it is then shared by all of the operations on that path (PUT and DELETE)
FROM:
image
TO:
image
This will remove the OAS3 validation error.

@xuorig
Copy link

xuorig commented Aug 21, 2020

Fixed, thanks a lot for the report 🙇 ! Will be in the next releases.

@xuorig xuorig closed this as completed Aug 21, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants