Need to document the REST API with swagger .
The problem is that the object models of Java packages differ in their structure from JSON packages. They lack the title and some fields that you want to ignore.
But for convenience of testing, it is necessary for the swagger to display the original JSON packages. How can I do that? Is it possible to save JSON packages as text in a file and force the swagger to display them?