]
Issue was automatically transitioned when Martin Stefanko created pull request #1426 in
GitHub
----------------------------------------------------------------------------------------------
Status: Pull Request Sent (was: Open)
LRA POST to "start" has Incorrect @ApiResponse annotation
---------------------------------------------------------
Key: JBTM-3123
URL:
https://issues.jboss.org/browse/JBTM-3123
Project: JBoss Transaction Manager
Issue Type: Task
Components: LRA
Affects Versions: 5.9.3.Final
Reporter: Lance Ball
Assignee: Martin Stefanko
Priority: Minor
In {{java.io.narayana.lra.coordinator.api.Coordinator}} the {{@ApiResponse}} annotation
[specifies a response code
|https://github.com/jbosstm/narayana/blob/master/rts/lra/lra-coordinator/src/main/java/io/narayana/lra/coordinator/api/Coordinator.java#L227]
of {{200}} for the "start" endpoint, however, [what is actually returned
|https://github.com/jbosstm/narayana/blob/master/rts/lra/lra-coordinator/src/main/java/io/narayana/lra/coordinator/api/Coordinator.java#L281]
is {{Response.Status.CREATED}} which is HTTP code {{201}}.