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

The "application/x-www-form-urlencoded" type is not supported #11

Open
shadowhand opened this issue Nov 10, 2018 · 2 comments
Open

The "application/x-www-form-urlencoded" type is not supported #11

shadowhand opened this issue Nov 10, 2018 · 2 comments

Comments

@shadowhand
Copy link

I attempted to load the official Swagger example "PetStore" into this tool and it failed:

Fatal error: Uncaught InvalidArgumentException: formData is not a valid parameter location in vendor/eleven-labs/api-validator/src/Definition/Parameters.php on line 179

The formData attribute is used with "consumes": "application/x-www-form-urlencoded" content type.

Refs #10

@guillemcanal
Copy link
Member

@shadowhand Hi,

You are right, this library was mainly crafted to support JSON APIs. Back in the days, I wasn't interested to support anything else. I'll sure look into it.

@guillemcanal
Copy link
Member

guillemcanal commented Nov 11, 2018

We still need to support data validation from application/x-www-form-urlencoded requests

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

2 participants