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

Demo Application - /cities POST gives 415 (Unsupported Media Type) #142

Closed
lukasbradley opened this Issue Sep 13, 2015 · 2 comments

Comments

Projects
None yet
3 participants
@lukasbradley

lukasbradley commented Sep 13, 2015

image

@fabiomaffioletti

This comment has been minimized.

Show comment
Hide comment
@fabiomaffioletti

fabiomaffioletti Sep 15, 2015

Owner

This is in someway expected: Spring's @RequestMapping annotation does not specify any "consumes" property; that's why in the documentation section for "/cities" POST method, there is also a warning saying that "Warnings that may prevent a correct playground functionality: - Missing documentation data: consumes". So at the end is my fault, because I did not specify the "consumes" property for the controller's method. I'll fix it when I'll release the next version of the library. Thank you.

Owner

fabiomaffioletti commented Sep 15, 2015

This is in someway expected: Spring's @RequestMapping annotation does not specify any "consumes" property; that's why in the documentation section for "/cities" POST method, there is also a warning saying that "Warnings that may prevent a correct playground functionality: - Missing documentation data: consumes". So at the end is my fault, because I did not specify the "consumes" property for the controller's method. I'll fix it when I'll release the next version of the library. Thank you.

@fabiomaffioletti fabiomaffioletti self-assigned this Sep 15, 2015

@fabiomaffioletti fabiomaffioletti modified the milestone: 1.2.5 Sep 15, 2015

@gedhi

This comment has been minimized.

Show comment
Hide comment
@gedhi

gedhi Sep 23, 2015

This commit should fix the problem without any modification:

12c9aaa

You can close the issue IMHO

gedhi commented Sep 23, 2015

This commit should fix the problem without any modification:

12c9aaa

You can close the issue IMHO

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