|
@@ -1,5 +1,6 @@
|
1
|
1
|
package fr.sayasoft.fake.zinc;
|
2
|
2
|
|
|
3
|
+import fr.sayasoft.zinc.sdk.pogo.OrderRequest;
|
3
|
4
|
import org.springframework.http.HttpStatus;
|
4
|
5
|
import org.springframework.http.ResponseEntity;
|
5
|
6
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
@@ -70,7 +71,7 @@ public class FakeZincController {
|
70
|
71
|
method = RequestMethod.POST,
|
71
|
72
|
produces = "application/json; charset=UTF-8"
|
72
|
73
|
)
|
73
|
|
- public ResponseEntity<?> postOrder(@RequestBody Object requestBody) {
|
|
74
|
+ public ResponseEntity<?> postOrder(@RequestBody OrderRequest requestBody) {
|
74
|
75
|
return new ResponseEntity<>(POST_ORDER_RESPONSE, HttpStatus.CREATED);
|
75
|
76
|
}
|
76
|
77
|
}
|