Ask a Question

How to set reference of the request body content as dynamic JSON?

mrvgulay
Regular Visitor

How to set reference of the request body content as dynamic JSON?

I want to pass dynamic JSON to request body content. When I search on google, I see that this operation made by a DTO. 

Is it possible to do this without defining any DTO? 

 

I share below the example with DTO.

 

https://swagger.io/docs/specification/describing-request-body/

0 REPLIES 0
cancel
Showing results for 
Search instead for 
Did you mean: