-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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][okhttp-gson] can not generate javadoc #3299
Milestone
Comments
Yes please go ahead with the fix. |
This was referenced Jul 8, 2019
I would put the html table before the parameters section. /**
* Send-Message
* <p>Http response details:</p>
<table summary="Response Details" border="1">
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 200 </td><td> </td><td> - </td></tr>
</table>
* @param sendMessageRequestBody (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public void sendMessage(SendMessageRequestBody sendMessageRequestBody) throws ApiException IMO it looks better (preview of the javadoc in Eclipse IDE): |
@jmini Do you mean that the configuration block is incorrectly configured in pom.xml? |
Thank you for the quick feedback. I have proposed a fix in #3302. Feel free to review. |
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Introduced with issue #2994 / PR #2995 the generated javadoc now contains
@http.response.details
. Example from our the samples:openapi-generator/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/api/StoreApi.java
Lines 63 to 68 in 51e7005
When trying to generate the javadoc artifact for the project, you get tons of errors:
openapi-generator version
4.0.2
Suggest a fix
We can keep the table, but remove the
@http.response.details
and just put "Response details:"@saigiridhar21, @wing328 what do you think?
The text was updated successfully, but these errors were encountered: