Swagger is a specification and framework implementation for describing, producing, consuming, and visualizing RESTful web services. Swagger 2.0 is the current generation of the spec and includes many improvements over 1.X. This specification is now known as Open API 2.0.
Read more about Swagger 2.0 here.
Learn about how to migrate from 1.x to 2.0 here.