Reputation: 11
I want to include swagger-parser in Java, so that I can parse JSON or YAML files to extract the required information. I am using it as a JAVA program/application and not on a server or Springboot. I have googled a lot, but the installations required Maven. Could someone help with how I can install and integrate the swagger-parser with JAVA program please (preferably local installation)? Thank you.
Upvotes: 0
Views: 512
Reputation: 38441
I'm not familiar with swagger-parser, however in cases like these you'll need to download the swagger-parser JAR file and the JAR files of its dependencies (this will be probably into the dozens) and put then into the lib directory of your project.
jar
to download the JAR file.As I said this will probably be dozens of files, so this will be a lot of work, so you may want to consider learning about Maven and using it, because it will do all the downloads for you.
Upvotes: 1