Reputation: 2430
I have a Java
+JAX-RS
+ Jeresy
environment and successfully integrated Swagger
.
Everything works dynamically and json files are created per resource.
Is there a way to extract all of the JSON representations into a single file so I could share it with others in offline? I am looking for a single file JSON that I can then read using Swagger-UI.
Upvotes: 0
Views: 507
Reputation: 14810
Swagger 1.2 doesn't support a single-file structure. That was changed in Swagger 2.0. So as long as you're with Swagger 1.2, you'd have the share the set of files.
Upvotes: 1