Skip to content

Swagger 2.X Not using Maven

frantuma edited this page Mar 12, 2018 · 2 revisions

NOTE: Swagger Core 2.X supports OpenApi 3.0 definition files. For more information, check out the swagger-spec repository. If you're looking for swagger 1.5.X and OpenApi 2.0, please refer to 1.5.X JAX-RS Setup

Projects that cannot utilize maven's dependencies would need to add the dependencies manually. Since those may change from version to version, the list of dependencies will not be documented here. Instead, it is advised that you clone the swagger-core repository, go to the directory of the relevant module (artifact) and run mvn dependency:list. That would give you a list of dependencies required by swagger-core which you would have to include manually in your application. Keep in mind this requires you to have maven installed but it does not require you to use maven for your project.

Clone this wiki locally