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

BUG: Required fields are not checked in Playground #70

Closed
yohanakh opened this Issue Jan 13, 2015 · 3 comments

Comments

Projects
None yet
2 participants
@yohanakh

yohanakh commented Jan 13, 2015

The Playground allows the user to submit the form even if there are required empty fields that should not be empty.

@fabiomaffioletti

This comment has been minimized.

Show comment
Hide comment
@fabiomaffioletti

fabiomaffioletti Jan 14, 2015

Owner

This is not a bug. This is to let api users get error responses and eventually tune their clients to properly handle them.

Owner

fabiomaffioletti commented Jan 14, 2015

This is not a bug. This is to let api users get error responses and eventually tune their clients to properly handle them.

@yohanakh

This comment has been minimized.

Show comment
Hide comment
@yohanakh

yohanakh Jan 16, 2015

I think it is a bug because in my case i have two APIs like:
/{type}/ - that gets all entries of type {type}
/{type}/{id} - that gets the entry with the provided {id}

If the playground allows providing empty value for the {id} then the first API will be called - > problem!

yohanakh commented Jan 16, 2015

I think it is a bug because in my case i have two APIs like:
/{type}/ - that gets all entries of type {type}
/{type}/{id} - that gets the entry with the provided {id}

If the playground allows providing empty value for the {id} then the first API will be called - > problem!

@fabiomaffioletti

This comment has been minimized.

Show comment
Hide comment
@fabiomaffioletti

fabiomaffioletti Jan 17, 2015

Owner

Ok I got it. For path parameters it makes sense to do a check before submitting.Thank you.

Owner

fabiomaffioletti commented Jan 17, 2015

Ok I got it. For path parameters it makes sense to do a check before submitting.Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment