martinweiler opened a new issue, #7301:
URL: https://github.com/apache/incubator-kie/issues/7301

   In the generated Spring Boot REST resource (e.g. HiringResource), the create 
process instance endpoint declares:
   
   ```
   @PostMapping(produces = MediaType.APPLICATION_JSON_VALUE, consumes = 
MediaType.APPLICATION_JSON_VALUE)
   @Operation(operationId = "createProcessInstance_Hiring", ...)
   public ResponseEntity<DynamicSignalNameModelOutput> createResource_Hiring(
           @RequestHeader HttpHeaders httpHeaders,
           @RequestParam(value = "businessKey", required = false) String 
businessKey,
           @RequestBody(required = false) ... HiringModelInput resource,
           UriComponentsBuilder uriComponentsBuilder) { ... }
   ```
   
   In Swagger UI (springdoc), the `@RequestHeader HttpHeaders httpHeaders` 
argument is rendered as a parameter named `arg0`, with a large pre-filled JSON 
object built from the `HttpHeaders` getters. While the runtime behavior is not 
affected, the generated OpenAPI contract and Swagger UI are misleading and 
noisy. 


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to