Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
None
-
Severity 3 - Minor
-
0
-
Description
Some REST requests, such as pull request merge, allow a body to be set but do not require it.
These requests are missing example request documentation in the REST API documentation.
For example: https://docs.atlassian.com/bitbucket-server/rest/6.3.2/bitbucket-rest.html#idp265
These requests have example representation javadoc in the code:
* @request.representation.mediaType application/json * @request.representation.example {@link RestPullRequestReopenRequest#REOPEN_REQUEST_EXAMPLE}
And if the @OptionalBody tag is removed from the request, then the example appears in the html.
Attachments
Issue Links
- mentioned in
-
Page Loading...