tenthe commented on code in PR #2566:
URL: https://github.com/apache/streampipes/pull/2566#discussion_r1526081793


##########
streampipes-platform-services/src/main/java/org/apache/streampipes/ps/PipelineElementTemplateResource.java:
##########
@@ -92,32 +95,35 @@ public ResponseEntity<?> getById(@Parameter(description = 
"The id of the pipelin
 
   @PostMapping(consumes = MediaType.APPLICATION_JSON_VALUE)
   @Operation(summary = "Store a new pipeline element template",
-      tags = {"Pipeline Element Templates"},
-      responses = {
-          @ApiResponse(responseCode = "200", description = "Template 
successfully stored")
-      })
+             tags = {"Pipeline Element Templates"},
+             responses = {
+                 @ApiResponse(responseCode = "200", description = "Template 
successfully stored")
+             })
   public ResponseEntity<Void> create(
       @RequestBody(description = "The pipeline element template to be stored",
-          content = @Content(schema = @Schema(implementation = 
PipelineElementTemplate.class)))
-      @org.springframework.web.bind.annotation.RequestBody 
PipelineElementTemplate entity) {
+                   content = @Content(schema = @Schema(implementation = 
PipelineElementTemplate.class)))
+      @org.springframework.web.bind.annotation.RequestBody 
PipelineElementTemplate entity

Review Comment:
   I tried to do it, but unfortunately we are using the RequestBody class from 
two different packages, so we need it to differentiate them.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to