What's the proper way to define a field in a swagger definition json file, so that it will generate an any data type in dts-gen?
Right now when I use a Java->Swagger tool (we use springfox), any API that uses Object, is mapped by dts-gen to {} but we want it to be any.
Is there a way to configure this, or is there a swagger field type that is mapped to any?
What's the proper way to define a field in a swagger definition json file, so that it will generate an
any
data type indts-gen
? Right now when I use a Java->Swagger tool (we use springfox), any API that uses Object, is mapped by dts-gen to{}
but we want it to beany
. Is there a way to configure this, or is there a swagger field type that is mapped toany
?