You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This whole thing is trial and error. As the answer to the stackoverflow question suggests, there are better ways to generate OpenAPI specs.
One thing you could try is setting the parameters value in the Operation annotation. This might get swagger to ignore the input params in the method/function.
@Operation(summary = "Return Hello greeting", description = "Return Hello greeting for named user",
parameters = Array(new Parameter(name = "name", in = ParameterIn.PATH, description = "user name")),
Hello,
I have the same issue than https://stackoverflow.com/questions/51372542/swagger-is-adding-additional-body-parameter-for-get-method and https://stackoverflow.com/questions/57202122/swagger-why-is-swagger-creating-a-request-body-field-when-i-have-not-written-a and I cannot find a solution to this issue:
Is it possible to remove the User message added to the request body ?
Thank you !
The text was updated successfully, but these errors were encountered: