I am trying to integrate aide with Swagger into my project and found that I am able to use TransformOperation to customize the example response, using response_with. However I do not see a corresponding way in the existing API to add an example for the requestBody. The reasoning I would like this is that the default generated requestBody from the JSON Schema doesn't really correspond to actual expected values for some of the types. Would it be reasonable to add this functionality to the API?
I am trying to integrate aide with Swagger into my project and found that I am able to use
TransformOperationto customize the example response, usingresponse_with. However I do not see a corresponding way in the existing API to add an example for therequestBody. The reasoning I would like this is that the default generatedrequestBodyfrom the JSON Schema doesn't really correspond to actual expected values for some of the types. Would it be reasonable to add this functionality to the API?