Summary
Cons
- Writing big Swagger Spec is really painful
- Swagger annotations create a lot of redundant noise in code base
- Swagger annotations can not be generated via unit tests (see Spring Rest Docs)
Pros
- Swagger UI can render spec generated from other languages
- API documentation looks the same for different languages/frameworks (Language Agnostic)
- Swagger supports both approached for API Documentation creation
- Top-Down
- Bottom-Up
- Swagger Spec can be rendered by Swagger UI and/or ReDoc
- Swagger UI can be used for API exploratory analysis