-
Notifications
You must be signed in to change notification settings - Fork 9k
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
Swagger API v.1.3.2 #482
Comments
What is the actual issue? The 'Reason' column displays the 'message' field On 25 June 2014 23:04, gsxoom [email protected] wrote:
|
As specified by the specs, when no reason is given in the annotation @ResponseStatus, |
What specs? Which library do you use? swagger-springmvc? On 26 June 2014 19:22, gsxoom [email protected] wrote:
|
Where did you say that the specs says it reads @ResponseStatus? Can you On 26 June 2014 19:37, gsxoom [email protected] wrote:
|
|
@ResponseStatus is a Spring MVC annotation. Swagger-core does not On 26 June 2014 19:59, gsxoom [email protected] wrote:
|
So, should this be in swagger-core?, because the swagger image that I attached is generated, |
Can you share your pom.xml? On 26 June 2014 20:23, gsxoom [email protected] wrote:
|
Here is a subset of the pom.xml. Removed plugins and repositories. 4.0.0
|
Here is the swagger .json. Look at the DELETE method, the last one. { |
@gsxoom - There are no swagger dependencies in the pom.xml |
Well, you know about dependency. |
Right, so can you please share either the effective pom (rather than the On 27 June 2014 20:44, gsxoom [email protected] wrote:
|
Okay, if it is spring boot that pulls it in, can you please attach the On 27 June 2014 21:29, gsxoom [email protected] wrote:
|
I just found out the problem. Their mangofactory SpringSwaggerConfig.java has the error. |
thank you very much for your promptness, follow-up, and patience. |
Using Swagger API with spring-boot 4.
HttpStatus code 204, showing as
My spring mvc controller method has the annotation
@ResponseStatus(value = HttpStatus.NO_CONTENT) with no reason, so it should take the default.
The text was updated successfully, but these errors were encountered: