Open jiwonjoung opened 3 years ago
AFAIK there is no way to do this at the moment, but we could file a feature request. I think that when we will support custom definition of REST endpoints then you may just expose a custom POJO in your endpoint signature cc @tarilabs
cc @danielezonca
Since the Swagger/OAS generation is based on the specification conventions, this use-case can only be achieved by manual customisation of (other) REST endpoints by the developer. e.g.: skip REST generation, manually develop REST endpoint using Quarkus as desired.
I think there are way to approach the requirement:
I am able to run the dmn-quarkus-example and get the output from model. I am wondering how to customize the format of the output from the model.
For example, I want to remove the original inputs from the response. I also want to add a 'status' field in the returned JSON.