-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Medium
-
None
-
Affects Version/s: None
-
Component/s: Documentation (Developer)
-
Severity 3 - Minor
-
0
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.
- mentioned in
-
Page Loading...