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

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

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

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

lukasbradley opened this issue Sep 13, 2015 · 2 comments
Assignees
Milestone

Comments

@lukasbradley
Copy link

@lukasbradley lukasbradley commented Sep 13, 2015

image

@fabiomaffioletti
Copy link
Owner

@fabiomaffioletti 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.

Loading

@fabiomaffioletti fabiomaffioletti self-assigned this Sep 15, 2015
@fabiomaffioletti fabiomaffioletti added this to the 1.2.5 milestone Sep 15, 2015
@fabiomaffioletti fabiomaffioletti added this to the 1.2.5 milestone Sep 15, 2015
@gedhi
Copy link

@gedhi gedhi commented Sep 23, 2015

This commit should fix the problem without any modification:

12c9aaa

You can close the issue IMHO

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants